Project

General

Profile

« Previous | Next » 

Revision 43804768

Added by Andreas Müller over 4 years ago

fix #8964 update later homonym labels and titleCaches

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v512_515/SchemaUpdater_5120_5150.java
55 55

  
56 56
		List<ISchemaUpdaterStep> stepList = new ArrayList<>();
57 57

  
58
	    //#8964 update label for later homonym
59
        stepName = "update label for later homonym";
60
        UUID uuidTerm = UUID.fromString("80f06f65-58e0-4209-b811-cb40ad7220a6");
61
        String label = "is later homonym of";
62
        UUID uuidLanguage = Language.uuidEnglish;
63
        TermRepresentationUpdater.NewInstanceWithTitleCache(stepList, stepName,
64
                uuidTerm, label, label, null, uuidLanguage);
65

  
66
        stepName = "update label for treated as later homonym";
67
        uuidTerm = UUID.fromString("2990a884-3302-4c8b-90b2-dfd31aaa2778");
68
        label = "is treated as later homonym of";
69
        uuidLanguage = Language.uuidEnglish;
70
        TermRepresentationUpdater.NewInstanceWithTitleCache(stepList, stepName,
71
                uuidTerm, label, label, null, uuidLanguage);
72

  
58 73
        return stepList;
59 74
    }
60 75

  

Also available in: Unified diff