Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15677

Share modules extension page display only 10 items

    Details

      Description

      Description

      Technical Description of the issue:
      The Module Deployment page of Share (http://localhost:8080/share/page/modules/deploy) will display only 10 modules. If there are more than 10 modules, only 10 will show up on the page.

      Customer's Description of the problem:
      "I am using Alfresco 5.0.2 and it is displaying only 10 items in the container."
      Supporting evidence

      Steps to reproduce
      1. Replace the content of this file:
      tomcat/webapps/shared/WEB-INF/classes/alfresco/site-data/extensions/debug-enabler-extension.xml

      With more than 10 modules, like the following:

      <extension> 
      <modules> 
      <module> 
      <id>Debug Enabler Extension 1</id> 
      <description>Applies config to enable debug</description> 
      <configurations> 
      <config replace="true"> 
      <flags> 
      <client-debug>true</client-debug> 
      <client-debug-autologging>false</client-debug-autologging> 
      </flags> 
      </config> 
      </configurations> 
      </module> 
      <module> 
      <id>Debug Enabler Extension 2</id> 
      <description>Applies config to enable debug</description> 
      <configurations> 
      <config replace="true"> 
      <flags> 
      <client-debug>true</client-debug> 
      <client-debug-autologging>false</client-debug-autologging> 
      </flags> 
      </config> 
      </configurations> 
      </module> 
      _... (more)_
      <module> 
      <id>Debug Enabler Extension 11</id> 
      <description>Applies config to enable debug</description> 
      <configurations> 
      <config replace="true"> 
      <flags> 
      <client-debug>true</client-debug> 
      <client-debug-autologging>false</client-debug-autologging> 
      </flags> 
      </config> 
      </configurations> 
      </module> 
      </modules> 
      </extension> 
      

      2. Open URL: http://localhost:8080/share/page/modules/deploy

      Expected Behaviour
      11 modules should be shown.

      Observed Behaviour
      10 modules are shown.

      Analysis to date
      If we change the “html select size” from 10 to 20, then we can see all the available modules on the deployed modules container. spring-surf-5.0.n.jar contains the problematic code

      <code:html>
      <div class="scrollableContainer">
      <select name="undeployedModules" size="10"><!—Here is the change required -->
      <#list undeployedModules as mod>
      <option value='${mod}' onClick="showSelectedEvaluator(this, false);"><script type="text/javascript">getModuleId(${mod});</script></option>
      </#list>
      </select>
      </div>
      <code:html>

      Customer business impact / priority / urgency
      Impact to the customer is low, because it is easy to fix the problematic code, for example, changing size="100".

      Ideal Fix Version:
      5.0.N

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                lcolorado Luis Colorado [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel