Project

General

Profile

bug #9729

Incomplete bean property Team.nomenclaturalTitleCache

Added by Andreas Kohlbecker 3 months ago. Updated 10 days ago.

Status:
Closed
Priority:
New
Category:
cdmlib
Target version:
Start date:
07/30/2021
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

after solving #9664 the INomenclaturalAuthor.nomenclaturalTitleCache bean propery is inconsistent.
The setter needs to conform to new new getter method name.


Related issues

Related to Edit - feature request #9664: Add nomenclaturalTitleCache to TeamOrPersonBase Resolved 06/10/2021
Related to Edit - bug #9728: NoSuchMethodException Team.areNomenclaturalTitle() breaks authortem editors Closed 07/30/2021

Associated revisions

Revision 135329fc (diff)
Added by Andreas Kohlbecker 3 months ago

fix #9728 completing bean property Team.nomenclaturalTitleCache

Revision 5e7ceaad (diff)
Added by Andreas Müller about 2 months ago

ref #9729, #9728, #9664 Adapt handling of nomenclaturalTitleCache setter and javadoc

Revision a32f4c74 (diff)
Added by Andreas Müller about 2 months ago

ref #9729, #9728, #9664 remove calls to deprecated method setNomenclaturalTitle

Revision c25885b8 (diff)
Added by Andreas Müller about 2 months ago

ref #9729, #9728, #9664 remove deprecated method setNomenclaturalTitle

History

#1 Updated by Andreas Kohlbecker 3 months ago

#2 Updated by Andreas Kohlbecker 3 months ago

  • Related to bug #9728: NoSuchMethodException Team.areNomenclaturalTitle() breaks authortem editors added

#3 Updated by Andreas Kohlbecker 3 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
  • Found in Version set to Release 5.25

completeness of the the bean property has been fixed by cdmlib:135329fc

However, there are now redundant setters for the nomenclaturalTitleCache property, the setter setNomenclaturalTitle() is deprecated and needs to be removed.

I am delegating this to you Andreas since this is model-related

#4 Updated by Andreas Müller about 2 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andreas Müller to Andreas Kohlbecker
  • % Done changed from 30 to 50

I adapted the changes so that it is similar to IdentifiableEntity.titleCache implementation.

This means:

  • the setTitleCache(String) method is set to deprecated (as it should not be called for setting the cache)
  • the method to use is setNomenclaturalTitleCache(String, boolean) now
  • I removed all calls to Team.setNomenclaturalTitle(String) and TeamOrPersonBase.setNomenclaturalTitle(String) as this method is now only needed in Person class.

#5 Updated by Andreas Müller about 2 months ago

Please check if this fullfills the requirements in vaadin.

#6 Updated by Andreas Kohlbecker about 2 months ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller

seems to be working in cdm-vaadin with the latest adaptions. I could not find any problems.

#7 Updated by Andreas Müller about 2 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

#8 Updated by Andreas Müller about 1 month ago

  • Target version changed from Release 5.28 to Release 5.27

#9 Updated by Andreas Müller 29 days ago

  • Subject changed from incomplete bean property Team.nomenclaturalTitleCache to Incomplete bean property Team.nomenclaturalTitleCache

#10 Updated by Andreas Müller 10 days ago

  • Category changed from cdm to cdmlib

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)