Open GeoffFroh opened 2 months ago
Downloaded database from server in colo and installed locally. I was able to duplicate the behavior in my dev environment.
Fixed in commit 01e604e.
Problem was a bit of code that, on FarRecord and WraRecord pages, inserted a link to Person in the person field helptext. Added code to not crash if this field is absent. Page now works and namesstage.densho.org has been updated. The Person link also continues to work even though it "shouldn't". ¯_(ツ)_/¯
To facilitate read-only access to the NR database app, a "Read Only" group was created in the admin ui. Users who are part of the "Read Only" group were given view permissions on all of the relevant content types (e.g.,
People
,Irei Records
,WRA Records
,FAR Records
, etc.).Users in the group are able to view list pages for all of the content types as expected; however, attempting to view a
FAR Record
orWRA Record
detail page fails with aKeyError
. (see stacktrace below).Turning on "change" permissions for
FAR Record
andWRA Record
fixes the error, and this behavior does not occur with theIrei Record
content type.