Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20903 closed defect (fixed)

Incorrect and duplicate warning "Relation type is unknown"

Reported by: skyper Owned by: team
Priority: normal Milestone: 21.10
Component: Core validator Version: latest
Keywords: template_report relation type Cc:

Description

What steps will reproduce the problem?

  1. Have a relation with one or some tags but no type=*
  2. Run Validator

What is the expected result?

One error warning about relation without type=* from mapcss

What happens instead?

Two warnings, the correct one from mapcss and a cryptic informal warning from RelationChecker: Relation type is unknown

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

The java test needs to check for type=* as the rest is already covered by the mapcss test.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-05-17 21:27:21 +0200 (Mon, 17 May 2021)
Revision:17903
Build-Date:2021-05-18 01:31:02
URL:https://josm.openstreetmap.de/svn/trunk

Attachments (0)

Change History (3)

comment:1 by GerdP, 3 years ago

Resolution: fixed
Status: newclosed

In 18232/josm:

fix #20903: Incorrect and duplicate warning "Relation type is unknown"

  • don't show the message if relation has no type

comment:2 by Don-vip, 3 years ago

Milestone: 21.09

comment:3 by Don-vip, 3 years ago

Milestone: 21.0921.10

Milestone renamed

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.