Administration shell never reports missing translations: its language-coverage scan fetches gen/<app>/admin/js/config.js, which no generated application has
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
resources-admin/admin/js/appShell.jsを読み、パースペクティブのパスから生成された設定URLまでloadLanguageCoverage()を追います。resources-application/.../application/js/appShell.jsにあるApplication Shellのコピー、およびissueで説明されている生成パスと比較します。スキャンが各Applicationのgen/<app>/js/config.jsを読み込み、bgなどのプラットフォーム言語が不足しているアプリを報告すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Image: dirigiblelabs/dirigible:15.1.0-java (sha256:dac354be94f21f222e88b81fd7fc6e68d9616ee7b4e12bcb1e9eef0465bd213f)
Reference: dirigiblelabs/dirigible:15.1.0 (sha256:449b8c948738a2bd7a4294a7bec1000a08bc1da1cd20f312f0e54383a7af325d)
Basic auth admin:admin, default H2, DIRIGIBLE_APPLICATION_LANGUAGES=en,bg.
Same behaviour on both editions.
Steps
- Generate and publish an intent application whose intent declares only
languages: [en](or none), e.g. projectcustomers. GET /services/platform/extensions/perspectives?extensionPoints=application-admin-perspectives-> its admin perspective,"path":"/services/web/customers/gen/customers/admin/index.html".- Open the administration shell
/services/web/admin/index.html, go to Settings > Region & Language.
Observed
The shell requests GET /services/web/customers/gen/customers/admin/js/config.js -> 404 (once per generated application; the console shows Failed to load resource: the server responded with a status of 404). The generated config lives one level up: GET /services/web/customers/gen/customers/js/config.js -> 200 with its languages: [...].
Every application is therefore treated as a platform surface and dropped from the scan. The shell state after load is appLanguages: [], languageWarnings(): [] with platform languages ["en","bg"] - so an application providing only en is never listed as missing bg. The administration shell's missing-translation warning can never appear.
Expected
loadLanguageCoverage() reads each generated application's gen/<app>/js/config.js and lists the applications whose declared languages do not cover the platform set, as the comment above it describes (the application shell's copy of the same function in resources-application/.../application/js/appShell.js does this, see #8137 for its wording).
Where
resources-admin admin/js/appShell.js, loadLanguageCoverage() (v15.1.0, ~line 189): the base is derived from the perspective path with ^/services/web/([^/]+)/([^#?]*/)?index\.html, and every admin perspective generated by template-application-ui-harmonia-java (ui/admin/admin-perspective.*) points at gen/<app>/admin/index.html, so the base ends in /admin/, where no js/config.js is generated (only ui/shell/js/config.js.template exists).
- 主要言語
- Java
- スター
- 278
- フォーク
- 97
- 平均マージ
- 15時間 42分
- マージ済み PR(30日)
- 299
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-dirigible/dirigible のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-dirigible/dirigible#8291 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eclipse-dirigible/dirigible#8240 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eclipse-dirigible/dirigible#8232 ·
メンテナーはふだん 1 日以内に返信
-
Under a 1 GiB container limit the default image exhausts its 256 MB heap on the first publish, poisons its H2 store and keeps running while answering 401 to every login対応中かも @d-velev が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-dirigible/dirigible#8231 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-dirigible/dirigible#8226 ·
メンテナーはふだん 1 日以内に返信
eclipse-dirigible/dirigible の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
quarkiverse/quarkus-google-cloud-services#1188 ·
メンテナーはふだん 1 日以内に返信
-
Component: Frontend Component: Web Component Type: Maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
it-at-m/refarch-templates#1944 ·
メンテナーはふだん 2 日以内に返信
-
priority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
googleapis/java-genai#1372 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
-
GeoSeries scale and skew tests fail with pytest 9.2.0対応中かも @jiayuasu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信