Unsupported Excel export types return HTTP 500
メンテナーはふだん 8 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
app/controllers/admin_routes/excelDownload.pyから始め、エンドポイントがエクスポートの種類をどのように選択し、completePathを/excel/conflicts/202112に対してどのように設定するかを追ってください。Cross-listedとSpecial Topicsのダウンロードについて、既存のルートまたはテストを確認してください。非対応の種類が制御された4xxレスポンスを返し、既存の学期について両方の対応済みダウンロードが引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
The secondary Excel export endpoint used by Cross-listed Courses throws a server error for an unsupported export type. This is reproducible with a mistyped or stale export URL.
Steps to Reproduce
- In a local CAS development instance, request
/excel/crossListed/202112as an administrator. - Request
/excel/conflicts/202112directly.
Expected Behavior
Supported types download a workbook. Unsupported types receive a clear 400 or 404 response.
Actual Behavior
The cross-listed export returns 200 and the XLSX content type. The unsupported type returns 500 with UnboundLocalError for completePath. Reproduced locally on 7697416.
Acceptance Criteria
- Unsupported types return a controlled 4xx response.
- Cross-listed and Special Topics Excel downloads still succeed for an existing term.
Affected file: app/controllers/admin_routes/excelDownload.py.
<img width="990" height="636" alt="image" src="https://github.com/user-
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 4
- 平均マージ
- 6日 6分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
BCStudentSoftwareDevTeam/cas のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#491 ·
メンテナーはふだん 8 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#487 ·
メンテナーはふだん 8 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
BCStudentSoftwareDevTeam/cas#486 ·
メンテナーはふだん 8 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
BCStudentSoftwareDevTeam/cas#485 ·
メンテナーはふだん 8 日以内に返信
-
Special topics rows on the Courses page have misaligned columns対応中かも @zapataa0 が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#481 · 担当者 1 名 ·
メンテナーはふだん 8 日以内に返信
BCStudentSoftwareDevTeam/cas の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
yetone/alma-releases#782 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Pomax/markdown-editor#193 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cboard-org/cboard#2449 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
BinaryBaconLabs/todo-app#50 ·
メンテナーはふだん 1 日以内に返信
-
bug server testing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
blamechris/chroxy#9435 ·
メンテナーはふだん 1 日以内に返信