Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2758

unset parameter affects following template invocation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: Databind 2
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      execute the attached example and toggle the error message

      sometimes (~50% of the time) the css class of the first textbox is not updated properly when toggling the error message.

      after refreshing the page it either works or keeps failing

      see http://screencast.com/t/pmK2vXill

      the problem can be worked around in 2 ways, either always set the "error" parameter when invoking the formGroup template, or removing the surrounding <sh:apply>

      1. unset-param-problem.zul
        2 kB
        cor3000
      2. UnsetParamViewModel.java
        0.4 kB
        cor3000

        Activity

        cor3000 cor3000 created issue -
        jumperchen jumperchen made changes -
        Field Original Value New Value
        Assignee jumperchen [ jumperchen ]
        jumperchen jumperchen made changes -
        gh.sprint.customfield.default.name ZK 8.0.0 [ 1 ]
        jumperchen jumperchen made changes -
        gh.lexorank.field.name Ranked lower
        jumperchen jumperchen made changes -
        Summary unset parameter affects following template invokation unset parameter affects following template invocation
        jumperchen jumperchen made changes -
        issue.field.resolutiondate 2015-05-29 05:01:02.0 2015-05-29 05:01:02.319
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 day [ 28800 ]
        Worklog Id 13102 [ 13102 ]
        jumperchen jumperchen made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 8.0.0 [ 12610 ]
        Resolution Fixed [ 1 ]
        jumperchen jumperchen made changes -
        gh.issue.flaggingfield gh.issue.flaggingvalue [ 10100 ]
        jumperchen jumperchen made changes -
        gh.issue.flaggingfield gh.issue.flaggingvalue [ 10100 ]
        jumperchen jumperchen made changes -
        gh.issue.flaggingfield gh.issue.flaggingvalue [ 10100 ]
        rudyhuang rudyhuang made changes -
        Workflow zk [ 20600 ] ZK CodeReview Workflow [ 26639 ]

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            cor3000 cor3000
          • 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 day
              1d

                Agile