Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6329 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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.

Post Terkait Replies Tampilan Aktivitas
2
Mei 25
2420
2
Jul 24
1568
1
Jul 23
2291
0
Mei 23
2176
3
Mar 25
23327