Project

General

Profile

Actions

feature request #8283

closed

Allow adding media to terms in taxeditor

Added by Patrick Plitzner almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
New
Assignee:
Patrick Plitzner
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal

Description

This could be done in the details view for example


Related issues

Related to EDIT - bug #8367: Advanced media view is not available for media not edited in media details viewNewKatja Luther

Actions
Related to EDIT - bug #8129: Load images asynchronously in media details viewClosedPatrick Plitzner

Actions
Related to EDIT - bug #8380: Unsaved media gets lost in details viewNewKatja Luther

Actions
Actions #1

Updated by Patrick Plitzner almost 5 years ago

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

Updated by Patrick Plitzner almost 5 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller
Actions #3

Updated by Andreas Müller almost 5 years ago

should we add to HFX?

Actions #4

Updated by Andreas Müller almost 5 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Patrick Plitzner

The data may got lost the following way.

  • Open term
  • add media
  • open referencing objects view (-> Details View is empty which is anyway not wanted)
  • go back to term => media is not shown anymore
Actions #5

Updated by Andreas Müller almost 5 years ago

With the current implementation it is not possible to switch between advanced and simple view but sometimes it is essential to add >1 representations to a media.
In general it is a bit critical to have media together with other data in the details view, because the media part can become large and also because (until now) we do not yet have asynchronous loading for media which makes everything very slow once media are selected.

I can see that we can not use the media view with the current model as it requires a DescriptionBase, but maybe we can a switch in the media view which decides if it should show a media gallery or a simple media list depending on the selected parent.
In general for UX I think it is better if media are always handled the same way (in media view).
These thoughts are only for discussion, I am not sure what the best solution really is.

Actions #6

Updated by Andreas Müller almost 5 years ago

Katja, can you please cherry pick however. The above problems are minor issues and the media are not used much anyway but urgently needed for additivity.

Actions #7

Updated by Andreas Müller almost 5 years ago

Andreas Müller wrote:

The data may got lost the following way.

  • Open term
  • add media
  • open referencing objects view (-> Details View is empty which is anyway not wanted)
  • go back to term => media is not shown anymore

Is this maybe related to new implementation in #8316?

Actions #8

Updated by Katja Luther almost 5 years ago

cherry-picked to hotfix/5.7.3

Actions #9

Updated by Katja Luther almost 5 years ago

  • Target version changed from Release 5.8 to Release 5.7
Actions #10

Updated by Patrick Plitzner almost 5 years ago

  • Status changed from Feedback to Resolved
Actions #11

Updated by Andreas Müller almost 5 years ago

  • Target version changed from Release 5.7 to Release 5.8

PP just added some more code. Could you check if this also needs to be cherry picked.
Revert milestone as not sure if this is already fully implemented.

Actions #12

Updated by Andreas Müller almost 5 years ago

Or was this code only from the cherry picking? A bit confusing.

Actions #13

Updated by Katja Luther almost 5 years ago

Andreas Müller wrote:

Or was this code only from the cherry picking? A bit confusing.

Yes this seems to be the cherry-pick.

Actions #14

Updated by Katja Luther almost 5 years ago

  • Status changed from Resolved to Feedback
Actions #15

Updated by Patrick Plitzner almost 5 years ago

Andreas Müller wrote:

PP just added some more code. Could you check if this also needs to be cherry picked.
Revert milestone as not sure if this is already fully implemented.

Interesting to see that interaction of cherry-picking and redmine. Not only is my name shown but also the 'fix' set the status back to resolved again.

Actions #16

Updated by Patrick Plitzner almost 5 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller
  • % Done changed from 50 to 80

Andreas Müller wrote:

The data may got lost the following way.

  • Open term
  • add media
  • open referencing objects view (-> Details View is empty which is anyway not wanted)
  • go back to term => media is not shown anymore

This does not happen anymore for me. Andreas, can you also try one more time and then we close this ticket and open a new one for the ideas mentioned in #8283#note-5

Actions #17

Updated by Katja Luther almost 5 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Müller to Patrick Plitzner

this seems to work now. (the details view is still empty when changing to referencing objects view, but adding the media is fixed)

Actions #18

Updated by Patrick Plitzner almost 5 years ago

  • Related to bug #8367: Advanced media view is not available for media not edited in media details view added
Actions #19

Updated by Patrick Plitzner almost 5 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller
Actions #20

Updated by Patrick Plitzner almost 5 years ago

Added #8367 for remaining issues and discussion

All the rest should be implemented and functional now

Actions #21

Updated by Patrick Plitzner almost 5 years ago

  • Related to bug #8129: Load images asynchronously in media details view added
Actions #22

Updated by Andreas Müller almost 5 years ago

  • Status changed from Resolved to Feedback

Patrick Plitzner wrote:

Andreas Müller wrote:

The data may got lost the following way.

  • Open term
  • add media
  • open referencing objects view (-> Details View is empty which is anyway not wanted)
  • go back to term => media is not shown anymore

This does not happen anymore for me. Andreas, can you also try one more time and then we close this ticket and open a new one for the ideas mentioned in #8283#note-5

It still happens somehow but not so easy to reproduce.
I could reproduce this way:

On rem_conf_am open features.

  1. Got to Vocabulary "Untitled" and open term "test2".
  2. Open a media by simply clicking the "+" button
  3. Open "User Vocabulary"
  4. Click on first term (Citation Chromosome Numbers)
  5. Click back on test2 Repeat 4. and 5. a couple of times

After a while the media is not shown anymore.
Also there is another issue that sometimes when peforming step 5 the details view does not switch to "test2". Which is probably another issue and needs a new ticket.

Actions #23

Updated by Andreas Müller almost 5 years ago

  • Assignee changed from Andreas Müller to Patrick Plitzner
Actions #24

Updated by Patrick Plitzner almost 5 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller

Andreas Müller wrote:

Patrick Plitzner wrote:

Andreas Müller wrote:

The data may got lost the following way.

  • Open term
  • add media
  • open referencing objects view (-> Details View is empty which is anyway not wanted)
  • go back to term => media is not shown anymore

This does not happen anymore for me. Andreas, can you also try one more time and then we close this ticket and open a new one for the ideas mentioned in #8283#note-5

It still happens somehow but not so easy to reproduce.
I could reproduce this way:

On rem_conf_am open features.

  1. Got to Vocabulary "Untitled" and open term "test2".
  2. Open a media by simply clicking the "+" button
  3. Open "User Vocabulary"
  4. Click on first term (Citation Chromosome Numbers)
  5. Click back on test2 Repeat 4. and 5. a couple of times

After a while the media is not shown anymore.
Also there is another issue that sometimes when peforming step 5 the details view does not switch to "test2". Which is probably another issue and needs a new ticket.

I tried these steps on rem_conf_am about 20 times and could not reproduce this behavior. This issue in general never happens when the new media is saved, right? I would say that this is a very rare corner case then and we may close this ticket.

Actions #25

Updated by Patrick Plitzner almost 5 years ago

Just when I wrote the last comment it happened. But still, it is very unlikely that this will happen to a user. We may open another ticket to investigate why this can happen at all. I suspect that it's either a problem with the widget management or the term cache.

I tried also with saving the term and then it did not occur anymore.

Actions #26

Updated by Andreas Müller almost 5 years ago

  • Assignee changed from Andreas Müller to Patrick Plitzner
  • % Done changed from 80 to 90

Patrick Plitzner wrote:

Just when I wrote the last comment it happened. But still, it is very unlikely that this will happen to a user. We may open another ticket to investigate why this can happen at all. I suspect that it's either a problem with the widget management or the term cache.

I tried also with saving the term and then it did not occur anymore.

Why do you think it is very unlikely to happen? It happened to me several times, though of course adding media to terms in general is not really core functionality - and save in general works so only returning to the term creates a problem.
But opening a ticket and close this one is ok. Anyway we should handle media via Media view soon so maybe the problem will not occurr this way anyway so it is not worth speding much time on it.

Actions #27

Updated by Patrick Plitzner almost 5 years ago

  • Related to bug #8380: Unsaved media gets lost in details view added
Actions #28

Updated by Patrick Plitzner almost 5 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Created new ticket for remaining issues -> #8380

Actions

Also available in: Atom PDF