Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3449 closed defect (fixed)

[PATCH] Fix Army camp decay rate warning

Reported by: Stan Owned by: Stan
Priority: Should Have Milestone: Alpha 19
Component: Core engine Keywords:
Cc: Patch:

Description

Since r17061 Atlas gives a warning when loading the army camp, it is because it doesn't support 37.5 and expect 38 or 37 instead

<p class="error">ERROR: RelaxNGValidator: Validation error: structures/rome_army_camp:1: Type positiveInteger doesn't allow value '37.5'</p>
<p class="error">ERROR: RelaxNGValidator: Validation error: structures/rome_army_camp:1: Error validating datatype positiveInteger</p>
<p class="error">ERROR: RelaxNGValidator: Validation error: structures/rome_army_camp:1: Element DecayRate failed to validate content</p>
<p class="error">ERROR: RelaxNGValidator: Validation failed for '(null)'</p>
<p class="error">ERROR: Failed to validate entity template 'structures/rome_army_camp'</p>

Attachments (1)

3449.diff (563 bytes ) - added by Stan 9 years ago.
Proposed Fix

Download all attachments as: .zip

Change History (4)

by Stan, 9 years ago

Attachment: 3449.diff added

Proposed Fix

comment:1 by Stan, 9 years ago

Owner: set to Stan

comment:2 by Itms, 9 years ago

Resolution: fixed
Status: newclosed

In 17072:

Make the territory decay rate a decimal value. Fixes #3449.

comment:3 by Itms, 9 years ago

Keywords: review patch removed
Note: See TracTickets for help on using tickets.