Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17024

make ezmodule template operator also consider ModuleList for enabled modules

    XMLWordPrintable

Details

    Description

      ezmodule template operator returns true even if the module isn't registered.

      This seems a little wrong. How should a design check if a module is available?

      ezmodule should basically also check ModuleList before it checks deny rules to make it usefull for extensions.

      Steps to reproduce
      {def $moduleExists = ezmodule( 'non_existant_module' )}
      {if $moduleExists}
          ezmodule doesn't work
      {else}
          ezmodule works
      {/if}
      

      Attachments

        Activity

          People

            andre1 andre1
            stevo stevo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: