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

[ViewSelector] getLocations() : pluginName is sometimes null

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.11, 4.2.0
    • 4.1.3, 4.2.0
    • Général
    • None
    • 4.2 M11

      In the DefaultViewSelector, if the pluginName in the getLocations method is null, we get locations like : plugin:null://, and then later we get a warn like this :

      The plugin 'null' does not exist.

      Maybe the DefaultODFView is concerned too.

          [CMS-9194] [ViewSelector] getLocations() : pluginName is sometimes null

          Bérénice Maurel made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Available for review [ 10005 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]
          Laurence Aumeunier made changes -
          Link New: This issue Référence CMS-9594 [ CMS-9594 ]
          Laurence Aumeunier made changes -
          Link New: This issue Conditionne ODF-1850 [ ODF-1850 ]

          Moreover the locations are not resolved in right order

          • skin://stylesheets/utils.xsl
          • plugin:web://stylesheets/utils.xsl
          • context://WEB-INF/param/view/stylesheets/utils.xsl
          • plugin:[CURRENT_PLUGIN]/stylesheets/utils.xsl]
          • plugin:cms://stylesheets/utils.xsl]

          Instead of

          • skin://stylesheets/utils.xsl
          • context://WEB-INF/param/view/stylesheets/utils.xsl
          • plugin:[CURRENT_PLUGIN]/stylesheets/utils.xsl]
          • plugin:web://stylesheets/utils.xsl
          • plugin:cms://stylesheets/utils.xsl

          Laurence Aumeunier added a comment - Moreover the locations are not resolved in right order skin://stylesheets/utils.xsl plugin:web://stylesheets/utils.xsl context://WEB-INF/param/view/stylesheets/utils.xsl plugin: [CURRENT_PLUGIN] /stylesheets/utils.xsl] plugin:cms://stylesheets/utils.xsl] Instead of skin://stylesheets/utils.xsl context://WEB-INF/param/view/stylesheets/utils.xsl plugin: [CURRENT_PLUGIN] /stylesheets/utils.xsl] plugin:web://stylesheets/utils.xsl plugin:cms://stylesheets/utils.xsl
          Laurence Aumeunier made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Laurence Aumeunier made changes -
          Link New: This issue Référence CMS-9593 [ CMS-9593 ]
          Laurence Aumeunier made changes -
          Sprint New: 4.2 M11 [ 28 ]
          Laurence Aumeunier made changes -
          Link New: This issue is duplicated by CMS-9589 [ CMS-9589 ]

            laurence Laurence Aumeunier
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: