[Bug]: CLI does not validate that sort field is populated in `new-entry`

Abierto
#8 3 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
cli

Línea de trabajo

Start at the CLI’s new-entry command and trace how it receives the collection entry data and uses the sort key. Add validation for a missing sort key before the entry is added; done means the command reports the missing field clearly instead of raising an exception. The issue gives no test file, so first locate the command’s existing tests and run the relevant ones.

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

Descripción

bug Djangonauts
Summary Of Actions

Adding an entry to a collection will cause an exception if the sort key isn’t present. The CLI needs to validate that the sort key is included in the data passed to new-entry.

Operating System

Windows

What Python Version are you using?

Python 3.9

Have you installed Plugins/Themes/Custom Parsers?

No response

What did you enter to get the output that you received?

Output

Lenguaje dominante
Python
Estrellas
4
Forks
8
Merge medio
21 h 34 min
PR fusionados (30 d)
10

Preparar el entorno

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 render-engine/render-engine-cli

Todos los issues de render-engine/render-engine-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.