Modify

Opened 8 years ago

Closed 8 years ago

#13760 closed enhancement (duplicate)

Option to create subgroups/categories in validator

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

Description

Could we have a way to create subgroups/categories in the validator messages?

For example, with this:

node[A] {
        throwError: tr("test 1");
        group: tr("Category");
}

node[B] {
        throwError: tr("test 2");
        group: tr("Category");
}

We get this:

https://i.imgur.com/XqT0jQv.png

While I would expect to have a general Category with test 1 and test 2 inside it (ie, group is concatenating group's tr + throw's tr, while I want to have them in 2 different levels)

JOSM:

Build-Date:2016-10-05 01:43:02
Revision:11079
Is-Local-Build:true

Identification: JOSM/1.5 (11079 SVN pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 247 MB / 10206 MB (47 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u102-b14.1-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (1)

validatorcategories.png (14.0 KB ) - added by Klumbumbus 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Klumbumbus, 8 years ago

Keywords: grouping added

comment:2 by naoliv, 8 years ago

After #13798 gets fixed, I would still like, if possible, to have a way to create subcategories.
For example, with group: tr("A/B"); we could have a tree like:

Warning:
    |-- A
        |-- B
            * object foo
            * object bar
            * object etc

by Klumbumbus, 8 years ago

Attachment: validatorcategories.png added

comment:3 by Klumbumbus, 8 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #13798.

Your example works now. Was fixed in r11127.

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.