Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1397

edit-block query does not contain a where clause

    XMLWordPrintable

Details

    • Core: F - Sprint 78, Core: F - Sprint 79
    • 3
    • Prokopovych

    Description

      The block-edit page does not correctly select the clicked block; rather, it retrieves all blocks (the query in the network inspector is simply .../manualblocks; there is no ?query clause whatsoever.

      Steps to reproduce

      1. create a block for any user. Enter "AAA" in the "Block description"
      2. create a second block for the same user. Enter "BBB" in the "Block description"
      3. click the "BBB" row to edit it

      Expected outcome

      1. edit-block pane contains the "BBB" details
      2. You should be able to close the edit pane with the X in the upper left

      Actual outcome

      1. edit-block pane contains the "AAA" details OR details that pertain to neither (maybe it's showing the patron block from a totally different user?)
      2. You can't close the edit pane with the X in the upper left

      Alternative repro steps

      1. create a block for user-a with "AAA" in the description
      2. create a block for user-b with "BBB" in the description
      3. edit block for user-b; it will contain "AAA"

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mpk35 Michal Kuklis
                enettifee Erin Nettifee
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases