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

@ScopeParam with scopes = Scope.AUTO would look up an attribute in Execution scope

    XMLWordPrintable

    Details

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

      Description

      Steps to Reproduce

      1. run the attached zul
      2. check <label value="@load(vm.value)"/>

      Current Result

      renders nothing.

      Expected Result

      should render through @ScopeParam: value in execution, be consistent with EL resolving result.

      Debug Information

      • the EL expression ${exec} can resolve the attribute exec in execution scope.
      • vm.value is from @ScopeParam(scopes = Scope.AUTO, value = "exec")

      Alternative

      use @ExecutionParam

        Attachments

          Activity

            People

            Assignee:
            klyvechen klyvechen
            Reporter:
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Remaining Estimate - 6 hours
                6h
                Logged:
                Time Spent - Not Specified Time Not Required
                Not Specified