HomeWildfire Games

Make Icon non-optional.
AuditedrP26458

Description

Make Icon non-optional.

Requested by @bb in D4476.
Differential revision: https://code.wildfiregames.com/D4484
Reviewed by: @bb

Details

Auditors
Stan
Committed
FreagarachFeb 21 2022, 8:20 AM
Reviewer
bb
Differential Revision
D4484: Make Icon non-optional.
Parents
rP26457: [Windows] Automated build.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 19592
Build 46868: Post-Commit BuildJenkins
Build 46867: Post-Commit Build (macOS)Jenkins

Event Timeline

Stan raised a concern with this commit.Feb 22 2022, 10:16 PM
Stan added a subscriber: Stan.
ERROR: RelaxNGValidator: Validation error: special/spy:1: Expecting an element Icon, got nothing

ERROR: RelaxNGValidator: Validation error: special/spy:1: Invalid sequence in interleave

ERROR: RelaxNGValidator: Validation error: special/spy:1: Element Identity failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'special/spy'

ERROR: Errors executing script event "Press"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 update@gui/session/diplomacy/playercontrols/SpyRequestButton.js:52:33 update@gui/session/diplomacy/DiplomacyPlayerControl.js:36:35 updatePanels@gui/session/diplomacy/DiplomacyDialog.js:49:44 open@gui/session/diplomacy/DiplomacyDialog.js:59:8 toggle@gui/session/diplomacy/DiplomacyDialog.js:80:9
This commit now has outstanding concerns.Feb 22 2022, 10:16 PM

Add this to the special/spy template?

<Icon>technologies/spy_trader.png</Icon>
Stan accepted this commit.Mar 4 2022, 4:30 PM
All concerns with this commit have now been addressed.Mar 4 2022, 4:30 PM