Project

General

Profile

Bug #99872

Updated by Sybille Peters about 1 year ago

When deleting redirects which are attached to a deleted page, these redirects are displayed in the redirects module and the buttons exist to delete them. But when trying to delete them, an error occurs. 

 Noticed this after updating to latest 11.5.23, not before. It might have occurred earlier, but I often delete redirects and also from time to time via the BE module (whenever there are conflicts). 

 h2. Problem description 

 1. Go to redirects BE module. 
 2. click on an existing redirect in order to delete it 

 Result: 

 error message: 

 > Record with uid 94598 from table pages not found 
 > Edit form could not be loaded 
 > The edit form could not be loaded for the requested records. This might be due to insufficient permissions. 

 I work as admin user so it cannot be a permission problem. 

 h2. Versions 

 * 11.5.23 
 * not tested yet with v12 

 h2. DB queries 

 <pre> 
 select uid,pid,source_path,deleted,disabled,target from sys_redirect where source_path like '/en/neuromodulation/events-details/kick-off-meeting-march-2023%'; 
 +-------+-------+-------------------------------------------------------------------------------+---------+----------+---------------------------------+ 
 | uid     | pid     | source_path                                                                     | deleted | disabled | target                            | 
 +-------+-------+-------------------------------------------------------------------------------+---------+----------+---------------------------------+ 
 | 15008 | 94598 | /en/neuromodulation/events-details/kick-off-meeting-march-2023                  |         0 |          0 | t3://page?uid=94597&_language=1 | 
 | 15009 | 94597 | /en/neuromodulation/events-details/kick-off-meeting-march-2023/registration     |         0 |          0 | t3://page?uid=94818&_language=1 | 

 </pre> 
 <pre> 
 select uid,pid,slug,hidden,deleted from pages where uid=94598; 
 +-------+-------+------------------------------------------------------------+--------+---------+ 
 | uid     | pid     | slug                                                         | hidden | deleted | 
 +-------+-------+------------------------------------------------------------+--------+---------+ 
 | 94598 | 94594 | /neuromodulation/events-details/workshop-neglect-july-2023 |        1 |         1 | 
 +-------+-------+------------------------------------------------------------+--------+---------+ 

 </pre> 

Back