Opened 12 years ago

Last modified 12 years ago

#8967 closed defect

[patch] Tagging preset tester shows unwrapped error message — at Initial Version

Reported by: AlfonZ Owned by: team
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:

Description

In JOSM's preferences add preset file that is correct xml, but not valid according to schema, e.g.

<presets>
</presets>

JOSM will complain (message is wrapped), click Yes.

[Image(Message1.png)]

Open tagging preset tester, unwrapped message appears.

[Image(Message2.png)]

Quick fixes (inspired by TaggingPresetPreference.java#L125) attached.

[Image(Message2-fix.png)]

Change History (5)

by AlfonZ, 12 years ago

Attachment: Message1.png added

by AlfonZ, 12 years ago

Attachment: Message2.png added

by AlfonZ, 12 years ago

Attachment: Message2-fix.png added

by AlfonZ, 12 years ago

Attachment: version1.patch added

by AlfonZ, 12 years ago

Attachment: version2.patch added
Note: See TracTickets for help on using tickets.