bug #9506
closedRights can not be selected for reuse
100%
Description
The selection dialog for rights does not show any existing data even if "*" is entered.
This happened in the cyprus production database.
Files
Related issues
Updated by Andreas Müller over 2 years ago
The problem is probably that for copyrights usually only an agent and the rights type is given, but no text.
So the dialog field should include not only the text but maybe something like
{agent.titleCache} - {text} - {type.titleCache}
But the problem of course is that Rights has no titleCache as it is only AnnotatableEntity. So the question is how the search can work. Maybe a first solution could be to search separately on text, on agents used in rights and on rights type.
Later we may think about more sophisticated solutions.
Updated by Katja Luther over 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|90f0f3376dce0188f40dad490274d666ad82c2c5.
Updated by Katja Luther over 2 years ago
now the search is on text and agent.titlecache and the label contains {text} - {agent.titleCache} - {type.titleCache}
Updated by Katja Luther over 2 years ago
- Assignee changed from Katja Luther to Andreas Müller
Updated by Andreas Müller over 2 years ago
- Has duplicate bug #6688: Rights do not show up in rights search if no text is given added
Updated by Andreas Müller over 2 years ago
- Related to bug #7091: Add uri field and abbreviatedText to Righs in supplemental data added
Updated by Andreas Müller over 2 years ago
- File picture205-1.png picture205-1.png added
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
Empty values are not handled correctly:
I think empty or null values should not show up in the list at all.
Updated by Andreas Müller over 2 years ago
We should also include abbrev and uri if data is not empty (see #7091)
Updated by Andreas Müller over 2 years ago
Finally we could add a filter to search only on certain rights types. But this might be another ticket.
Updated by Katja Luther over 2 years ago
- Status changed from Feedback to In Progress
Andreas Müller wrote:
Empty values are not handled correctly:
I think empty or null values should not show up in the list at all.
this is fixed.
Updated by Katja Luther over 2 years ago
- Status changed from In Progress to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Andreas Müller wrote:
We should also include abbrev and uri if data is not empty (see #7091)
this is fixed.
Updated by Andreas Müller over 2 years ago
- File picture346-1.png picture346-1.png added
Katja Luther wrote:
Andreas Müller wrote:
Empty values are not handled correctly:
I think empty or null values should not show up in the list at all.
this is fixed.
This still looks like before:
Any empty text should not show up (including the dash), any null value should not show up at all (also not as "null")
Updated by Andreas Müller over 2 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
Katja Luther wrote:
Andreas Müller wrote:
We should also include abbrev and uri if data is not empty (see #7091)
this is fixed.
It doesn't seem to be part of the search, maybe this was a misunderstanding. In #7091 it is required that these attributes are editable. Her in #9506 they should also be searchable, in the same way as the other parts, separated by dash, but only showing up in the label, if data exists.
Updated by Andreas Müller over 2 years ago
- Status changed from Feedback to Closed
- Priority changed from New to Highest
- % Done changed from 50 to 100
This works now. Maybe the server was not restarted when I checked last time.