Skip to main content
Krystele Uy
Practitioner ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
Aug 31, 2022 6:45 AM UTC
Solved

Bug: Number of files that an asset appears in is not updated when the file is deleted

We are seeing inconsistencies between the number of files that an asset “Appears In” vs to the actual number of files that are in CDF:

In the screenshot, the count is (5) however there are only 3 files. Upon checking further we realized that the count is coming from the number of Cognite Annotation events that were created during contextualization of the P&ID files.

Even if the original file was deleted, the Cognite Annotation events for those file remain.

This causes confusion to the user.

Is it possible to have this fixed? i.e deleting a file would also then delete all Cognite Annotation events that was created for that file? Or if the Cognite Annotation events are to be kept, but the logic in how the number of files an asset appears in is updated so that it reflects the correct number of files that are still in the CDF project?

Expert ⭐️⭐️⭐️⭐️
Aug 31, 2022 8:27 AM UTC

Hi Krystele, 

 

Thanks for reporting this. As you said, this looks like a bug, so I’m going to forward this to our Support team. They will be able to do the needful. If you find any other bugs in the future, feel free to forward them to support@cognite.com. 

 

Have a good day!

 

Carin

1 reply

Expert ⭐️⭐️⭐️⭐️
Aug 31, 2022 8:27 AM UTC

Hi Krystele, 

 

Thanks for reporting this. As you said, this looks like a bug, so I’m going to forward this to our Support team. They will be able to do the needful. If you find any other bugs in the future, feel free to forward them to support@cognite.com. 

 

Have a good day!

 

Carin