TaxonName.protectedAuthorshipCache should initially be false
The default value of
true. Since this cache is protected a user with the authority
TAXONNAME.[CREATE] can not create and persist a new TaxonName without setting this field to
false prior doing the flush (see #7021 for details). Therefore this field should be initially set to
false. For many use cases it might be advisable to protect this field for usability reasons, but protecting it initially because of such considerations is too opinionated and breaks the principle of least surprise.
#5 Updated by Andreas Müller almost 2 years ago
- Assignee changed from Andreas Müller to Andreas Kohlbecker
Can you give more information why you think that
"The default value of TaxonName.protectedAuthorshipCache is true"?
In TaxonName it is
private String authorshipCache;
and therefore false in most implementations.
#6 Updated by Andreas Kohlbecker almost 2 years ago
- Status changed from New to Rejected
- Target version deleted (
Unassigned CDM tickets)
You are absolutely right there is obviously no
true set as default default for
TaxonName.protectedAuthorshipCache. However, while working on #7021 the protectedAuthorshipCache was apparently always set to true, causing problems. I had to set it to false explicitly in my code make avoid problems, but not this has changed - very mysterious, but anyway we can close this ticket as invalid.