bug #6747
closedMedia and Facts view is inactive for specimen editor
100%
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
Updated by Katja Luther almost 7 years ago
- Related to bug #6748: Linking between derivate view and facts/media view added
Updated by Katja Luther almost 7 years 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.
Updated by Katja Luther almost 7 years ago
- Status changed from New to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Updated by Andreas Müller almost 7 years 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.
Updated by Andreas Müller almost 7 years 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.
Updated by Andreas Müller almost 7 years ago
- Severity changed from normal to critical
Updated by Katja Luther almost 7 years 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.
Updated by Katja Luther almost 7 years 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.
Updated by Andreas Müller almost 7 years ago
- Related to feature request #6596: Migrate specimen editor added
Updated by Andreas Müller almost 7 years ago
- Related to deleted (feature request #6596: Migrate specimen editor)
Updated by Katja Luther almost 7 years 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
Updated by Katja Luther over 6 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Patrick Plitzner
Updated by Patrick Plitzner over 6 years 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.