Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructuring and improvements of reference dynamic fields #2648

Closed
stefanhaerter opened this issue Nov 7, 2023 · 1 comment
Closed

Restructuring and improvements of reference dynamic fields #2648

stefanhaerter opened this issue Nov 7, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@stefanhaerter
Copy link
Contributor

Several changes are to be made for dynamic fields of type reference:

  • Make use of field config param 'Multiselect' for consistency and code readability while maintaining current input field mode dropdown
  • Rely on ValueSet and EditFieldValueGet methods of parent class
  • Therefor, adjust EditFieldValueGet of BaseEntity to suit the needs of reference fields
@stefanhaerter stefanhaerter added the enhancement New feature or request label Nov 7, 2023
@stefanhaerter stefanhaerter added this to the OTOBO 11.0 milestone Nov 7, 2023
@stefanhaerter stefanhaerter self-assigned this Nov 7, 2023
stefanhaerter added a commit that referenced this issue Nov 7, 2023
…erence.

Fix handling of PossibleNone to prevent duplicated empty selection option.
stefanhaerter added a commit that referenced this issue Nov 7, 2023
…hods of parent class.

Logic in BaseEntity driver adapted to the needs of df reference.
stefanhaerter added a commit that referenced this issue Nov 8, 2023
…erence.

Fix handling of PossibleNone to prevent duplicated empty selection option.
stefanhaerter added a commit that referenced this issue Nov 8, 2023
…hods of parent class.

Logic in BaseEntity driver adapted to the needs of df reference.
stefanhaerter added a commit that referenced this issue Nov 8, 2023
…ields agent, customer user, customer company and reference.
stefanhaerter added a commit that referenced this issue Nov 8, 2023
…customer user and reference also to EditFieldValueGet test.
stefanhaerter added a commit that referenced this issue Nov 8, 2023
…customer user and reference also to ReadableValueRender test.
stefanhaerter added a commit that referenced this issue Nov 8, 2023
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…erence.

Fix handling of PossibleNone to prevent duplicated empty selection option.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…hods of parent class.

Logic in BaseEntity driver adapted to the needs of df reference.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…ields agent, customer user, customer company and reference.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…customer user and reference also to EditFieldValueGet test.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…customer user and reference also to ReadableValueRender test.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…ent, customer user, customer company and reference.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…e created and need to be cleaned afterwards.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…clude empty values which can occur in multivalue case.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…k as undef instead as empty string if no link is present.
stefanhaerter added a commit that referenced this issue Nov 9, 2023
…r normal fieds.

Adjusted df reference tests to previous change in DisplayValueRender.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…erence.

Fix handling of PossibleNone to prevent duplicated empty selection option.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…hods of parent class.

Logic in BaseEntity driver adapted to the needs of df reference.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…ields agent, customer user, customer company and reference.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…customer user and reference also to EditFieldValueGet test.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…customer user and reference also to ReadableValueRender test.
svenoe pushed a commit that referenced this issue Nov 9, 2023
svenoe pushed a commit that referenced this issue Nov 9, 2023
…ent, customer user, customer company and reference.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…e created and need to be cleaned afterwards.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…clude empty values which can occur in multivalue case.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…k as undef instead as empty string if no link is present.
svenoe pushed a commit that referenced this issue Nov 9, 2023
…r normal fieds.

Adjusted df reference tests to previous change in DisplayValueRender.
@stefanhaerter
Copy link
Contributor Author

Closed with merging #2649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant