SearchRequestPortlet execute request two times

XMLWordPrintable

    • 3.06

      Preparing a new evolution of Kaamelot FastWorklog Portlet, I saw something strange in getVelocityParams() method...

          protected Map getVelocityParams(final PortletConfiguration portletConfiguration)
          {
              Map params = super.getVelocityParams(portletConfiguration);
              params.putAll(super.getVelocityParams(portletConfiguration));
              params.put("description", getDescription(portletConfiguration));
              return params;
          }
      

      The super.getVelocityParams(portletConfiguration); is called two times and then the request defined in Portlet is executed also two times in AbstractSearchResultsPortlet.

              Assignee:
              Unassigned
              Reporter:
              Vincent Thoulé
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h