Opened 8 years ago
Closed 8 years ago
#15993 closed enhancement (duplicate)
unclear error message
| Reported by: | josm.sanspourriel | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | Cc: |
Description
https://josm.openstreetmap.de/browser/josm/trunk/data/validator/combinations.mapcss#L150
This translation when one pair (key,value) is present and the other (value, value2) is absent triggers unclear message:
amenity=parking without parking
I see two possible improvements:
- add =* : amenity=parking without parking=*
throwOther: tr("{0} without {1}=*", "{0.tag}", "{1.key}");
- better if HTML is supported
amenity=parking without <a href="https://wiki.openstreetmap.org/wiki/Key:parking">parking</a>=*{(I guess all such cases have a wiki entry).
throwOther: tr("{0} without <a href=""https://wiki.openstreetmap.org/wiki/Key:{1}"">{1}</a>=*", "{0.tag}", "{1.key}");
(not sure about the escape character for double quotes)
You've added a lot of new validations for which the error message is unclear, therefore the type defect instead of improvement.
Attachments (0)
Change History (4)
comment:1 by , 8 years ago
| Component: | Core → Core validator |
|---|
comment:2 by , 8 years ago
| Type: | defect → enhancement |
|---|
comment:3 by , 8 years ago
comment:4 by , 8 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Closed as duplicate of #11153.



Pretty much a duplicate of #11153