bug #4465
closedHandle Drag and Drop for Synonyms
0%
Description
Currently if you drag & drop a synonym from 1 Editor to another it works but data can not be saved as we are in a different session here.
This needs to be solved. However, for now we should disallow dropping a synonym to another Editor. Drag & Drop should be allowed only within the same Editor.
Files
Related issues
Updated by Andreas Müller over 9 years ago
Hallo,
ich wollte ein Synonym per Drag&Drop von einem Taxon zu einem anderen schieben und dann speichern. Habe es mehrfach probiert. Verschieben geht, aber das Speichern nicht. Habe mit der Ulteo-Version von Zuhause aus gearbeitet.
Wie krieg ich denn jetzt das Synonym an die richtige Stelle gespeichert?
VG Gabi
Failed to execute runnable (org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.taxon.TaxonBase.annotations, could not initialize proxy - no Session) Please contact EDIT Support (EditSupport@bgbm.org) with the error trace below (click on the 'Details' button).
org.eclipse.swt.SWTException: Failed to execute runnable (org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.taxon.TaxonBase.annotations, could not initialize proxy - no Session)
at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at eu.etaxonomy.taxeditor.Application.start(Application.java:24) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.taxon.TaxonBase.annotations, could not initialize proxy - no Session
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:618) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:208) at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:158) at org.hibernate.collection.internal.PersistentSet.size(PersistentSet.java:156) at eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection.setSectionTitle(AbstractEntityCollectionSection.java:165) at eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection.setEntity(AbstractEntityCollectionSection.java:155) at eu.etaxonomy.taxeditor.view.detail.CdmSectionPart.setFormInput(CdmSectionPart.java:105) at org.eclipse.ui.forms.ManagedForm.setInput(ManagedForm.java:238) at eu.etaxonomy.taxeditor.view.AbstractCdmDataViewer.refresh(AbstractCdmDataViewer.java:152) at eu.etaxonomy.taxeditor.view.AbstractCdmDataViewer.setInput(AbstractCdmDataViewer.java:132) at eu.etaxonomy.taxeditor.view.AbstractCdmViewPart.showViewer(AbstractCdmViewPart.java:107) at eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart.selectionChanged_internal(SupplementalDataViewPart.java:96) at eu.etaxonomy.taxeditor.view.AbstractCdmEditorViewPart$DelaySelection.run(AbstractCdmEditorViewPart.java:55) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 22 more
Updated by Andreas Müller almost 6 years ago
- File picture309-1.png picture309-1.png added
- Description updated (diff)
- Assignee changed from Cherian Mathew to Katja Luther
- Priority changed from New to Priority14
- Target version changed from TaxEditor Next Major Release to Release 5.1
This seems to work now, if you move the synonym not to an existing homotypic group. In the later case the group becomes grey - see attachement (this is even true for the accepted taxon homotypic group)
Updated by Andreas Müller almost 6 years ago
- Target version changed from Release 5.1 to Release 5.2
Updated by Andreas Müller over 5 years ago
- Target version changed from Release 5.2 to Release 5.3
Updated by Katja Luther over 5 years ago
- Related to bug #7671: Drag & Drop for synonyms has refresh problems added
Updated by Katja Luther over 5 years ago
- Status changed from New to Worksforme
- Target version deleted (
Release 5.3)
this issue is fixed, follow up ticket with remaining problems is #7671