Modify

Opened 13 years ago

Closed 8 years ago

#6332 closed defect (fixed)

[Patch] After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update.

Reported by: rickmastfan67 Owned by: simon04
Priority: major Milestone: 16.08
Component: Core Version: latest
Keywords: Cc:

Description (last modified by Don-vip)

Steps to reproduce:

  1. Create a brand new way (or node).
  2. Upload it to the OSM database.
  3. Select the way (or node) in JOSM right after the upload has been completed.

What happens: When you either middle click on it, or try to view the author info in the author subwindow, it will not show the person's (you) screen name. It does show the way ID's brand new # just fine (on the middle click window).
Example: When you middle click it will say: "highway (6 nodes) [id=0000000]" with no User name after the way ID after the successful upload.

What should happen: Brand new items that you have uploaded to OSM via JOSM should show your screen name as well as the way # without having to "update" the data a second time.

Also, when you update an item that somebody else last edited/created, JOSM isn't updating the "user" info of that item unless you do the "update data" or "update selection" after you upload the "tweak".

Was with r4079.

Attachments (3)

problem.png (15.7 KB ) - added by rickmastfan67 13 years ago.
Shows a brand new way lacking the "user" info right after upload
problem2.png (55.7 KB ) - added by rickmastfan67 13 years ago.
Shows the "author" subwindow lacking the "user" info and still calling it a "new object" when it isn't.
6332.patch (999 bytes ) - added by simon04 8 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 by rickmastfan67, 13 years ago

Description: modified (diff)

comment:2 by rickmastfan67, 13 years ago

Summary: After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update. (possible regression)(possible regression) After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update.

by rickmastfan67, 13 years ago

Attachment: problem.png added

Shows a brand new way lacking the "user" info right after upload

by rickmastfan67, 13 years ago

Attachment: problem2.png added

Shows the "author" subwindow lacking the "user" info and still calling it a "new object" when it isn't.

comment:3 by rickmastfan67, 13 years ago

I hope you guys can now understand what I was talking about in the main post now since I attached the images showing this problem.

comment:4 by rickmastfan67, 13 years ago

Keywords: regression added

comment:5 by stoecker, 13 years ago

Keywords: regression removed
Summary: (possible regression) After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update.After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update.

Very likely author information is not sent by server after upload and thus not merged with the data set. Problem is: where do we get user id and author name? Maybe create a new "<uploader>" user for this purpose?

comment:6 by Don-vip, 11 years ago

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

in reply to:  5 ; comment:7 by Don-vip, 10 years ago

Description: modified (diff)

Replying to stoecker:

Problem is: where do we get user id and author name?

From a GET /api/0.6/changeset/#id ?

in reply to:  7 comment:8 by skyper, 10 years ago

Replying to Don-vip:

Replying to stoecker:

Problem is: where do we get user id and author name?

From a GET /api/0.6/changeset/#id ?

Strange, history even shows user name for local objects at least with OAuth and JOSM knows the user who is uploading e.g. it should set it as soon as the upload did succeed. Only the ids are needed the user should already be known.

comment:9 by Don-vip, 10 years ago

Because history makes a new API request, so all information is returned here.

comment:10 by Don-vip, 8 years ago

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

by simon04, 8 years ago

Attachment: 6332.patch added

comment:11 by simon04, 8 years ago

Milestone: 16.08
Owner: changed from team to simon04
Status: newassigned
Summary: After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update.[Patch] After uploading new items to OSM, JOSM doesn't update the author of the item unless a force data update.

comment:12 by Don-vip, 8 years ago

patch can be applied :)

comment:13 by simon04, 8 years ago

Resolution: fixed
Status: assignedclosed

In 10818/josm:

fix #6332 - Update user and timestamp of OSM objects after upload

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
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.