#19 Unable to relocate an existing Reference (right-click on panorama)

Open
opened 8 years ago by zopieux · 0 comments

Adding a new Reference on a Panorama works fine, using the right-click contextual menu.

When such a Reference already exists but is not at the right (x, y) location, using the contextual menu to re-add it results in an IntegrityError as DRF tries to create a new Reference with the same composite key (refpoint, panorama).

The contextual menu should know of the ref that are already set on the panorama, and display an Update button instead of Insert, and use a PUT instead of a POST.

Adding a new `Reference` on a `Panorama` works fine, using the right-click contextual menu. When such a `Reference` already exists but is not at the right `(x, y)` location, using the contextual menu to re-add it results in an `IntegrityError` as DRF tries to create a new `Reference` with the same composite key `(refpoint, panorama)`. The contextual menu should know of the ref that are already set on the panorama, and display an *Update* button instead of *Insert*, and use a `PUT` instead of a `POST`.
Sign in to join this conversation.
No Label
bug
ui
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.