Project

General

Profile

Actions

bug #9825

closed

Selection wizards for areas in mulitlanguage instances show every vocabulary twice

Added by Katja Luther over 2 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

The selection wizard for areas for the distribution editor shows the vocabularies twice in cuba, this is a multilanguage instance.


Related issues

Related to EDIT - bug #9598: Deduplicate NamedAreas with >1 representations and include label in searchClosedAndreas Müller

Actions
Actions #1

Updated by Katja Luther over 2 years ago

  • Related to bug #9598: Deduplicate NamedAreas with >1 representations and include label in search added
Actions #2

Updated by Andreas Müller over 2 years ago

  • Tags set to fast
Actions #3

Updated by Andreas Müller over 2 years ago

  • Status changed from New to In Progress
  • Assignee changed from Katja Luther to Andreas Müller
  • Priority changed from New to Highest
  • Target version changed from Release 5.51 to Release 5.28
  • % Done changed from 0 to 20

First implementation with d955087e . However, it may not yet work due to generics (the current DefinedTermDaoImpl.deduplicateResult() method maybe works only for CdmBase objects) but we work with DTOs here. Once this is tested we may also adapt other DTO based methods in TermVocabularyDaoImpl as there are lots of methods being DTO based but still loading the representation(s) as model objects.

Actions #4

Updated by Andreas Müller over 2 years ago

  • Assignee changed from Andreas Müller to Katja Luther

The method used is a DTO method VocabularyService.findVocabularyDtoByTermType() or finally on DTO level TermVocabularyDaoImpl.findVocabularyDtoByTermTypes(). This method already implements deduplication server side as the new test (259c70d2e105) shows.
The DTO stores both representations in the result. So I guess the problem is somewhere on client side. Katja, can you check this.

Actions #5

Updated by Katja Luther over 2 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Katja Luther to Andreas Müller

Andreas Müller wrote:

The method used is a DTO method VocabularyService.findVocabularyDtoByTermType() or finally on DTO level TermVocabularyDaoImpl.findVocabularyDtoByTermTypes(). This method already implements deduplication server side as the new test (259c70d2e105) shows.
The DTO stores both representations in the result. So I guess the problem is somewhere on client side. Katja, can you check this.

Sorry it was the wrong method, it is the find(UUID) which gives back two vocabularies for the uuid.

Actions #6

Updated by Andreas Müller over 2 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 20 to 50
Actions #7

Updated by Andreas Müller over 2 years ago

  • Assignee changed from Andreas Müller to Katja Luther

Should be solved now. Can you please review?

Actions #8

Updated by Andreas Müller over 2 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Katja Luther to Andreas Müller
  • % Done changed from 50 to 100

I tested on rem_conf_am and everything seems to work as expected.

Actions

Also available in: Atom PDF