Esri / Esri/filter-gallery

it didn't run after initial set up

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

So I set it up using files under dist folder but am getting the following error:
hostReportError.ts:8 Uncaught TypeError: Cannot read property 'trim' of undefined
at Object.w [as normalize] (dojo.js:471)
at Object.h._sanitizeUrl (IdentityManager.js:197)
at Object.h.findOAuthInfo (IdentityManager.js:181)
at IdentityManager.js:178
at Array.filter ()
at Object.h.registerOAuthInfos (IdentityManager.js:178)
at Object.t._registerOauthInfos (ApplicationBase.js:465)
at Object.t.load (ApplicationBase.js:146)
at e.project (portal.ts:13)
at e._next (switchMap.ts:104)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the initial setup using the files under dist and inspect the stack from portal.ts through ApplicationBase.js and IdentityManager.js. Check the failing OAuth registration path and the _sanitizeUrl call in IdentityManager.js. Done means the configured app loads after setup without the reported trim-of-undefined error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.