Project

General

Profile

bug #6747

Media and Facts view is inactive for specimen editor

Added by Katja Luther over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
taxeditor
Target version:
Start date:
06/21/2017
Due date:
% Done:

100%

Severity:
critical
Found in Version:

Description

For the specimen editor there is no media and no facts view available anymore.

In e3 architecture we had an interface which was used to define which part should have an active media or facts view. This does not work anymore because the part is now an e4PartWrapper not the derivateView.

We can do a workaround by checking the selection type.


Related issues

Related to Edit - bug #6748: Linking between derivate view and facts/media view Closed 06/21/2017

Associated revisions

Revision 2abe4473 (diff)
Added by Katja Luther over 1 year ago

workaround to show media and facts view for derivateView

Revision 3166303d (diff)
Added by Katja Luther over 1 year ago

to show the menu of the media view for derivate view

Revision 58480902 (diff)
Added by Katja Luther over 1 year ago

avoid that mediaViewPart is inactive when details view has the focus

Revision 94665309 (diff)
Added by Katja Luther over 1 year ago

set derivate view dirty if description detail is edited

History

#1 Updated by Katja Luther over 1 year ago

  • Related to bug #6748: Linking between derivate view and facts/media view added

#2 Updated by Katja Luther over 1 year ago

Now the media and facts view is available. To show the menu of the media view I deleted the visibleWhen part in plugin.xml. This is not needed because the media view is only available for parts which contain media otherwise the whole part is diabled.

#3 Updated by Katja Luther over 1 year ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

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

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther

The media view is now active when you select a field or derived unit in specimen editor. But when you edit a media in the details view the media view again becomes disabled. Also the save button is not set on dirty when editing any media data.

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

The behavior for the Factual Data View is a bit similar. The dirty flag is also not set. However, the Factual Data View is not disabled in contrary to the Media View.

By the way the Media View is disabled in both cases, when editing Media OR Facts. In both cases this is not the case in v4.7.

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

  • Severity changed from normal to critical

#7 Updated by Katja Luther over 1 year ago

Andreas Müller wrote:

The media view is now active when you select a field or derived unit in specimen editor. But when you edit a media in the details view the media view again becomes disabled. Also the save button is not set on dirty when editing any media data.

The same problem with the whole derivate view. The dirty flag is set, but you have to set the focus back to the derivate view after editing something in the details view to save the changes.

#8 Updated by Katja Luther over 1 year ago

  • % Done changed from 0 to 80

Andreas Müller wrote:

The behavior for the Factual Data View is a bit similar. The dirty flag is also not set. However, the Factual Data View is not disabled in contrary to the Media View.

By the way the Media View is disabled in both cases, when editing Media OR Facts. In both cases this is not the case in v4.7.

This is fixed now, but the problem that save is only possible when the derivate view has the focus still exists.

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

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

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

  • Parent task set to #6596

#12 Updated by Katja Luther over 1 year ago

  • Parent task deleted (#6596)

Hallo,

ich habe jetzt die Verknüpfungen zwischen FactualDataView/MediaView und DerivateView wieder hin bekommen, allerdings gibt es noch ein Problem mit dem Speichern:

Es wird jetzt das dirty flag gesetzt, wenn man im DetailsView oder in Factual oder MediaView etwas ändert, aber der Speichern Button ist nicht aktiv und wenn man STR+S drückt, passiert nichts. Man muss erstmal wieder in den DerivateView selber rein und dann wird der Speichern Button aktiv und man kann speichern.

Das ist nicht schön, aber es ist die Frage, ob man so releasen kann oder ob ich versuche noch weiter zu recherchieren, wie man das lösen kann. Das Problem ist, dass der DerivateView ein e4 View ist und die anderen Views noch e3 und vor allem die anderen Views, die auch mit DetailsView, descriptiveView und MediaView zusammen arbeiten, sind auch noch e3. Man kann also nicht einfach die Views auch nach e4 migrieren.
Man könnte beim release den Usernsagen, dass sie übergangsweise wieder in den DerivateView wechseln müssen, um die Daten zu speichern.

Viele Grüße,
Katja

#13 Updated by Katja Luther over 1 year ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Katja Luther to Patrick Plitzner

#14 Updated by Patrick Plitzner over 1 year ago

  • Status changed from Resolved to Closed
  • Assignee changed from Patrick Plitzner to Katja Luther
  • % Done changed from 80 to 100

The views are no longer inactive. This works. However the problem of #6748 remains. It is not possible to create a new description for a specimen when also the name editor is open. The description will be created for the taxon then.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)