Uploaded image for project: 'mod-courses'
  1. mod-courses
  2. MODCR-16

PUTting a courselisting with no locationId does not reset locationObject

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P5
    • Resolution: Done
    • None
    • None
    • None

    Description

      When I edit a course and set the location to "(None required)" — which corresponds to an empty value — the courselisting gets PUT with no locationId, which I belive is correct.

      But when fetching that courselisting subsequently, while the locationId is, rightly, absent, the old value of locationObject remains from before the PUT. So it seems when looking at the course as though the location has not been removed, even though it actually has. (You can verify this by going into the Edit page, where the Location dropdown is driven from locationId, ignoring locationObject, of course by watching network traffic.)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                kurt Kurt Nordstrom
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases