Koha/Koha
Pedro Amorim 4214e5415d
Bug 36249: Fix generic_confirm op
Test plan, k-t-d:

1) Install FreeForm, enable ILL module, run:
bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
2) You'll have to switch the FreeForm branch to the one compatible with this work, i.e.:
cd /kohadevbox/koha/Koha/Illbackends/FreeForm
git checkout b_36243
3) Restart plack:
koha-plack --restart kohadev
4) Start by adding an e-mail address to the patron of category "Inter-library Loan", visit:
<staff_url>/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=16
5) Add an e-mail address to "Primary e-mail"
6) Create a new FreeForm request, visit:
<staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=FreeForm
7) Set 'type' enter '42' in cardnumber and pick a library. Click 'Create'.
8) Click "Place request with partners"
9) Pick a partner library (will be the same patron from step 4)
10) Click "Send email". Notice the CSRF error.
11) Apply patch and restart plack
koha-plack --restart kohadev
12) Repeat 8-10. Notice error no longer shows.
13) Notice the request's status is now 'Requested from partners'

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-07 16:36:35 +01:00
..
Account Bug 35074: Use patron relationship alias 2023-11-01 17:23:11 -03:00
Acquisition
App
ArticleRequest
Auth
Authority
BackgroundJob Bug 35843: Correct invalid exception 2024-01-26 15:13:47 +01:00
Biblio
Cache
Cash
Charges
Checkouts
Club
CodeList/Unimarc
Config
Course
Database Bug 35264: Add "protected" column to patron import 2023-11-06 08:42:50 -03:00
Edifact Bug 30070: EDIFACT and ID are abbreviations 2024-01-17 11:38:59 +01:00
ERM Bug 35418: Fix _get_usage_months 2023-11-29 17:36:11 -03:00
Exceptions Bug 34478: op-cud - Trick CGI directly 2024-03-01 10:56:04 +01:00
Exporter
ExternalContent
Filter/MARC Bug 33749: (QA follow-up) Tidy code for qa script 2023-11-03 12:08:07 -03:00
Hold
Illrequest Bug 34478: ILL OPAC: method => op 2024-03-01 10:57:56 +01:00
Import
Indexer
Item
Library
List
MetadataRecord
Middleware Bug 36148: Fix header name 2024-03-01 11:01:07 +01:00
Misc Bug 16011: $VERSION - Remove use vars qw(); 2016-03-24 17:20:39 +00:00
Notice Bug 30287: (follow-up) Add content wrap matching send time 2023-12-19 13:42:10 +01:00
Number
OAI/Server
Object
Objects
Old
Patron
Patrons Bug 35264: Add "protected" column to patron import 2023-11-06 08:42:50 -03:00
pdfformat
Plugins
Policy
Preservation
RecordProcessor
REST Bug 35963: Fix bundled items table ordering and filtering 2024-03-07 15:02:51 +01:00
Result
Schema Bug 30070: (QA follow-up) Make qa script happy 2024-01-17 11:38:58 +01:00
SearchEngine Bug 35086: Add chunk_size option to elasticsearch configuration 2024-01-16 12:06:00 +01:00
Serial
Sitemapper
SMS
SMTP
Subscription
SuggestionEngine
Tags
Template/Plugin Bug 35955: Cache CSRF token in template plugin 2024-03-01 10:55:52 +01:00
Ticket
UI
Util
XSLT
Z3950Responder
Account.pm
ActionLog.pm
ActionLogs.pm
AdditionalContent.pm
AdditionalContents.pm
AdditionalContentsLocalization.pm
AdditionalContentsLocalizations.pm
AdditionalField.pm
AdditionalFields.pm
AdditionalFieldValue.pm
AdditionalFieldValues.pm
AdvancedEditorMacro.pm
AdvancedEditorMacros.pm
ApiKey.pm
ApiKeys.pm
ArticleRequest.pm
ArticleRequests.pm
AudioAlert.pm
AudioAlerts.pm
AuthorisedValue.pm
AuthorisedValueCategories.pm
AuthorisedValueCategory.pm
AuthorisedValues.pm Bug 35579: Cache authorised value lookup by MARC field 2023-12-28 12:16:09 +01:00
Authorities.pm
Authority.pm
AuthUtils.pm
BackgroundJob.pm Bug 35843: Correct invalid exception 2024-01-26 15:13:47 +01:00
BackgroundJobs.pm
Biblio.pm Bug 29002: Tidy 2023-11-03 12:04:30 -03:00
BiblioFramework.pm
BiblioFrameworks.pm
Biblioitem.pm
Biblioitems.pm
Biblios.pm
BiblioUtils.pm
Booking.pm Bug 29002: Tidy 2023-11-03 12:04:30 -03:00
Bookings.pm Bug 29002: Add bookings objects and API classes 2023-11-03 12:04:07 -03:00
Cache.pm
Caches.pm
Calendar.pm
Checkout.pm
Checkouts.pm
CirculationRule.pm
CirculationRules.pm Bug 8367: Add holds_pickup_period circulation rule 2023-11-01 18:01:30 -03:00
Cities.pm
City.pm
ClassSortRule.pm
ClassSortRules.pm
ClassSource.pm
ClassSources.pm
ClassSplitRule.pm
ClassSplitRules.pm
Club.pm
Clubs.pm
Config.pm
CookieManager.pm
Course.pm
Courses.pm
CoverImage.pm
CoverImages.pm
CsvProfile.pm
CsvProfiles.pm
CurbsidePickup.pm
CurbsidePickupIssue.pm
CurbsidePickupIssues.pm
CurbsidePickupOpeningSlot.pm
CurbsidePickupOpeningSlots.pm
CurbsidePickupPolicies.pm
CurbsidePickupPolicy.pm
CurbsidePickups.pm
Database.pm
DateUtils.pm
Desk.pm
Desks.pm
EDI.pm Bug 35398: (QA follow-up) Tidy code 2024-03-07 15:02:47 +01:00
Edifact.pm
Email.pm
Encryption.pm
Exception.pm
Exceptions.pm
ExternalContent.pm
FrameworkPlugin.pm Bug 35012: Apply change to all events 2023-11-14 10:32:40 -03:00
Hold.pm Bug 8367: (QA follow-up) Fix QA script 2023-11-01 18:01:36 -03:00
Holds.pm
I18N.pm Bug 35174: Do not explode if po dir does not exist 2023-11-16 08:56:36 +01:00
Illbackend.pm
Illbatch.pm
Illbatches.pm
IllbatchStatus.pm
IllbatchStatuses.pm
Illcomment.pm
Illcomments.pm
Illrequest.pm Bug 36249: Fix generic_confirm op 2024-03-07 16:36:35 +01:00
Illrequestattribute.pm
Illrequestattributes.pm
Illrequests.pm
ImportBatch.pm
ImportBatches.pm
ImportBatchProfile.pm
ImportBatchProfiles.pm
Item.pm Bug 35269: Improve POD 2023-11-08 09:58:56 -03:00
Items.pm Bug 29002: Tidy 2023-11-03 12:04:30 -03:00
ItemType.pm Bug 34008: Harmonize attribute names 2023-11-01 17:23:15 -03:00
ItemTypes.pm
KeyboardShortcut.pm
KeyboardShortcuts.pm
Libraries.pm
Library.pm
Linktracker.pm
Localization.pm
Localizations.pm
Logger.pm
Manual.pm Bug 35463: More preservation manual links 2023-12-20 15:13:45 +01:00
MarcOverlayRule.pm
MarcOverlayRules.pm
MarcSubfieldStructure.pm
MarcSubfieldStructures.pm
MetadataIterator.pm
MetadataRecord.pm Bug 33749: Use TrimFields instead of stripWhitespaceChars 2023-11-03 12:08:06 -03:00
MetaSearcher.pm
MoreUtils.pm
OAuth.pm
OAuthAccessToken.pm
OAuthAccessTokens.pm
Object.pm
Objects.pm
OverdueRule.pm
OverdueRules.pm
Patron.pm Bug 35744: Implement +strings for GET /patrons/:patron_id 2024-01-29 12:24:59 +01:00
Patrons.pm
Plugins.pm Bug 35070: Fix get_enabled_plugins when database is not created yet 2024-01-05 14:04:06 +01:00
ProblemReport.pm
ProblemReports.pm
PseudonymizedTransaction.pm
PseudonymizedTransactions.pm
Quote.pm
Quotes.pm
Rating.pm
Ratings.pm
Recall.pm
Recalls.pm
RecordProcessor.pm
Report.pm
Reports.pm
Review.pm
Reviews.pm
Schema.pm
Script.pm
SearchEngine.pm
SearchField.pm
SearchFields.pm
SearchFilter.pm
SearchFilters.pm
SearchMarcMap.pm
SearchMarcMaps.pm
Serial.pm
Serials.pm
Session.pm Bug 36098: Default to 'file' if pref does not exist 2024-03-01 10:55:51 +01:00
SharedContent.pm
SimpleMARC.pm Bug 24480: (follow-up) Shift new fields into array and add after all are copied 2023-11-03 12:04:34 -03:00
Sitemapper.pm
Statistic.pm Bug 35277: Pseudonymize in a background job 2024-01-16 12:06:04 +01:00
Statistics.pm
StockRotationItem.pm
StockRotationItems.pm
StockRotationRota.pm
StockRotationRotas.pm
StockRotationStage.pm
StockRotationStages.pm
Subscription.pm
Subscriptions.pm
Suggestion.pm
SuggestionEngine.pm
Suggestions.pm
Tag.pm
Tags.pm
TemplateUtils.pm
Ticket.pm
Tickets.pm
Token.pm Bug 36102: If CSRF check fails, try with anonymous 2024-03-01 11:00:34 +01:00
TrackedLink.pm
TrackedLinks.pm
UploadedFile.pm
UploadedFiles.pm
Uploader.pm
Virtualshelf.pm
Virtualshelfcontent.pm
Virtualshelfcontents.pm
Virtualshelfshare.pm
Virtualshelfshares.pm
Virtualshelves.pm
Z3950Responder.pm
Z3950Server.pm
Z3950Servers.pm