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

Scheduling archive of more than one content throws a JS exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.3, 4.2.0
    • 4.2.0
    • None
    • None
    • 4.2 M3

      cf https://code.ametys.org/projects/AMETYS/repos/cms/browse/main/plugin-cms/resources/js/Ametys/plugins/cms/content/controller/ArchiveMenu.js#111

      In Ametys.plugins.cms.content.controller.ArchiveMenu, if there is more than one content with scheduled archiving, the method _addMultipleSchedulingDescription is called but does not exists.

       

      Suggested fix : always use the standard case ( description = this._handlingMultiple(description, 'scheduled-archiving', scheduleArchiveContents); )

      Here is a screenshot when using the standard case :

       

            laurence Laurence Aumeunier
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: