Project

General

Profile

Actions

bug #9506

closed

Rights can not be selected for reuse

Added by Andreas Müller almost 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Severity:
normal
Found in Version:

Description

The selection dialog for rights does not show any existing data even if "*" is entered.

This happened in the cyprus production database.


Files

picture999-1.png (202 KB) picture999-1.png Andreas Müller, 03/02/2021 10:35 PM
picture205-1.png (993 Bytes) picture205-1.png Andreas Müller, 03/04/2021 10:09 AM
picture346-1.png (3.31 KB) picture346-1.png Andreas Müller, 03/04/2021 02:20 PM

Related issues

Related to EDIT - bug #7091: Add uri field and abbreviatedText to Righs in supplemental dataClosedKatja Luther

Actions
Has duplicate EDIT - bug #6688: Rights do not show up in rights search if no text is givenDuplicateKatja Luther

Actions
Actions #1

Updated by Andreas Müller almost 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.

Actions #2

Updated by Katja Luther almost 2 years ago

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

Updated by Katja Luther almost 2 years ago

now the search is on text and agent.titlecache and the label contains {text} - {agent.titleCache} - {type.titleCache}

Actions #4

Updated by Andreas Müller almost 2 years ago

is this already for review?

Actions #5

Updated by Katja Luther almost 2 years ago

  • Assignee changed from Katja Luther to Andreas Müller
Actions #6

Updated by Andreas Müller almost 2 years ago

  • Has duplicate bug #6688: Rights do not show up in rights search if no text is given added
Actions #7

Updated by Andreas Müller almost 2 years ago

  • Related to bug #7091: Add uri field and abbreviatedText to Righs in supplemental data added
Actions #8

Updated by Andreas Müller almost 2 years ago

Empty values are not handled correctly:

I think empty or null values should not show up in the list at all.

Actions #9

Updated by Andreas Müller almost 2 years ago

We should also include abbrev and uri if data is not empty (see #7091)

Actions #10

Updated by Andreas Müller almost 2 years ago

Finally we could add a filter to search only on certain rights types. But this might be another ticket.

Actions #11

Updated by Katja Luther almost 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.

Actions #12

Updated by Katja Luther almost 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.

Actions #13

Updated by Andreas Müller almost 2 years ago

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")

Actions #14

Updated by Andreas Müller almost 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.

Actions #15

Updated by Andreas Müller over 1 year 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.

Actions

Also available in: Atom PDF