v4: no error is thrown when callback is set and it's a file but allowFileResources is not set to true
@jszuminski がすでに取り組んでいます。
2024年10月28日 から。
評価
この issue はまだ評価されていません。
説明
When we set allowCodeExecution to false, we get The 'callback', 'resources' and 'customCode' options have been disabled for this server.
When we set allowCodeExecution to true, we get no error.
But when we set callback to a file, it silently ignores it. No error or warning is provided, that allowFileResources has to be enabled / set to true.
That is not ideal and makes debugging harder.
To reproduce:
highcharts-export-server --allowCodeExecution true --logToFile false --infile "....in.js" --outfile "...out.jpg" --type "jpg" --globalOptions "....globalOptions.json" --callback "some-invalid-path.js" --width 600 throws no error.
highcharts-export-server --allowCodeExecution true --logToFile false --infile "....in.js" --outfile "...out.jpg" --type "jpg" --globalOptions "....globalOptions.js" --callback "some-invalid-path.js" --allowFileResources true --width 600 throws error no such file or directory, open 'some-invalid-path.json'
- 主要言語
- JavaScript
- スター
- 368
- フォーク
- 265
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
highcharts/node-export-server のほかの issue
-
Update Puppeteer to version 25.11.0+ to allow ARM64 linux images to run node-export-server対応中かも @daniatic が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
highcharts/node-export-server#686 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
highcharts/node-export-server#680 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
highcharts/node-export-server#679 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
highcharts/node-export-server#678 ·
-
Not working on s390xオープン
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
highcharts/node-export-server#676 ·
highcharts/node-export-server の issue をすべて見る
似ている issue
-
component:sight
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agentic-os-org/ANOLISA#6738 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
mastra-ai/mastra#26470 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feature/cohorts feature/feature-flags team/feature-flags
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Orbit-xyz/orbit-docs#11 ·
-
area/build area/tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信