Skip to content

Saving a record without a COT set will result in hanging rather than save #7870

@grantfitzsimmons

Description

@grantfitzsimmons

Describe the bug
When a record exists in a database without a 'Collection Object Type' value set (null CollectionObjectTypeID on the collectionobject record), saving it will result in the record not saving, but simply hanging on a 'Loading...' dialog.

In a copy of KU Entomology's database, I could consistently recreated the issue on records that lacked a 'Collection Object Type.' That includes all records entered in Specify 6 instead of 7 since last July. I updated the records with the missing type and tested it again without any issues on March 6th.

This was reported again by Joe Russack at California Academy of Sciences in BoldDesk #746.

Robot says:

This is the root cause. When a CollectionObject has no collectionObjectType assigned:

  1. The business rule throws a TypeError
  2. The error is caught by Promise.allSettled but propagates through the nested chain
  3. The pendingPromise may never properly resolve
  4. Save waits forever on pendingPromise → infinite "Loading..."

This would affect records created by S6 or older records that never had a collectionObjectType set (this field was added in newer S7 versions). Botany's
S6-created records wouldn't have this field populated.

Send this to Grant — it's a null check bug at businessRuleDefs.ts:180. The fix is trivial:

const coType = await resource.rgetPromise('collectionObjectType');
if (coType === null || coType === undefined) return;
const coTypeTreeDef = coType.get('taxonTreeDef’);

His logs are below:

interceptLogs.ts:133 Specify App Starting
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
    at async Promise.allSettled (1639256/index 0)
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
TypeError: Cannot read properties of null (reading 'get')
    at collectionObjectType (businessRuleDefs.ts:180:38)
    at async Promise.all (1639256/index 0)
    at async Promise.all (1639256/index 77)
    at async Promise.allSettled (1639256/index 1)
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133
interceptLogs.ts:133 Setting unknown field componentparent on CollectionObject.
 If this is a virtual field, define it in schemaExtras.ts Object
(anonymous) @ interceptLogs.ts:133

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Collection Object record without a set Collection Object Type
  2. Add a Determination
  3. Save the record
  4. Page should hang

I suspect this happens on databases newer than v7.11.0, but definitely happening on v7.12.0-prerelease and v7.11.4.

Expected behavior
The record should handle the case where a type is not set.

Screenshots

Image

Reported By
KU Entomology and California Academy of Sciences

Additional context
This will happen whenever data is being entered in Specify 6 concurrent with use of newer versions of Specify 7. Those records will not have a type, therefore this behavior will be observable.

Metadata

Metadata

Assignees

Labels

regressionThis is behavior that once worked that has broken. Must be resolved before the next release.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions