Remove the CLASSCHOOSER selector from DESIGN

オープン
#2,013 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java

調査の方向性

Start by searching the repository for CLASSCHOOSER and for the sibling selectors TOOLBARSYSTEM, FILTERGROUPS and GRID: the grammar declaration and the IDE completion list are the two places the issue points at. Remove CLASSCHOOSER from both, then check how the parser reports a selector it no longer accepts so CLASSCHOOSER(s) is flagged at its own position instead of surfacing as a missing component at startup. Done means the selector no longer parses, completion stops offering it, and existing language/parser tests still pass.

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

説明

Description

The DESIGN statement still accepts the CLASSCHOOSER selector of an object group, next to TOOLBARSYSTEM, FILTERGROUPS, GRID and the others:

FORM stores
    OBJECTS s = Store
;

DESIGN stores {
    MOVE CLASSCHOOSER(s);
}

The class chooser component was removed in 5.0, so nothing answers to this selector any more: the statement parses, and the server then fails to start with

component 'CLASSCHOOSER(s)' is not found
Reason

The selector cannot be used in any version since 5.0, yet the grammar and the IDE's completion still offer it, which suggests a component that does not exist.

Fix

CLASSCHOOSER is no longer a keyword of the DESIGN selectors, neither in the platform nor in the IDE plugin: completion stops offering it, and a remaining CLASSCHOOSER(s) is reported where it is written, instead of as a missing component at the start.

主要言語
Java
スター
214
フォーク
46
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lsfusion/platform のほかの issue

lsfusion/platform の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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