Actions
bug #6409
closedfeature request #6361: [MASTER] Merge all TaxonName classes into 1 class
Fix failing Level3 validation in ValidationTest introduced by removing TaxonNameBase subclasses
Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
major
Found in Version:
Description
method is testLevel3ValidationWithValidName was set to @Ignore
The problem occurs in org.hibernate.validator.internal.util.TypeHelper.normalize and is an infinite loop.
There is a comment that this might happen
private static <K, V> Map<K, V> normalize(Map<K, V> map) {
// TODO: will this cause an infinite loop with recursive bounds?
for ( Entry<K, V> entry : map.entrySet() ) {
K key = entry.getKey();
V value = entry.getValue();
while ( map.containsKey( value ) ) {
value = map.get( value );
}
map.put( key, value );
}
return map;
}
so maybe it is fixed in the meanwhile
The problem was introduced with commit c1118b450acd3f36d8351910accbd15b923e1140 (2017-02-03) in cdmlib (related to #6362)
Related issues
Updated by Andreas Müller over 6 years ago
- Description updated (diff)
- Priority changed from New to Highest
- Parent task set to #6361
Updated by Andreas Müller over 6 years ago
- Description updated (diff)
- Severity changed from normal to major
Updated by Andreas Müller over 6 years ago
- Related to task #6362: Remove occurrence of NonViralName in code added
Updated by Andreas Müller almost 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|5734eafe6399bc0a051e9c2575d0dcf3505bd0c3.
Updated by Andreas Müller almost 6 years ago
- Status changed from Resolved to Closed
- % Done changed from 90 to 100
Actions