Actions
feature request #9541
closedImprove referencing objects handling
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
normal
Description
- DescriptionElementSource, SecundumSource and NomenclaturalStatus do now have a backlink to their referencing main object. Better labels and "open in" can be created for them, so.
- performance should be improved, currently sorting is done on "description" therefore each label needs to be created during sort, which is at least 1 lazy-initialization call per record if initialization is needed
- setting module parameters like "referencingObjectsList" is not done synchronized and within 1 command line with a server call. This may result in incorrect data if >1 job is running
- the total number of records found should be shown
- each job should be cancelable as often as possible so the jobs should be done in small parts, this is important for human triggered cancel as well as cancel due to focus change
- tbc
Related issues
Updated by Andreas Müller over 3 years ago
- Subject changed from Improve labels for referencing objects to Improve referencing objects handling
Updated by Andreas Müller over 3 years ago
- Description updated (diff)
- % Done changed from 0 to 20
Updated by Andreas Müller over 3 years ago
- Description updated (diff)
What I did:
- moved all referencing objects formatting to cdmlib (ReferencingObjectFormatter) to allow server side formatting and to have formatting at one place (model.format), this is a bit critical because referencing objects formatting is somehow context depending
- refactored the ReferencingObjectsViewE4 to
- first load objects without description and without link to target entity
- load descriptions and target entity in bulk
- correct handling of synchronized variables (using synchronized and volatile)
- use only 1 variable (actualUuid) to check if the focus is on a new entity, this variable is synchronized
- implement "cancel" during bulk load of descriptions and and target entity
- refactor "open in" framework to be more generic for the different types of entities having the focus (model instances, DTOs, others, ...)
- allow self referening "Open in ... referencing objects view" to traverse the object graph
- some more that I forgot
Updated by Andreas Müller over 3 years ago
open issues might be:
- improved formatting for all CdmBase classes (some formatting also seems to have regression, e.g. Distributions)
- self-referencing "open in" should not work on target but on base entity to really traverse the graph and not jump to the target instance (e.g. jump from DescriptionElementSource reference to the source and not immediately to the taxon itself)
- improve handling of view label and count
- formatting and target object computation without initializing model objects
- filter out instances which are part of the base object, e.g. do not show nomenclatural source of a TaxonName (but show if nomenclatural source is only using the name as original spelling)
- ...
Updated by Andreas Müller over 3 years ago
- Assignee changed from Andreas Müller to Katja Luther
- % Done changed from 20 to 50
Can you please review?
Open issues should be moved to new ticket.
Updated by Andreas Müller over 2 years ago
- Related to task #9999: Improve formatting for referencing objects of descriptive data added
Updated by Andreas Müller over 2 years ago
- Related to bug #9988: Fix selection for supplemental data view/referencing objects view added
Updated by Andreas Müller over 2 years ago
- Related to bug #9656: Closing the referencing objects view should cancel the current request added
Updated by Andreas Müller over 2 years ago
- Related to feature request #8305: show number of references in referencing objects view added
Updated by Andreas Müller over 2 years ago
- Related to bug #8261: Referencing objects view is missing focus after opening added
Updated by Andreas Müller over 2 years ago
- Related to bug #8126: Mediarepresentations should not be shown in Referencing objects view added
Updated by Andreas Müller over 2 years ago
- Related to feature request #6697: reconstruct getReferencingObjects to return DTOs added
Updated by Andreas Müller over 2 years ago
- Related to bug #6476: Remove MediaRepresentation and MediaRepresentationPart from Referencing objects view added
Updated by Andreas Müller over 2 years ago
- Related to feature request #6460: Refactor referencing objects in a way that supplemental data know what object they belong to added
Updated by Andreas Müller over 2 years ago
- Related to feature request #2584: Show loading information for "Referencing Objects" added
Updated by Katja Luther over 2 years ago
- Related to bug #10051: Remaining issues for Referencing Objects View added
Updated by Katja Luther over 2 years ago
- Status changed from Resolved to Closed
- Assignee changed from Katja Luther to Andreas Müller
Works fine and open issues are moved to a new ticket.
Actions