Skip to content

Fix constant console errors #7893

@grantfitzsimmons

Description

@grantfitzsimmons

Describe the bug

Image

When visiting a new Collection Object form on our demo database, there are several console errors:

Error with Permissions-Policy header: Unrecognized feature: 'browsing-topics'.
interceptLogs.ts:133 Specify App Starting
interceptLogs.ts:133 Documentation for Developers: https://github.com/specify/specify7/wiki/Docker-Workflow-for-Development
index.ts:134  GET https://sp7demofish.specifycloud.org/static/config/common/leaflet-layers.json 404 (Not Found)
c @ index.ts:134
(anonymous) @ layers.ts:199
Promise.then
(anonymous) @ layers.ts:197
Promise.then
56632 @ layers.ts:191
i @ bootstrap:19
58889 @ 6774.a1921d8f5f0986254052.bundle.js:1
i @ bootstrap:19
83826 @ 6774.a1921d8f5f0986254052.bundle.js:1
i @ bootstrap:19
39917 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
16604 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
26485 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
70183 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
88971 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
62936 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
48767 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
49909 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
51827 @ 785.e015b8bfc2d977aacb97.bundle.js:1
i @ bootstrap:19
19712 @ 785.e015b8bfc2d977aacb97.bundle.js:1
i @ bootstrap:19
18437 @ 8437.eddc821ef57a38e8f127.bundle.js:1
i @ bootstrap:19
Promise.then
element @ EntrypointRouter.tsx:51
(anonymous) @ ReactLazy.tsx:18
T @ react.production.min.js:18
El @ react-dom.production.min.js:291
yu @ react-dom.production.min.js:280
bu @ react-dom.production.min.js:280
Au @ react-dom.production.min.js:280
ou @ react-dom.production.min.js:268
k @ scheduler.production.min.js:13
M @ scheduler.production.min.js:14
installHook.js:1 {type: 'invalidResponseCode', statusText: Array(3), responseText: '<html>\r\n<head><title>404 Not Found</title></head>\r…disable MSIE and Chrome friendly error page -->\r\n'}
overrideMethod @ installHook.js:1
a.forEach.console.<computed> @ interceptLogs.ts:133
s @ response.ts:85
(anonymous) @ index.ts:164
Promise.then
c @ index.ts:161
(anonymous) @ layers.ts:199
Promise.then
(anonymous) @ layers.ts:197
Promise.then
56632 @ layers.ts:191
i @ bootstrap:19
58889 @ 6774.a1921d8f5f0986254052.bundle.js:1
i @ bootstrap:19
83826 @ 6774.a1921d8f5f0986254052.bundle.js:1
i @ bootstrap:19
39917 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
16604 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
26485 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
70183 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
88971 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
62936 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
48767 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
49909 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
51827 @ 785.e015b8bfc2d977aacb97.bundle.js:1
i @ bootstrap:19
19712 @ 785.e015b8bfc2d977aacb97.bundle.js:1
i @ bootstrap:19
18437 @ 8437.eddc821ef57a38e8f127.bundle.js:1
i @ bootstrap:19
Promise.then
element @ EntrypointRouter.tsx:51
(anonymous) @ ReactLazy.tsx:18
T @ react.production.min.js:18
El @ react-dom.production.min.js:291
yu @ react-dom.production.min.js:280
bu @ react-dom.production.min.js:280
Au @ react-dom.production.min.js:280
ou @ react-dom.production.min.js:268
k @ scheduler.production.min.js:13
M @ scheduler.production.min.js:14
installHook.js:1 Error: Error occurred fetching from https://sp7demofish.specifycloud.org/static/config/common/leaflet-layers.json
Invalid response code 404.

    This error happened because you tried to access a resource that has been
    deleted or moved to a different location.
  
Response:
    at S (FormatError.tsx:203:20)
    at s (response.ts:86:5)
    at index.ts:164:16
overrideMethod @ installHook.js:1
(anonymous) @ layers.ts:209
Promise.catch
(anonymous) @ layers.ts:208
Promise.then
56632 @ layers.ts:191
i @ bootstrap:19
58889 @ 6774.a1921d8f5f0986254052.bundle.js:1
i @ bootstrap:19
83826 @ 6774.a1921d8f5f0986254052.bundle.js:1
i @ bootstrap:19
39917 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
16604 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
26485 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
70183 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
88971 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
62936 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
48767 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
49909 @ 8971.c48dcb1cdb813cd47274.bundle.js:1
i @ bootstrap:19
51827 @ 785.e015b8bfc2d977aacb97.bundle.js:1
i @ bootstrap:19
19712 @ 785.e015b8bfc2d977aacb97.bundle.js:1
i @ bootstrap:19
18437 @ 8437.eddc821ef57a38e8f127.bundle.js:1
i @ bootstrap:19
Promise.then
element @ EntrypointRouter.tsx:51
(anonymous) @ ReactLazy.tsx:18
T @ react.production.min.js:18
El @ react-dom.production.min.js:291
yu @ react-dom.production.min.js:280
bu @ react-dom.production.min.js:280
Au @ react-dom.production.min.js:280
ou @ react-dom.production.min.js:268
k @ scheduler.production.min.js:13
M @ scheduler.production.min.js:14

To Reproduce
Steps to reproduce the behavior:

  1. Visit https://sp7demofish.specifycloud.org/specify/view/collectionobject/new/
  2. Open Developer Tools
  3. Go to 'Console
  4. See errors

System Information
v7.12.0-prerelease

Arc: 146.0.7680.165 (Official Build) (arm64)
OS: macOS Version 26.3 (Build 25D125)

Metadata

Metadata

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