Project

General

Profile

Revision 1bc25606

ID1bc256065d11e007717895359f9c19019cf6700a
Parent 4329130b
Child 5c609182

Added by Andreas Kohlbecker over 1 year ago

ref #7870 clearing the session to wipe out any left overs from previous usage of the session in handleViewEntered

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java
325 325
     * @param referenceID
326 326
     */
327 327
    protected void loadWorkingSet(UUID referenceUuid) {
328

  
328 329
        try {
329 330
            workingset = getWorkingSetService().loadWorkingSetByReferenceUuid(referenceUuid, true);
330 331
        } catch (RegistrationValidationException error) {
src/main/java/eu/etaxonomy/vaadin/mvp/AbstractPresenter.java
171 171
	 * are managed through the {@link NavigationManagerBean}
172 172
	 */
173 173
	public void handleViewEntered() {
174
        // fist of all clear the session to wipe out any left overs from previous usage of the session
175
        // this can happen if not all operations within a session are cleaned up correctly in
176
        // turn of an exception
177
        getSession().clear();
174 178
	}
175 179

  
176 180
    /**

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)