Modify

Opened 7 years ago

Closed 7 years ago

#14665 closed defect (fixed)

Validator incorrectly folds first-level categories when ignoring elements

Reported by: bagage Owned by: team
Priority: normal Milestone: 17.10
Component: Core validator Version: latest
Keywords: template_report Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Open validator layer
  2. Unfolds all (or some of them) categories
  3. Ignore any element

What is the expected result?

The element is ignored, remaining items are untouched (folded categories remain folded, unfolded ones remain unfolded).

What happens instead?

The element is ignored, but all "first level" categories are automatically folded (for instance, the "unnamed ways" category). On the other hand, "two levels and more" categories are kept as expected (for instance, the "missing attribute" category).

Please provide any additional information below. Attach a screenshot if possible.

screenshot of the issue

Build-Date:2017-04-18 15:22:18
Revision:11835
Is-Local-Build:true

Identification: JOSM/1.5 (11835 SVN fr) Linux Debian GNU/Linux 9.0 (stretch)
Memory Usage: 822 MB / 1760 MB (266 MB allocated, but free)
Java version: 1.8.0_121-8u121-b13-4-b13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u121-b13-4
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:36421, -Dfile.encoding=UTF-8]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (33185)
+ PicLayer (33148)
+ buildings_tools (33004)
+ conflation (0.5.3)
+ jts (32699)
+ rex (26)
+ todo (30000)
+ utilsplugin2 (33212)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [TMS_BLOCK_v2] Resetting cache
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$SelectAction@238f19ea
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$AddAction@2e1b6406
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$PassAction@4f9e9ce0
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkAction@793e5027
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkSelectedAction@14bc253d

Attachments (1)

poc.png (216.8 KB ) - added by bagage 7 years ago.
screenshot of the issue

Download all attachments as: .zip

Change History (5)

by bagage, 7 years ago

Attachment: poc.png added

screenshot of the issue

comment:1 by bagage, 7 years ago

Description: modified (diff)

comment:2 by skyper, 7 years ago

Description: modified (diff)

comment:3 by Don-vip, 7 years ago

Milestone: 17.10

comment:4 by Don-vip, 7 years ago

Resolution: fixed
Status: newclosed

In 12951/josm:

fix #14665 - Validator incorrectly folds first-level categories when ignoring elements + avoid repaint of complete mapview, invalidate validator layer instead

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.