Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3457

Fix filter definition on a 'search' content view using a 'Custom EL expression'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 38
    • Fix Version/s: 40
    • Component/s: Content Views
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxGang Sprint 8.4.2
    • Story Points:
      3

      Description

      When defining a content view with flag Search content view checked, action filter is not correctly generated when setting a EL expression in field Custom EL expression in tab Enablement (btw Activation is better) of content view.

      Enablement tab of content view in Studio

      action's generated XML

      You can see that the EL expression is not included in the action filter's definition.

          <action id="SUPNXP-17164_searchContentView_search_action" enabled="true" order="0" type="link" immediate="false" link=".">
            <category>SEARCH_CONTENT_VIEWS</category>
            <properties>
              <property name="contentViewName">SUPNXP-17164_searchContentView</property>
            </properties>
            <filter id="filter@SUPNXP-17164_searchContentView_search_action">
              <rule grant="true"/>
            </filter>
          </action>
      

      BTW the tooltip on field Custom EL expression says it is a MVEL expression, shouldn't it be a JSF EL expression?

        Attachments

        1. screenshot-1.png
          37 kB
          Vincent Dutat
        2. screenshot-2.png
          41 kB
          Vincent Dutat

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.