ICEfaces
  1. ICEfaces
  2. ICE-10762

commandLink action method being called twice on one click

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      Mojarra 2.1.29-01, 2.1.29-02, 2.1.29-03
    • Assignee Priority:
      P1
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      The Mojarra 2.1.29 (before 2.1.29-01) doesn't seem to show this behavior as well as the supported 2.1.28 release.

      Description

      A commandLink is being rendered in an iterative container (ui:repeat, ace:dataTable, etc). On click of this link the action method receives the var object and updates the page based off of this click.

      Using ICEfaces 3 with Mojarra 2.1.29-01, upon each click the action method is called twice (except for the first click). It is called once for the current clicking link and again for the last one (when clicking down the list). When clicking up the list, this causes the data on the page to be shown incorrectly, the last link method is always called.

      I have created a plain JSF test case using the same code and jar file but this doesn't show the same behavior.

        Issue Links

          Activity

          Arran Mccullough created issue -
          Arran Mccullough made changes -
          Field Original Value New Value
          Attachment Case13492Example.war [ 20584 ]
          Attachment Case13492Example.zip [ 20585 ]
          Arran Mccullough made changes -
          Description A commandLink is being rendered in an iterative container (ui:repeat, ace:dataTable, etc). On click of this link the action method receives the var object and updates the page based off of this click.

          Using ICEfaces 3 with Mojarra 2.1.29-01, upon each click the action method is called twice (except for the first click). It is called once for the last clicking link and again for the current one (when clicking down the list). When clicking up the list, the current link action is called then the last one, this causes the data on the page to be shown incorrectly.

          I have created a plain JSF test case using the same code and jar file but this doesn't show the same behavior.
          A commandLink is being rendered in an iterative container (ui:repeat, ace:dataTable, etc). On click of this link the action method receives the var object and updates the page based off of this click.

          Using ICEfaces 3 with Mojarra 2.1.29-01, upon each click the action method is called twice (except for the first click). It is called once for the current clicking link and again for the last one (when clicking down the list). When clicking up the list, this causes the data on the page to be shown incorrectly, the last link method is always called.

          I have created a plain JSF test case using the same code and jar file but this doesn't show the same behavior.
          Arran Mccullough made changes -
          Assignee Arran Mccullough [ arran.mccullough ]
          Arran Mccullough made changes -
          Assignee Arran Mccullough [ arran.mccullough ] Arturo Zambrano [ artzambrano ]
          Ken Fyten made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]
          Ken Fyten made changes -
          Resolution Won't Fix [ 2 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
          Assignee Priority P2 [ 10011 ]
          Ken Fyten made changes -
          Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-10782 [ ICE-10782 ]
          Ken Fyten made changes -
          Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: