Project

General

Profile

bug #7892

RegistrationWorkingsetEditor: LIE creating new name for book section

Added by Andreas Kohlbecker 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
11/07/2018
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

Description

This LazyInitializationException seems to require special circumstances to be reproducible:

  1. login as admin
    1. ./registration#!regStart -> create new reference, click continue
    2. log out
  2. login as curator
    1. ./registration#!regStart -> create a new book section for the reference created above
    2. click "continue"
    3. in the RegistrationWorkingsetEditor click new name

An LazyInitializationException ist thrown:

Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
    at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:151)
    at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:266)
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:68)
    at eu.etaxonomy.cdm.model.agent.TeamOrPersonBase_$$_jvsta52_62.getNomenclaturalTitle(TeamOrPersonBase_$$_jvsta52_62.java)
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getInRefAuthorPart(DefaultReferenceCacheStrategy.java:744)
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getTokenizedNomenclaturalTitelInRef(DefaultReferenceCacheStrategy.java:696)
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getTokenizedNomenclaturalTitel(DefaultReferenceCacheStrategy.java:651)
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getNomenclaturalCitation(DefaultReferenceCacheStrategy.java:597)
    at eu.etaxonomy.cdm.model.reference.Reference.getNomenclaturalCitation(Reference.java:973)
    at eu.etaxonomy.cdm.strategy.cache.name.TaxonNameDefaultCacheStrategy.getTaggedFullTitle(TaxonNameDefaultCacheStrategy.java:309)
    at eu.etaxonomy.cdm.strategy.cache.name.NameCacheStrategyBase.getFullTitleCache(NameCacheStrategyBase.java:61)
    at eu.etaxonomy.cdm.strategy.cache.name.NameCacheStrategyBase.getFullTitleCache(NameCacheStrategyBase.java:72)
    at eu.etaxonomy.cdm.model.name.TaxonName.generateFullTitle(TaxonName.java:1431)
    at eu.etaxonomy.cdm.model.name.TaxonName.getFullTitleCache(TaxonName.java:1489)
    at eu.etaxonomy.cdm.vaadin.model.name.TaxonNameDTO.getFullTitleCache(TaxonNameDTO.java:234)
    ... 114 more

Associated revisions

Revision 3e625af9 (diff)
Added by Andreas Kohlbecker 2 months ago

fix #7892 proper initialization of references for new taxon names

History

#1 Updated by Andreas Kohlbecker 2 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Kohlbecker 2 months ago

  • Assignee changed from Andreas Kohlbecker to Wolf-Henning Kusber

please test if this is still reproducible

#3 Updated by Wolf-Henning Kusber 2 months ago

Test 1 (test system): Book entered as admin into Vaadin, Book section as submitter in vaadin, new name and type for existing name without problems.
Test 2 (test system): Book entered as admin into TaxEditor, Book section as submitter in vaadin, new name and type for existing name without problems.

Result: the initial problem was not the book section, but "double click" onto a selected name, or check for an existing name, than click on new name.

#4 Updated by Andreas Kohlbecker 2 months ago

  • Status changed from Resolved to Feedback

so this issue is solved and we can close it now?

#5 Updated by Andreas Kohlbecker 2 months ago

  • Status changed from Feedback to Closed
  • Assignee changed from Wolf-Henning Kusber to Andreas Kohlbecker
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)