Project

General

Profile

feature request #7007

feature request #6565: [MASTER] Eclipse 4 Migration

Migrate IMemento functionality

Added by Patrick Plitzner almost 2 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
New
Category:
taxeditor
Target version:
-
Start date:
10/06/2017
Due date:
% Done:

100%

Severity:
normal
Tags:

Description

Patrick:

"offensichtlich haben wir unsere Settings/Preferences/Mementos jetzt aktuell noch etwas mehr verteilt. Dass die Namenseditoren geöffnet werden liegt nicht an dem GUI-Layout, sondern an den Mementos (E3-Technologie), die sich merken, welches Taxon noch geöffnet war, als der Editor geschlossen wurde. Diese Informationen sind im .cdmlibrary-Ordner, der für alle Instanzen verwendet wird.

Wir sollten also überlegen, welche Information instanz-spezifisch sind und welche für alle Editor-Instanzen gelten."


Related issues

Related to Edit - task #6745: Investigate how e4 model changes affect the cached application model in existing Taxeditor installation New 06/21/2017
Related to Edit - feature request #7071: Reenable restore functionality New 10/06/2017

Associated revisions

Revision f4888ff9 (diff)
Added by Patrick Plitzner almost 2 years ago

ref #7007 Migrate TermManager memento to preference store

Revision 94d5f220 (diff)
Added by Patrick Plitzner almost 2 years ago

ref #7007 Migrate bulk editor preference pages

Revision e2467cda (diff)
Added by Patrick Plitzner almost 2 years ago

ref #7007 Fix potential NPE

Revision 935c0645 (diff)
Added by Patrick Plitzner over 1 year ago

fix #7007 Fix potential NPE

History

#1 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Release 4.11 to Release 4.12

#2 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#3 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.13 to Release 4.14

#4 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.14 to Release 5.0

#5 Updated by Katja Luther over 1 year ago

Opening the preferences now throws an NPE:

java.lang.Exception: login : admin
editor version : 4.15.0.201802191042
server : test.e-taxonomy.eu (edit-test) / rem_conf_am
schema version : 4.7.0.0.201710040000
os : Windows Server 2012 R2 6.3 amd64
java : 1.8.0_121
java.lang.NullPointerException
    at eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences.checkNoneChecked(AbstractMenuPreferences.java:270)
    at eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences.performOk(AbstractMenuPreferences.java:247)
    at org.eclipse.jface.preference.PreferenceDialog$8.run(PreferenceDialog.java:905)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
    at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:889)
    at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:230)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
    at org.eclipse.jface.window.Window.open(Window.java:794)
    at eu.etaxonomy.taxeditor.workbench.handler.OpenPreferencesHandler.execute(OpenPreferencesHandler.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)

#6 Updated by Patrick Plitzner over 1 year ago

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

#7 Updated by Patrick Plitzner over 1 year ago

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

#8 Updated by Patrick Plitzner over 1 year ago

  • Parent task changed from #6565 to #7071

#9 Updated by Patrick Plitzner over 1 year ago

  • Target version deleted (Release 5.0)

removing milestone because master ticket is in milestone

#10 Updated by Patrick Plitzner over 1 year ago

removing milestone because master ticket is in current release

#11 Updated by Patrick Plitzner over 1 year ago

  • Status changed from New to Rejected
  • % Done changed from 0 to 100

The E4 migration has been done up to a sufficient state.
This feature was not migrated.
This may be re-visited in #6745.

#12 Updated by Patrick Plitzner over 1 year ago

  • Related to task #6745: Investigate how e4 model changes affect the cached application model in existing Taxeditor installation added

#13 Updated by Andreas Müller over 1 year ago

  • Parent task changed from #7071 to #6565

#14 Updated by Andreas Müller over 1 year ago

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)