Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9579 closed defect (fixed)

substation in deprecated.mapcss

Reported by: naoliv Owned by: team
Priority: normal Milestone: 14.01
Component: Core validator Version:
Keywords: Cc:


One small issue in deprecated.mapcss:

*[power=station] {
  /* see #8847 / #8961 - */
  throwWarning: tr("{0}={1} is deprecated", "power", "station");
  suggestAlternative: "power=plant";
  suggestAlternative: "power=sub_station";

sub_station is obsolete now (needs to update the suggestion)

Another thing: could JOSM also suggest to use power=substation or power=transformer when finding the now obsolete power=sub_station?
As it is now, we can only see an informational message saying "Value 'sub_station' for key 'power' not in presets. - Presets do not contain property value"

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6688/josm:

see #9169, fix #9579 - power=substation in deprecated.mapcss

comment:2 Changed 8 years ago by Don-vip

Milestone: 14.01

comment:3 Changed 8 years ago by Don-vip

In 6689/josm:

see #9579 - forgot to deprecate power=sub_station + use of {0.key}, {0.value} in deprecated.mapcss

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.