Remove the CLASSCHOOSER selector from DESIGN

Aperta
#2,013 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
214
Fork
46
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lsfusion/platform

Tutte le issue di lsfusion/platform

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.