Bug 38069 - Table settings not saving
Summary: Table settings not saving
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low critical
Assignee: Jonathan Druart
QA Contact: Nick Clemens (kidclamp)
URL:
Keywords:
Depends on: 37955
Blocks: 38107
  Show dependency treegraph
 
Reported: 2024-10-03 07:52 UTC by Jonathan Druart
Modified: 2024-11-21 14:16 UTC (History)
4 users (show)

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


Attachments
Bug 38069: (bug 37955 follow-up) Fix edition of table settings (4.76 KB, patch)
2024-10-03 07:55 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 38069: (bug 37955 follow-up) Fix edition of table settings (4.82 KB, patch)
2024-10-03 16:52 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 38069: Fix jump to the correct table (1.24 KB, patch)
2024-11-13 11:46 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 38069: (follow-up) Fix jump to the correct table (1.26 KB, patch)
2024-11-18 12:22 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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