Skip to content

Fix Schema Config and View Definition for New SP7 Tables #5098

Description

@acwhite211

For the new Specify 7 only tables added to v7.9.7, we need to add the new fields and tables to the Schema Configurations.

Fix error 'Unable to find SpLocaleConatiner for Role' error when trying to access any of the sp7_only tables in Schema Config.

We also need to add other SP7 only tables that are missing from the Schema config, like spUserRole and spAttachmentDataSet.

Also, we might need to create viewset definitions for the new tables as well. This will avoid the 404 error for http://localhost/context/view.json?name=CollectionObjectGroupJoin.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Schema Config
  2. Open up one of the new tables like CollectionObjectType, CollectionObjectGroupType, CollectionObjectGroup, and CollectionObjectGroupJoin.
  3. See the error.
  4. This also affects the new field collectionobjecttype in the CollectionObject table, and collectionobjecttype in the Collection table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - BugIncorrect behavior of the product2 - Schema ConfigIssues that are related to the Schema Config tool

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions