Regions: a scheduled publish of a region fails when its live code changed after scheduling

Abierto
#735 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php, postgresql
Área
backend

Línea de trabajo

Start with SchedulePublication and PublishRevision, where the code-change comparison against the live revision happens, then trace how a thrown exception in the scheduled job is retried or reported. Add a test that schedules a publish, changes live code, runs the job, and asserts the failure is surfaced to the user. Done when the failure produces a visible notice and the test passes.

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

Descripción

area/site type/bug when/later

SchedulePublication compares code changes with the live revision when the publish is scheduled. If the live code changes before the time comes, PublishRevision sees a code change when the job runs, which needs the site-code permission and a password the job can't give, and it throws. It fails closed; check how the scheduler reports it (retries, notices) and say so to the person, with a test.

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
1 h 40 min
PR fusionados (30 d)
143

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 temecms/teme

Todos los issues de temecms/teme

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.