Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3851

Automatic migration failed : not written in red in migration tool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0, 4.7.2
    • 4.8.0
    • None
    • None
    • 4.8.0 M2

      Following feature has been added : 

      <feature name="test.migration">
              <extensions>
                  <extension point="org.ametys.core.migration.MigrationExtensionPoint" 
                             id="test">
                      <versions type="sql">
                          <datasource>SQL-default-datasource</datasource>
                      </versions>
                      
                      <initialization type="script">
                          throw new Error("Arg")
                      </initialization>
                      
                      <upgrades>
                          <upgrade versionNumber="1" type="noop" comment="test1"/>
                          <upgrade versionNumber="2" type="noop" comment="test2"/>
                          <upgrade versionNumber="3" type="noop" comment="test3"/>
                          <upgrade versionNumber="4" type="noop" comment="test4"/>
                          <upgrade versionNumber="5" type="manual" comment="test5"/>
                          <upgrade versionNumber="6" type="noop" comment="test6"/>
                          <upgrade versionNumber="7" type="noop" comment="test7"/>
                          <upgrade versionNumber="8" type="noop" comment="test8 https://www.clubic.com?toto=3 See the migration&#13;guide https://docs.ametys.org/fr/search.html?textfield=%22data.20220704.ODFWorkflowHistory%22&amp;submit-form=mainSearch"/>
                      </upgrades>                       
                  </extension>
              </extensions>
      </feature>

      Tool is in maintenance mode due to failed migration, but there is no text in red : 

            cedric Cédric Damioli
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: