Remove the CLASSCHOOSER selector from DESIGN

Abierto
#2,013 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Java
Estrellas
214
Forks
46
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lsfusion/platform

Todos los issues de lsfusion/platform

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.