#12570 closed enhancement (fixed)
Group similar tests
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.07 |
Component: | Core validator | Version: | |
Keywords: | grouping | Cc: | Don-vip |
Description
I am seeing a lot of similar tests giving ungrouped results.
For example:
What I could quickly see that are needing some grouping are:
In errors:
- wrong collection_times
- wrong opening_hours
In warnings:
- 'email': E-mail address contains an invalid username
- 'contact:email': E-mail address contains an invalid username
- website: URL contains an invalid authority | URL contains an invalid path
- lot of opening_hours tests
- service_times tests
- shop=something inside shop=something
- leisure=something inside leisure=something
- tourism=something inside tourism=something
- amenity=something inside amenity=something
Basically everything that is using key and/or name in the warning message should be grouped, if possible (like it happened for the "Long segments" test)
JOSM:
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-02-25 01:51:43 +0100 (Thu, 25 Feb 2016) Build-Date:2016-02-26 02:34:44 Revision:9881 Relative:URL: ^/trunk Identification: JOSM/1.5 (9881 en) Linux Debian GNU/Linux testing (stretch) Memory Usage: 4065 MB / 9102 MB (1021 MB allocated, but free) Java version: 1.8.0_72-internal-b05, Oracle Corporation, OpenJDK 64-Bit Server VM VM arguments: [-Dawt.useSystemAAFontSettings=on] Dataset consistency test: No problems found
Attachments (2)
Change History (20)
comment:1 by , 9 years ago
by , 9 years ago
Attachment: | 12570-internet-tags.patch added |
---|
comment:2 by , 9 years ago
Cc: | added |
---|---|
Milestone: | → 16.03 |
Summary: | Group similar tests → [Patch] Group similar tests |
Has to wait till 16.03 due to added I18n strings.
comment:5 by , 9 years ago
Summary: | [Patch] Group similar tests → Group similar tests |
---|
comment:9 by , 9 years ago
To be done in MapCSS validator:
- shop=something inside shop=something
- leisure=something inside leisure=something
- tourism=something inside tourism=something
- amenity=something inside amenity=something
comment:11 by , 9 years ago
Milestone: | 16.04 → 16.05 |
---|
comment:12 by , 9 years ago
Milestone: | 16.05 → 16.06 |
---|
comment:13 by , 9 years ago
Milestone: | 16.06 → 16.07 |
---|
comment:15 by , 9 years ago
by , 9 years ago
Attachment: | testgroup.png added |
---|
comment:16 by , 9 years ago
This behaviour was not intended specifically, but it is the default behaviour when specifying a "message" and "description".
comment:17 by , 8 years ago
Keywords: | grouping added |
---|
In 9886/josm: