Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3085 closed defect (fixed)

Relationlist is empty after first download if validation errors -layer is used

Reported by: Daeron Owned by: team
Priority: minor Milestone:
Component: Core validator Version: latest
Keywords: Cc:

Description

If there is no data layer, and new data is downloaded which contains relations, the relations are not shown on the relation list. If the area is downloaded again, or data from somewhere else is downloaded, all the relations are visible on the list.

Attachments (0)

Change History (7)

comment:1 by Gubaer, 15 years ago

Resolution: worksforme
Status: newclosed

Works for me in r1848. Anything special in your environment? Can you post the example of a download URL which doesn't work (i.e. bounding box download URL)?

comment:2 by Daeron, 15 years ago

Resolution: worksforme
Status: closedreopened

http://www.openstreetmap.org/?lat=60.25125&lon=24.96218&zoom=17 has three relations, one multipolygon and two bus routes. If there's no data downloaded (no layers, only the motd visible), and that area is downloaded, the relations are not shown on the list. Only when the area is downloaded again, or some other area is downloaded, the relations appear in the list.

My josm is compiled from the svn, after running ant clean, with clean config:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 11.3-b02 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 1853 SVN
Main-Date: 2009-07-26T09:38:05.607477Z

comment:3 by Daeron, 15 years ago

Resolution: worksforme
Status: reopenedclosed

Hmm, strage, I just tried again, and now they are shown. Maybe I didn't have completely clean config after all.. I will try to find the cause, it might have something to do either with the config or plugins.

comment:4 by Gubaer, 15 years ago

I tried too and for me it's working too.

comment:5 by Daeron, 15 years ago

Component: CoreCore validator
Priority: majorminor
Resolution: worksforme
Status: closedreopened
Summary: Relationlist is empty after first downloadRelationlist is empty after first download if validation errors -layer is used

Okay, I think I've narrowed it down. The problem seems to be in the validator-plugin.

Steps to reproduce:

  1. Clean preferences
  2. Enable the validator plugin
  3. Make the relation list visible
  4. Restart josm
  5. Download some data containing relations.

The relations can be seen if more data is downloaded or the relation list is hidden and then opened again.

Also if the validation error-layer is not used, the problem doesn't appear.

comment:6 by jttt, 15 years ago

Ticket #3170 has been marked as a duplicate of this ticket.

comment:7 by jttt, 15 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in r1897

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.