Project

General

Profile

Actions

bug #3535

closed

Automatically update descriptive view if content changed

Added by Andreas Müller over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Priority14
Assignee:
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

50%

Estimated time:
Severity:
critical
Found in Version:

Description

when one moves a description element from one taxon to another one and an editor is already opened for this taxon the information displayed in this editor or descriptive view is not updated automatically.

E.g. I move a common name from Taxon A to Taxon B (which is already open), the information is not displayed in taxon B. I do have to close and reopen the taxon's editor first to correctly display the latest state.


Related issues

Copied to EDIT - bug #7731: service method for moving descriptions should not move image galleriesNewKatja Luther

Actions
Copied to EDIT - feature request #7730: Add moving functionality to media viewNewKatja Luther

Actions
Copied to EDIT - bug #7754: tab order should be the same after saving of moved descriptionsNewKatja Luther

Actions
Actions #1

Updated by Andreas Müller over 10 years ago

  • Assignee changed from Andreas Müller to c.mathew -
Actions #2

Updated by Andreas Müller almost 6 years ago

  • 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
  • Private changed from Yes to No

Is this still an open issue?

If yes maybe we can easily fix it with e4 event bus functionality?

Actions #3

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.1 to Release 5.2
Actions #4

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.2 to Release 5.3
Actions #5

Updated by Katja Luther over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #6

Updated by Katja Luther over 5 years ago

  • Assignee changed from Katja Luther to Andreas Müller

please review

Actions #7

Updated by Andreas Müller over 5 years ago

Note: the selection dialog for the target taxon does show the "start" taxon too. This is not needed and should be filtered.

Actions #8

Updated by Andreas Müller over 5 years ago

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

~Now, the fact is not removed from the old taxon. Only closing and reopening the taxon removes it.
I tested this for moving a single fact (being a single fact in a description).
~

Actions #9

Updated by Andreas Müller over 5 years ago

Moving the full description seems to work correctly.

Actions #10

Updated by Andreas Müller over 5 years ago

Note: ~when moving full description to another taxon the new label of the description is: "Elements moved from ...". Can we remove "Elements" bei "Facts"? Is shorter and more according to our current terminology.~

Actions #11

Updated by Andreas Müller over 5 years ago

Andreas Müller wrote:

Now, the fact is not removed from the old taxon. Only closing and reopening the taxon removes it.
I tested this for moving a single fact (being a single fact in a description).

Closing does not work if the taxon still needs to be saved. By save the fact is reattached to it without warning

Actions #12

Updated by Andreas Müller over 5 years ago

If the target taxon is dirty and unsaved and gives a warning. It says ".... all other unsaved changes will be saved". It does not say, that ONLY the target taxon name editor will be saved.
If the later is the case we should clearly state this. E.g. "Warning - the target taxon is open in another window with unsaved changes. These changes will be saved automatically. To prevent ..."

We may also think about a triple choice "Save", "Discard changes", "Cancel". Than we need to adapt the above text slightly.

Actions #13

Updated by Katja Luther over 5 years ago

this fix was only for the menu entry in taxonnavigator, but I will have a look at the problems in factual data view.

Actions #14

Updated by Andreas Müller over 5 years ago

  • Severity changed from normal to critical

Upps, even more critical. Even selecting "Cancel" does not cancel the operation but still saves the target data and adds the data to be moved.

But at the same time, the other changes are not saved, not matter if one chooses "OK" or Cancel.

This is both critical.

Actions #15

Updated by Andreas Müller over 5 years ago

Katja Luther wrote:

this fix was only for the menu entry in taxonnavigator, but I will have a look at the problems in factual data view.

OK.
If calling from navigator the facts and media view of the source taxon stays grey. Even if the warning comes that it has changes that need to be saved first, which should simply finish the operation without any changes.
But even if no changes existed in source the facts stay grey and you can't see if they were all removed... and you can't add some new facts if you want.

Actions #16

Updated by Andreas Müller over 5 years ago

By the way, moving facts also moves image galleries. For the user this might be unexpected as for the user it is not clear that image galleries are handled same as DescriptionBases.

Maybe we should change this behavior or allow configuration.

Actions #17

Updated by Andreas Kohlbecker over 5 years ago

Andreas Müller wrote:

By the way, moving facts also moves image galleries. For the user this might be unexpected as for the user it is not clear that image galleries are handled same as DescriptionBases.

Maybe we should change this behavior or allow configuration.

+1 for "change this behavior"

Actions #18

Updated by Andreas Müller over 5 years ago

But then we should separately allow to also move media/image galleries. Otherwise it is difficult to handle images when a taxon is split, synonym swapt or any taxonomic operation takes place.

At least for the Media View we should offer a similar funtionality as for the facts view.

new ticket?

By the way, media galleries sooner or later will become an own class, not beeing DescriptionBase anymore. Then it will be handled sepatately anyway. But this still needs discussion.

Actions #19

Updated by Katja Luther over 5 years ago

Andreas Müller wrote:

Katja Luther wrote:

this fix was only for the menu entry in taxonnavigator, but I will have a look at the problems in factual data view.

OK.
If calling from navigator the facts and media view of the source taxon stays grey. Even if the warning comes that it has changes that need to be saved first, which should simply finish the operation without any changes.
But even if no changes existed in source the facts stay grey and you can't see if they were all removed... and you can't add some new facts if you want.

I can't reproduce this, the operation takes some time but if it is finished the facts view becomes white and you can see the facts.

Actions #20

Updated by Katja Luther over 5 years ago

Andreas Müller wrote:

Note: the selection dialog for the target taxon does show the "start" taxon too. This is not needed and should be filtered.

this is fixed

Actions #21

Updated by Katja Luther over 5 years ago

Andreas Müller wrote:

Now, the fact is not removed from the old taxon. Only closing and reopening the taxon removes it.
I tested this for moving a single fact (being a single fact in a description).

this is fixed

Actions #22

Updated by Katja Luther over 5 years ago

Andreas Müller wrote:

Note: when moving full description to another taxon the new label of the description is: "Elements moved from ...". Can we remove "Elements" bei "Facts"? Is shorter and more according to our current terminology.

fixed

Actions #23

Updated by Katja Luther over 5 years ago

this ticket is fixed, created a new ticket for not moving image galleries ( #7731) and for the same moving functionality in media view (#7730)

Actions #24

Updated by Katja Luther over 5 years ago

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

Updated by Andreas Müller over 5 years ago

  • Description updated (diff)
Actions #26

Updated by Andreas Müller over 5 years ago

A minor issue: the processes often take time which is acceptable but an hourglass that the process is still ongoing is missing. So the user does not really know why he can not see a change yet.

Is it possible to add an hourglass?

Actions #27

Updated by Andreas Müller over 5 years ago

It would be nice if the tap order of the editors could be the same as before saving. Currently the order changes which is confusing for the user (as he doesn't know that the editor is closed and reopened)

Actions #28

Updated by Andreas Müller over 5 years ago

Now, changes in the source are saved properly. Changes in the target are not saved even when choosing "OK"

Actions #29

Updated by Andreas Müller over 5 years ago

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

Updated by Andreas Müller over 5 years ago

Also the request for saving now appears twice if both taxa are dirty. Once before selecting the target, and then after selecting the target. I think we should change the workflow.

  • first select the target
  • then warn if any of source or target is dirty (adapt test of warning, either "target taxon has..." or "source taxon..." "source and target taxa have..." unsaved changes
  • use the same warning text for both (actually it will be only 1 text then so it must be more or less the same), currently it are completely differnt texts and even the button labels are different.

Note: The text "... ebnso werd alle weiteren ungespeicherten Änderunge gespeichert" of the current second warning is misleading. As far as I understand only the 2 taxa are saved, not ALL. Maybe better use the text of the first warning (note: I changed it slightly, so update code first)

Actions #31

Updated by Katja Luther over 5 years ago

Andreas Müller wrote:

Now, changes in the source are saved properly. Changes in the target are not saved even when choosing "OK"

missed to commit, is fixed now.

Actions #32

Updated by Katja Luther over 5 years ago

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

now only once the user is asked for saving and text is adapted.

Actions #33

Updated by Andreas Müller over 5 years ago

  • Copied to bug #7731: service method for moving descriptions should not move image galleries added
Actions #34

Updated by Andreas Müller over 5 years ago

Actions #35

Updated by Andreas Müller over 5 years ago

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

This seems all to be fixed or moved to new ticket.

Only open issue is the tab order which may change by saving (#note-27). Feel free to create a new ticket for this with lower priority.

Actions #36

Updated by Katja Luther over 5 years ago

  • Copied to bug #7754: tab order should be the same after saving of moved descriptions added
Actions #37

Updated by Katja Luther over 5 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF