bug #6385
closedSpecimen Editor should handle new search same as bulk editor
100%
Description
For the bulk editors we realised that a new search should trigger a completely new session. Which also includes asking if potential changes (dirty data) should be thrown away a saved before new search.
Currently this is not the case in the specimen editor.
Generally the behavior (also for delete etc.) should be similar. How can this be guaranteed?
Updated by Andreas Müller about 7 years ago
Katja, could you please add the existing similar ticket for the bulk editor as a related ticket?
Updated by Andreas Müller about 7 years ago
- Priority changed from New to Highest
- Target version changed from Unassigned CDM tickets to Release 4.6
Updated by Andreas Müller about 7 years ago
- Target version changed from Release 4.6 to Release 4.7
Updated by Katja Luther about 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset taxeditor|9f5ce1e084d9a4d3c41e774f657cd97cf79e3bbb.
Updated by Katja Luther about 7 years ago
@Patrick: I was working on the specimen editor, so I fixed it already. Please review.
Updated by Patrick Plitzner almost 7 years ago
- Assignee changed from Patrick Plitzner to Katja Luther
You should not invoke dispose() on the part because this is a UI method which is used to free any resources like handlers, listeners and images. I think you only want to close and open a new session. So we should extract that code into a new method which you can use in this case and which is also invoked by the dipsose() method
Updated by Andreas Müller almost 7 years ago
- Status changed from Resolved to Feedback
Updated by Katja Luther almost 7 years ago
- Status changed from Feedback to Resolved
Applied in changeset taxeditor|9fc9ae69cbb0ca2fbed964533758650322160c6a.
Updated by Katja Luther almost 7 years ago
- Assignee changed from Katja Luther to Patrick Plitzner
now cdmEntitySession.dispose() is called instead of editor.dispose(), so that only the session is closed, this method is also called in editor.dispose()
Updated by Patrick Plitzner almost 7 years ago
- Status changed from Resolved to Closed
- Assignee changed from Patrick Plitzner to Katja Luther
- % Done changed from 50 to 100
seems fine
Updated by Patrick Plitzner almost 7 years ago
taxeditor|9f5ce1e084d9a4d3c41e774f657cd97cf79e3bbb.
Ask for save before another search