Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1020

A new site project is created without the default values for its configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.2, 2.1.0
    • 2.1.0
    • None
    • None
    • 4.4 RC3

      For example "content-privacy" is not setted on a project site.

      As result, on BO side there is JS error such as:

      Entry.js:139 2021-02-15T16:25:07.289Z	ERROR	[Ametys.message.MessageBus]	Un composant a rencontré une exception lors du traitement d'un message du bus (TypeError: Cannot read property 'id' of null)
       TypeError: Cannot read property 'id' of null
          at constructor._getStatusCb (SmartContentController.js:266)
          at constructor.callParent (ext-all.js:13647)
          at constructor._getStatusCb (ContentPrivacyController.js:116)
          at constructor._getStatus (SmartContentController.js:74)
          at constructor.updateState (SmartContentController.js:63)
          at constructor.refresh (CommonController.js:1067)
          at constructor._onSelectionChanged (CommonController.js:1033)
          at constructor.fire (MessageBus.js:170)
          at constructor.cb (MessageMethods.js:153)
      

      This occurs because site.getValue('content-privacy') returns null.

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: