Bug 38069

Summary: Table settings not saving
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: System AdministrationAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED FIXED QA Contact: Nick Clemens (kidclamp) <nick>
Severity: critical    
Priority: P5 - low CC: gmcharlt, lucas, martin.renvoize, nick
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.11.00
Circulation function:
Bug Depends on: 37955    
Bug Blocks: 38107    
Attachments: Bug 38069: (bug 37955 follow-up) Fix edition of table settings
Bug 38069: (bug 37955 follow-up) Fix edition of table settings
Bug 38069: Fix jump to the correct table
Bug 38069: (follow-up) Fix jump to the correct table

Description Jonathan Druart 2024-10-03 07:52:47 UTC
If you save the form nothing is saved (and all silent)
Comment 1 Jonathan Druart 2024-10-03 07:55:22 UTC
Created attachment 172335 [details] [review]
Bug 38069: (bug 37955 follow-up) Fix edition of table settings

The form cannot longer be saved, and no appear appear (nothing in log,
nothing on the UI)

This is coming from bug 37955 where we modify the table_id to fix
anchors, but we didn't care of the rest of the code using this TT
variable.

This patch suggests to replace # and _ with |

Test plan:
Confirm that the form can be edited, saved, and that it is taken
correctly into account.
Comment 2 Nick Clemens (kidclamp) 2024-10-03 16:52:33 UTC
Created attachment 172364 [details] [review]
Bug 38069: (bug 37955 follow-up) Fix edition of table settings

The form cannot longer be saved, and no appear appear (nothing in log,
nothing on the UI)

This is coming from bug 37955 where we modify the table_id to fix
anchors, but we didn't care of the rest of the code using this TT
variable.

This patch suggests to replace # and _ with |

Test plan:
Confirm that the form can be edited, saved, and that it is taken
correctly into account.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 3 Nick Clemens (kidclamp) 2024-10-03 16:52:48 UTC
Trivial, PQA
Comment 4 Katrin Fischer 2024-10-11 09:15:54 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 5 Jonathan Druart 2024-11-13 11:46:54 UTC
Created attachment 174462 [details] [review]
Bug 38069: Fix jump to the correct table
Comment 6 Katrin Fischer 2024-11-13 15:52:18 UTC
Picked follow-up "Fix jump to correct table" for main.
Comment 7 Jonathan Druart 2024-11-18 12:22:45 UTC
Created attachment 174681 [details] [review]
Bug 38069: (follow-up) Fix jump to the correct table
Comment 8 Jonathan Druart 2024-11-18 12:23:22 UTC
(In reply to Jonathan Druart from comment #7)
> Created attachment 174681 [details] [review] [review]
> Bug 38069: (follow-up) Fix jump to the correct table

Fixes JS error "Uncaught Error: Syntax error, unrecognized expression: #detail|holdings_table"
Comment 9 Katrin Fischer 2024-11-18 15:09:51 UTC
Picked the last patch "(follow-up) Fix jump to correct table" for main.
Comment 10 Lucas Gass (lukeg) 2024-11-18 22:51:51 UTC
Not needed in 24.05.x