BEMADEV/Room-Management

Copying a Registration then changing Registration Type clears Location Attributes

Opened this issue · 0 comments

Please go through all the tasks below

  • Check this box only after you have successfully completed both the above tasks

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

Changing a registration type rebuilds the entire Additional Info section, clearing set attributes. This is problematic when a user wants to copy a reservation into a new reservation type, keeping everything else the same, such as Location attributes (e.g. "Setup Instructions")

Expected Behavior

Changing Reservation Type should rebuild UI for Attributes relevant to the Reservation Type, but nothing else.

Actual Behavior

Changing Reservation Type rebuilds UI portions for Attributes relevant to Reservation Type, Locations, and Resources.

Steps to Reproduce

  • Go to a saved Reservation with Attributes set on a selected Location
  • Click Copy
  • See set attributes, then change Reservation Type
  • See cleared attributes for the selected Location

Rock Version

15.5

Plugin Version

2.4.7.14

Client Culture Setting

en-US