There is 1 update, 1 comment.
 
 
Book Versions / cid:jira-generated-image-avatar-42ad249d-e6a2-4da3-809a-67301400229a BVERSION-18 Open

Add listener to handle inheritance collisions on version delete

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-31a3d79b-3519-4891-9116-972f986c26b0 Changes by Anca Luca on 06/Dec/24 17:39
 
Description: A listener needs to be created on version delete to update the "Preceding version reference" that depended on the deleted version.

Note: If versions are missing, you can end up with 'too many redirects errors' but there is also data inconsistency, and this is why we
may need to fix this.
 
 

1 comment

 
cid:jira-generated-image-avatar-31a3d79b-3519-4891-9116-972f986c26b0 Anca Luca on 06/Dec/24 17:42
 

So, indeed it would be nice to handle the deletion of versions by doing the re-wiring automatically. However as a workaround, the rewiring can also be done manually, by the user deleting the version. This is not a huge load, as deleting versions should be rare.

In the mean time, the handling of the situation of a missing version for a page and the potential redirect loops is the same one as for BVERSION-20 (more specifically, BVERSION-20 is a particular case of missing version). So, we need to make sure that the handling added for BVERSION-20 is also handling the case of a version page that cannot be found because inheritance has been "broken".