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

          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 Laurence Aumeunier
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: