Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9333

[Script] migrateContent improvement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.10, 4.2.0
    • 4.2.0
    • None
    • None
    • 4.2 M5

      While calling the migrateContent method for scripting, some methods on content can have errors like getTitle() if we need to migrate this metadata.

      Then we should have :

          _verbosePrint({ toString: function() {"<b>Content</b>: " + content.getLanguage() + "/" + content.getName() + " (" + content.getId() + ")<br/>"
                          + "         " + content.getTitle()
                       }});

      Instead of :

          _verbosePrint("<b>Content</b>: " + content.getLanguage() + "/" + content.getName() + " (" + content.getId() + ")<br/>"
                          + "         " + content.getTitle()
                       );

      See web-script-binding.xml

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: