https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42702
Bug ID: 42702
Summary: Acquisitions: Cancel order link on parcel.pl absorbs
following HTML into href
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The pending orders table on parcel.pl builds a malformed "Cancel order" link.
The generated href is not closed after the invoice_id value, so the link text
and following HTML are appended to the href.
Steps to reproduce:
1. In Acquisitions, create or use a closed basket with a pending order.
2. Receive a shipment for the vendor and open the invoice receive page.
3. Inspect the "Cancel order" link in the pending orders table.
Expected result:
The link is rendered as valid HTML:
<a
href="/cgi-bin/koha/acqui/cancelorder.pl?...&referrer=/cgi-bin/koha/acqui/parcel.pl?invoiceid=3">Cancel
order</a>
Actual result:
The link text and following HTML are included in the href:
<a
href="/cgi-bin/koha/acqui/cancelorder.pl?...&referrer=/cgi-bin/koha/acqui/parcel.pl?invoiceid=3Cancel
order</a>...
Notes:
This appears to be a regression from the Bug 41563 parcel.tt tidy follow-up.
Bug 41848 and Bug 42603 fixed nearby variable-name issues, but this malformed
href remains.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/