ContentUploader provided with ContentExplorer does not call requestInterceptor option

Open
#241 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, javascript
Domain
frontend

Research direction

Start by reproducing the ContentUploader and ContentExplorer requests in the Angular application using the requestInterceptor option. Compare the uploader request with the explorer request and verify that the uploader invokes the interceptor and sends the transformed URL through the proxy.

Written by the indexing model from the issue text.

Description

This screen shot shows the get request form the explorer view transforming the url to the needed proxy. When utilizing the requestInterceptor option.
image

But when utilizing the uploader. The requestInterceptor does not seem to get called. The url remains the "api.box.com", and the proxy server never receives the request.
image

Angular Application utilizing the cdn url import for the content-explorer
"dependencies": { "@angular/animations": "~12.0.5", "@angular/cdk": "^12.0.5", "@angular/common": "~12.0.5", "@angular/compiler": "~12.0.5", "@angular/core": "~12.0.5", "@angular/fire": "^6.1.5", "@angular/flex-layout": "^12.0.0-beta.34", "@angular/forms": "~12.0.5", "@angular/material": "^12.0.5", "@angular/platform-browser": "~12.0.5", "@angular/platform-browser-dynamic": "~12.0.5", "@angular/router": "~12.0.5", "@ng-web-apis/common": "^1.9.0", "@ng-web-apis/geolocation": "^1.0.4", "@ngxs-labs/firestore-plugin": "^0.1.30", "@ngxs/form-plugin": "^3.7.2", "@ngxs/router-plugin": "^3.7.2", "@ngxs/storage-plugin": "^3.7.2", "@ngxs/store": "^3.7.2", "@sentry/angular": "^6.7.2", "@sentry/tracing": "^6.7.2", "@turf/bbox": "^6.4.0", "firebase": "^8.6.8", "immer": "^9.0.3", "lodash": "^4.17.21", "moment": "^2.29.1", "ngx-sub-form": "^5.1.2", "rxfire": "^4.0.0", "rxjs": "~7.1.0", "tslib": "^2.3.0", "txml": "^4.0.1", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "^12.0.5", "@angular/cli": "~12.0.5", "@angular/compiler-cli": "~12.0.5", "@angular/language-service": "^12.0.5", "@ngxs/devtools-plugin": "^3.7.2", "@ngxs/logger-plugin": "^3.7.2", "@semantic-release/changelog": "^5.0.1", "@semantic-release/git": "^9.0.0", "@turf/turf": "^6.4.0", "@types/google-apps-script": "^1.0.34", "@types/jasmine": "~3.7.7", "@types/jasminewd2": "~2.0.9", "@types/lodash": "^4.14.170", "@types/node": "^15.12.4", "codelyzer": "^6.0.2", "firebase-tools": "^9.14.0", "fuzzy": "^0.1.3", "inquirer": "^8.1.1", "inquirer-autocomplete-prompt": "^1.4.0", "jasmine-core": "~3.7.1", "jasmine-spec-reporter": "~7.0.0", "karma": "~6.3.4", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.3", "karma-jasmine": "~4.0.1", "karma-jasmine-html-reporter": "^1.6.0", "open": "^8.2.1", "protractor": "~7.0.0", "ts-node": "~10.0.0", "tslint": "~6.1.3", "typescript": "~4.2.4" }

Dominant language
JavaScript
Stars
35
Forks
93
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from box/developer.box.com

All issues in box/developer.box.com

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.