engine icon indicating copy to clipboard operation
engine copied to clipboard

The Git repository crashes when loading snapshots from deleted services

Open Ndpnt opened this issue 2 years ago • 1 comments

When using the demo-declarations as a template to create a new collection, an automated GitHub Action removes the declarations. If a declaration is then created for a service that was deleted during this process, the Git repository attempts to load snapshots from the deleted service. This leads to a critical error and the engine crashes:

2023-12-13 13:00:54 �[31merror�[39m Error: fatal: path 'Open Terms Archive/Privacy Policy.html' does not exist in '4292f8bb64c1d99d60e5e5256c3ede7b91f4af10'

This issue currently prevents users from declaring services that were already existent in the demo collection when they use the demo-declarations as template.

Ndpnt avatar Dec 13 '23 16:12 Ndpnt

@Ndpnt this seems to me to be specific to the Demo template case. If so, I believe we should transfer the issue over there. If not, could we clearer about the behaviour of the engine that is generic and the conditions under which the crash might happen independently from this edge case? 🙂

MattiSG avatar Mar 19 '24 08:03 MattiSG