Opened 14 years ago
Closed 9 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 )
Steps to reproduce:
- Create a brand new way (or node).
- Upload it to the OSM database.
- 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)
Change History (16)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|
comment:2 by , 14 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 , 14 years ago
Attachment: | problem.png added |
---|
by , 14 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 , 14 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 , 14 years ago
Keywords: | regression added |
---|
follow-up: 7 comment:5 by , 14 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?
follow-up: 8 comment:7 by , 11 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 ?
comment:8 by , 11 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 , 11 years ago
Because history makes a new API request, so all information is returned here.
by , 9 years ago
Attachment: | 6332.patch added |
---|
comment:11 by , 9 years ago
Milestone: | → 16.08 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
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. |
Shows a brand new way lacking the "user" info right after upload