Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11939 closed defect (fixed)

Possible error in parent_tag()

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

Description

While trying to use parent_tag() (from #11938) and taking a look at the code in https://josm.openstreetmap.de/browser/trunk/data/validator/geometry.mapcss#L137 I saw that those tests (and my attempts to use parent_tag()) aren't working.

For example, with the attached example file I can't see any warning (while with older JOSM releases I can).

My quick binary search says that it stopped to work between [7275] (it's OK) and [7300] (it fails like latest).

I guess the problem is in parent_tag() but I am unsure.

JOSM

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-10-06 01:32:08
Last Changed Author: simon04
Revision: 8830
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-10-05 23:07:07 +0200 (Mon, 05 Oct 2015)
Last Changed Rev: 8830

Identification: JOSM/1.5 (8830 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 439 MB / 9102 MB (303 MB allocated, but free)
Java version: 1.7.0_85, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u85-2.6.1-3
VM arguments: [-Dawt.useSystemAAFontSettings=on]

Plugins:
- Create_grid_of_ways (31241)
- OpeningHoursEditor (31241)
- PicLayer (31241)
- RoadSigns (31241)
- SimplifyArea (31241)
- buildings_tools (31558)
- conflation (0.1.7)
- contourmerge (1013)
- download_along (31241)
- editgpx (31241)
- geotools (31126)
- imagery_offset_db (31241)
- importvec (31241)
- jts (31126)
- log4j (31231)
- measurement (31289)
- merge-overlap (31241)
- opendata (31241)
- pbf (31241)
- pdfimport (31241)
- poly (31241)
- reverter (31596)
- scripting (30710)
- todo (29154)
- turnrestrictions (31578)
- undelete (31241)
- utilsplugin2 (31463)

Attachments (1)

11939.osm (2.2 KB) - added by naoliv 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by naoliv

Attachment: 11939.osm added

comment:1 Changed 4 years ago by simon04

Resolution: fixed
Status: newclosed

In 8833/josm:

fix #11939 - MapCSS: fix parent_tag() in ∈ and ⧉ tests

comment:2 Changed 4 years ago by simon04

Milestone: 15.10

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.