semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Cannot delete a template

Open lbouriez opened this issue 1 year ago • 4 comments

Hello, I am trying to delete a template (...project/1/templates/32) I get a popup saying: image And the link in the popup is the same as the template I am trying to delete. Does anyone has an idea how to remove it ?

lbouriez avatar Jan 29 '24 22:01 lbouriez

Hm, looks like a bug

fiftin avatar Jan 30 '24 11:01 fiftin

I reproduced your issue:

  • make Build task template
  • convert the task to Deploy and select the task as build template
  • save template
  • convert template to simple task
  • try to delete

How you can fix issue right know:

  • edit template
  • change template to Deploy and select other Build template
  • delete template

fiftin avatar Jan 30 '24 12:01 fiftin

did you have set a cron?

if yes, remove the content of the Cron field,save, then delete the template.

EHEX-schildt avatar Jan 30 '24 12:01 EHEX-schildt

So in my case the issue was due to the cron, thanks @EHEX-schildt . Once the cron removed I was able to remove the templates. Maybe the error message should be improved here to avoid futur confusion :)

lbouriez avatar Jan 30 '24 13:01 lbouriez

Fixed

fiftin avatar Apr 02 '24 17:04 fiftin