box / box/developer.box.com

ContentUploader provided with ContentExplorer does not call requestInterceptor option

オープン
#241 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
35
フォーク
93
PR マージ指標
30日以内にマージされた PR はありません

説明

This screen shot shows the get request form the explorer view transforming the url to the needed proxy. When utilizing the requestInterceptor option.
![image](https://user-images.githubusercontent.com/48130563/125253829-7f4b1980-e302-11eb-846f-8b1fb8d516c5.png)

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](https://user-images.githubusercontent.com/48130563/125254225-ef599f80-e302-11eb-8f03-a97f8b6ebae9.png)

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"
}`

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、requestInterceptor オプションを使用して、Angular アプリケーションで ContentUploader と ContentExplorer のリクエストを再現します。uploader のリクエストと explorer のリクエストを比較し、uploader が interceptor を呼び出して変換された URL をプロキシ経由で送信することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, javascript
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。