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

ListSubModel doesn't support selection from model in chosenbox

    XMLWordPrintable

    Details

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

      Description

      When setting selection on the model, on a chosenbox using a ListSubModel, the page breaks and throw Uncaught TypeError: Cannot read property 'id' of null in javascript console. (page goes to Error code 3: ZK error, after mounting after a while)

      See attached example:
      If selection is set before binding the model to the chosenbox, the error are thrown and page breaks.
      uncomment the addToSelection line to reproduce

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              MDuchemin MDuchemin
              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 - 30 minutes
                  30m