CRITFC / Helpdesk

Parent repository for tribal CDMS documentation and issues
1 stars 0 forks source link

Error: savemasterfield #46

Closed tylerstright closed 3 years ago

tylerstright commented 3 years ago

NOTE: This appears to be associated with savemasterfield in the datastore controller. Several behaviors described below, each pointing to the same place.

In an existing datastore, I went to change a field from a 'text' ControlType to a 'select'. This datastore is assigned to 4 datasets. The UI throws an error, but refreshing the page or looking in SSMS confirms the change DID take place. This happens when changing select to text as well.

image

The error that shows is: image

The only meaningful info I noticed in devtools was: ↵ at services.Resources.DatabaseTableHelper.regenerateViews(Datastore in_datastore) in C:\cdms-dev\cdms-be-public\services\Resources\DatabaseTableHelper.cs:line 272 ↵ at services.Controllers.DatastoreController.SaveMasterField(JObject jsonData) in C:\cdms-dev\cdms-be-public\services\Controllers\DatastoreController.cs:line 249

MORE INFORMATION:

I am receiving this same behavior (same error and devtools output) when simply trying to create a new field (both header and detail) in a dataset

image image