Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
6540 Vistas

I'm trying to delete one stage on project.task, but i'm getting that erro:

The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Task (project.task), Constraint: project_task_stage_id_fkey


Avatar
Descartar
Mejor respuesta

Hi Rafael,

This is because every project task requires a stage. You're trying to delete a stage that a task is currently in, which would leave it empty. 

To fix it, you will need to search your tasks and move any that are in the stage you are deleting.

Cheers,

Jake Robinson

Avatar
Descartar
Autor

Jake, the stage that i'm trying to delete haven't any task associate it...

Es posible que la tarea esté archivada, agrega el filtro "archive" y Elimina las tareas o cambia la etapa.

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
2537
2
may 25
2699
2
jul 24
1778
0
may 23
2306
3
mar 25
23957