Modify

Opened 5 years ago

Closed 5 years ago

#11513 closed defect (fixed)

{1.key} not working in fixChangeKey

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

Description

If I am not wrong, this used to work:

way[highway]["addr:postcode"] {
        throwWarning: tr("{0} must be postal_code for {1}", "{1.key}", "{0.key}");
        fixChangeKey: "{1.key} => postal_code";
}

But "Fix" doesn't change the key anymore.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by naoliv

Forgot:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-06-02 01:31:18
Last Changed Author: Don-vip
Revision: 8440
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-06-01 19:38:53 +0200 (Mon, 01 Jun 2015)
Last Changed Rev: 8440

Identification: JOSM/1.5 (8440 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 247 MB / 10206 MB (137 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u75-2.5.4-2
VM arguments: [-Dawt.useSystemAAFontSettings=on, -Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
- Create_grid_of_ways (30892)
- OpeningHoursEditor (30962)
- PicLayer (31114)
- SimplifyArea (30962)
- buildings_tools (31120)
- conflation (0.1.7)
- contourmerge (1013)
- download_along (30892)
- editgpx (30892)
- geotools (31068)
- importvec (30892)
- jts (31002)
- log4j (30892)
- measurement (30892)
- merge-overlap (30988)
- opendata (31116)
- pbf (31010)
- pdfimport (30892)
- poly (31056)
- reverter (31120)
- scripting (30710)
- todo (29154)
- turnrestrictions (31034)
- undelete (30892)

comment:2 Changed 5 years ago by Don-vip

Milestone: 15.05

I don't think it worked, but it's easy to fix.

comment:3 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 8448/josm:

fix #11513 - {1.key} not working in fixChangeKey

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.