mcneilco / acas

http://mcneilco.com/acas.html
GNU General Public License v3.0
12 stars 5 forks source link

Endpoint manager breaks creating new protocols #1100

Closed hhan-schrodinger closed 1 year ago

hhan-schrodinger commented 1 year ago

Description

When making a new protocol with the Protocol Editor, users were unable to add new endpoints and save the protocol. When users clicked on the "Add Endpoint" button, nothing would happen. This was due to an issue where the @endpointControllers object that is part of adding, removing, and editing endpoint rows was not being initialized for new protocols. To fix, added logic specific for new protocols to initialize this.

How Has This Been Tested?

After making the change, successfully created and saved new protocols with endpoints using the endpoint editor.