Modify

Opened 4 years ago

Last modified 4 years ago

#20256 new defect

False positives of some validator rules caused by incomplete data

Reported by: skyper Owned by: Biswesh
Priority: normal Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report validator download area incomplete Cc: michael2402, floscher, Polyglot

Description

There are some validator rules which do not work properly with incomplete data. Just one example:

What steps will reproduce the problem?

  1. Download a PTv2 relation without members or a stop_area relation with members
  2. In relation editor select all stops and platforms and download selected
  3. Run validator

What is the expected result?

No warnings

What happens instead?

Warnings, see below.

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

Please, only warn about new objects and objects inside downloaded area. Outside downloaded area simply produces too many false positives. Thanks.

Here is a list of test I found so far:

Error:

  • The stop is not served by any line, add it to a route relation

Warning:

  • PT: Stop_position is not part of a way
  • PT: Stop position or platform is not part of a stop area relation

Other:

  • PT: Refs of the routes do not match with the route_ref tag of the primitive
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-12-14 18:34:04 +0100 (Mon, 14 Dec 2020)
Revision:17410
Build-Date:2020-12-15 02:30:50
URL:https://josm.openstreetmap.de/svn/trunk

Plugins:
+ pt_assistant (2.1.10-80-g7d9bba3)

Attachments (0)

Change History (1)

comment:1 by skyper, 4 years ago

Cc: michael2402 floscher Polyglot added
Component: CorePlugin pt_assistant
Owner: changed from team to Biswesh

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Biswesh.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Biswesh to the specified user.
Next status will be 'needinfo'. The owner will be changed from Biswesh to skyper.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from Biswesh to anonymous. Next status will be 'assigned'.

Add Comment


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