Project

General

Profile

Actions

bug #6409

closed

feature request #6361: [MASTER] Merge all TaxonName classes into 1 class

Fix failing Level3 validation in ValidationTest introduced by removing TaxonNameBase subclasses

Added by Andreas Müller over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Start date:
Due date:
% Done:

100%

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

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

Related to EDIT - task #6362: Remove occurrence of NonViralName in codeClosedAndreas Müller

Actions
Actions #1

Updated by Andreas Müller over 5 years ago

  • Description updated (diff)
  • Priority changed from New to Highest
  • Parent task set to #6361
Actions #2

Updated by Andreas Müller over 5 years ago

  • Description updated (diff)
  • Severity changed from normal to major
Actions #3

Updated by Andreas Müller over 5 years ago

  • Related to task #6362: Remove occurrence of NonViralName in code added
Actions #4

Updated by Andreas Müller about 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #5

Updated by Andreas Müller about 5 years ago

  • % Done changed from 50 to 90
Actions #6

Updated by Andreas Müller about 5 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF