Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3812

UnsupportedOperation exception in org.apache.struts2.views.util.DefaultUrlHelper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.3
    • 2.3.4
    • Core Actions
    • None
    • org.apache.struts2.views.util.DefaultUrlHelper line 311/312

    Description

      Arrays.asList return one implementation of List which cannot handle add operation

      commit : 1303298

      311 : List<String> paramList = Arrays.asList(currentParamValues);
      312 : paramList.add(translatedParamValue);
      

      commit : 1302803

      311 : List<String> paramList = new ArrayList(Arrays.asList(currentParamValues));
      312 : paramList.add(translatedParamValue);
      

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            bdbogjoe Eric Chauvin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified