Bug 38245 - Using Update and run SQL removes the ability to Edit a report
Summary: Using Update and run SQL removes the ability to Edit a report
Status: RESOLVED DUPLICATE of bug 37763
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-23 16:56 UTC by Carl
Modified: 2024-10-24 19:15 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Screenshot showing that the Edit option is missing (58.54 KB, image/png)
2024-10-23 16:56 UTC, Carl
Details
Screenshot showing editing report before using Update and run SQL (92.68 KB, image/png)
2024-10-24 13:18 UTC, Carl
Details
Full screenshot showing edit option missing (238.22 KB, image/png)
2024-10-24 13:20 UTC, Carl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl 2024-10-23 16:56:06 UTC
Created attachment 173229 [details]
Screenshot showing that the Edit option is missing

When the "Update and run SQL" button is used, the ability to edit a report disappears.  Under "Edit" only Duplicate and Delete remain as options.
Comment 1 Phil Ringnalda 2024-10-24 02:38:45 UTC
Is this in 24.05 before 24.05.04, or after  with bug 37763? What I see in 24.05.04 and in main is that if you have the editor open like you do in your screenshot, the menu doesn't have an option to Edit because you already are editing.
Comment 2 David Cook 2024-10-24 02:45:52 UTC
Yeah, not enough information provided on this one. 

Please provide a screenshot that shows more of the screen (especially the URL).

Please provide steps to reliably reproduce it. 

At a glance, it looks like you're just on the edit screen and that "Update and run SQL" hasn't been used
Comment 3 Anneli Österman 2024-10-24 09:39:51 UTC
Is this the same as https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37763?
Comment 4 Carl 2024-10-24 13:18:44 UTC
Created attachment 173266 [details]
Screenshot showing editing report before using Update and run SQL
Comment 5 Carl 2024-10-24 13:20:10 UTC
Created attachment 173267 [details]
Full screenshot showing edit option missing
Comment 6 Carl 2024-10-24 13:23:18 UTC
Sorry, I didn't provide enough info previously.  I looked up the more specific Koha version: 24.05.02.000.  This issue may be related to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37763 but seems different.  The bug I'm reporting prevents the user from continuing to revise/edit their report since the Edit option is no longer visible.
Comment 7 Phil Ringnalda 2024-10-24 17:34:01 UTC
Less a matter of preventing you from editing and more a matter of requiring an annoying step: if in the state you are in when you took that last screenshot you go out to page 5 of the results, you should find an edit form at the bottom of the page.

Once you update to 25.05.04, bug 37763 will have removed that edit form, so the template won't think that you are already editing, and won't remove the Edit option from the menu.
Comment 8 Carl 2024-10-24 18:58:04 UTC
Thanks for letting me know that it's fixed in 25.05.04.  It's also good to know a workaround until I upgrade.
Comment 9 Phil Ringnalda 2024-10-24 19:15:41 UTC

*** This bug has been marked as a duplicate of bug 37763 ***