marshall62 / msadmin

Admin tools for configuring Mathspring
0 stars 0 forks source link

Admin: StrategyComponent admin form fails to save on NEW #1

Closed marshall62 closed 7 years ago

marshall62 commented 7 years ago

Create a new StrategyComponent. Add the 2 fields and select an intervention selector in the SCISMap inline section. Try to save. It will fail.

Workaround. Save with no intervention selector selected. Then reopen and select the IS and save.

This is because an ID does not exist for the SC yet and the SCISMap needs it. It's an ordering problem #

marshall62 commented 7 years ago

fixed. Removed ID field from the strategyComponent object