Project

General

Profile

bug #6330

Defined sort order for Mediarepresentations

Added by Andreas Müller almost 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Priority14
Category:
taxeditor
Target version:
Start date:
01/12/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

If multiple MediaRepresentations are available for one Media the order is arbitrary as it has set semantics.

This is sometimes confusing for the user if you open the same Media multiple times in details view but the result looks different.

We need a Comparator which may use size information from MediaRepresentationParts and/or any other as long as it is a reproducable order.

This might be true for other lists with set semantic. We may create another ticket to generally solve this problem for all these issues.
Maybe we should require a default Comparator for each such "list element" in TaxEditor.

Associated revisions

Revision 1c3cb06b (diff)
Added by Patrick Plitzner 9 months ago

fix #6330 Add default sorting for all entity collections

  • default sorting is done by CdmBase.getId(). This also ensures that new elements are shown on top at first

Revision 6e52cede (diff)
Added by Patrick Plitzner 7 months ago

ref #6330 Adapt comparator to specific sorting

History

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

  • Priority changed from New to Priority14
  • Target version changed from Unassigned CDM tickets to Release 4.6

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

  • Target version changed from Release 4.6 to Release 4.7

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

  • Target version changed from Release 4.7 to Release 4.8

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

  • Target version changed from Release 4.8 to Release 4.9

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

  • Target version changed from Release 4.9 to Release 4.10

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

  • Target version changed from Release 4.10 to Release 4.11

#7 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.11 to Release 4.12

#8 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#9 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 4.13 to Release 4.14

#10 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 4.14 to Release 5.0

#11 Updated by Patrick Plitzner 9 months ago

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

#12 Updated by Patrick Plitzner 9 months ago

  • Assignee changed from Patrick Plitzner to Andreas Müller

#13 Updated by Andreas Müller 8 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Patrick Plitzner
  • % Done changed from 50 to 90

This generally seems to work though I tested only for MediaRepresentations.

Did you check in all cases that you did not overwrite a maybe existing sorting. I remember that we did some advanced sorting for certain sets already.
If this was checked we can close the ticket.

#14 Updated by Patrick Plitzner 7 months ago

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

Andreas Müller wrote:

This generally seems to work though I tested only for MediaRepresentations.

Did you check in all cases that you did not overwrite a maybe existing sorting. I remember that we did some advanced sorting for certain sets already.
If this was checked we can close the ticket.

I checked all sub classes adapted the comparator accordingly.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)