DPL-1056 Unable to create buildings in LabWhere [Could've]
neilsycamore opened this issue · comments
When creating a building in LabWhere create location tab the page is loading very slow, once it does load it doesn't create the building. It will return to the same page
Relates to RT795753
Also relates to story DPL-758 #649
where the same issue was found when creating rooms
Note: The building require in the RT (RSF) has been created via the console.
The change in #744 removes the restriction from the task but will still be active because of how the task for generating the restrictions is designed. It will need to be removed manually in the rails console:
Find the restriction and check it's the correct one:
>>> restriction = Restriction.find_by(validator: "ActiveRecord::Validations::UniquenessValidator")
>>> restriction # ensure the correct restriction has been selected
Then delete the restriction:
>>> restriction.destroy!