How to delete a Report with syntax error in it #12841
-
Hi, As the Report page is not reachable, the report cannot be deleted or corrected. What are the correct actions to do to solve this issue ? Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In some ways scripts handle this better (they don't cause a server error), but worse (they don't show you what line the error was in). See #12766. The problem with reports is, if you move them out of the way:
... then you get a different Server Error exception because it still tries to open the (now non-existent) file:
The only solution I can find is a manual SQL update:
(Dropping the corrected report back into the directory doesn't make it reappear though. AFAICS, you have to re-upload it via the web interface) |
Beta Was this translation helpful? Give feedback.
-
A simpler solution: replace the broken report with a zero-byte file. This avoids having to touch the database.
Then you can delete it from the GUI. Also raised as #12842 |
Beta Was this translation helpful? Give feedback.
A simpler solution: replace the broken report with a zero-byte file. This avoids having to touch the database.
Then you can delete it from the GUI.
Also raised as #12842