Menu

Deleting Ticket doesn't remove notifications objects

2023-07-07
2023-09-08
  • Rafael AINCIART

    Rafael AINCIART - 2023-07-07

    Hi!

    I've noticed a rather annoying issue on my iTop instance.
    When I delete tickets via the console, the linked notifications are not removed in the database.
    I saw this because I had to delete test tickets before the production run. Now I have old notifications linked to new tickets.
    I can remove this older notifications but I think it would be better that they disapear with the tickets.
    Is it a bug in my instance or the current way of working of iTop ?

    Thanks for your feedback.

    Rafael.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-07-07

    Interesting question. It seems the event notification itself actually only includes an object ID, but not the object class.

    So it would require an additional "delete" action. By default, iTop only deletes more directly related objects (in the datamodel it's usually an AttributeExternalKey in this case; or some form of linked class).

     
    • Rafael AINCIART

      Rafael AINCIART - 2023-07-07

      Hi Jeffrey!
      Ok, good to know that. I think I will add a trigger on my DB (or add a dedicated function on the OnDelete event) in order to do that.
      Thanks for your feedback :)
      Rafael.

       
  • Pierre Goiffon

    Pierre Goiffon - 2023-09-08

    Hello,
    Thanks for the feedback.
    I've created a feature request, we'll see if it's accepted (ref N°6722)

     
    • Rafael AINCIART

      Rafael AINCIART - 2023-09-08

      Nice :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.