Bug #9292 (closed)
Opened 12 years ago
Closed 12 years ago
BUG - Web Client: Copy +Paste Dataset
Reported by: | sylittlewood | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Cc: | |
Sprint: | 2012-07-17 (19) | ||
Total Remaining Time: | n.a. |
Description
When copying and pasting a dataset in the web client from one project to another after the paste operation (without refreshing the browser/tree) the newly created group is visible and clickable but a request is made for metadata/copy_dataset/{dataset-id} instead of metadata/dataset/{dataset-id}. This results in a 404 request and an error dialogue being displayed with a trace of the stack.
It has been observed that the id property of the <li> html element is copy_dataset-{dataset-id} instead of dataset-{dataset-id}.
The URI that the javascript is creating for this newly created element is incorrect.
Refreshing the browser / clicking the tree refresh button causes a complete refresh and the dataset now does not error on selection
Attachments (1)
Change History (2)
Changed 12 years ago by sylittlewood
comment:1 Changed 12 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
Handle selection of nodes with id="copy_ ... "
https://github.com/aleksandra-tarkowska/openmicroscopy/commit/0b2dbd6b3f77230d00208a5de22dcfd5fa6ed8d3
Copy + Paste issue in web client