Repository navigation
26.9.1
·
35 commits
to 26.9
since this release
Immutable
release. Only release title and notes can be modified.
Maho 26.9.1 is a maintenance release for the 26.9 line: no new features, no breaking changes, just fixes backported from main.
Creating Maho is a massive effort that requires all the help possible, please join our sponsorship program.
It will make all the difference in the world!

Maho rocks! 🚀
https://mahocommerce.com
https://demo.mahocommerce.com
🐛 Fixes
- Stopped the admin from creating a 301 when the url key redirect checkbox is cleared: on the product and category forms, the "Create Permanent Redirect for old URL" checkbox posted nothing when it was cleared. The controller then kept the store default and wrote the redirect anyway. The cleared checkbox is now respected.
- Fixed the WCAG 2.2 AA violations found by scanning every theme: a scan of all 11 themes found five issues. The newsletter input text was invisible in nine themes, two selects had no label, CMS content links in the default theme had low contrast and no underline, and some labels and the In stock badge had low contrast in the beauty, kids and home themes. The same scans now report zero violations.
- Stopped copying the To date of a cart price rule to its coupons, and compared the coupon expiration with UTC time: each coupon held a copy of the rule "To" date at 00:00:00, so the coupon failed for the whole last day of its rule. Coupons no longer copy the date, and a data upgrade clears the old copies. The cart and the API now compare the coupon expiration with UTC time, so a store ahead of UTC no longer refuses a valid coupon and a store behind UTC no longer accepts an expired one. In the API, the
expirationDateof a coupon is now null unless it was set on the coupon itself. The rule date stays intoDate. - Fixed the queue watchdog that started no worker when var/log did not exist: on a fresh install, nothing created
var/log, so the redirect toqueue-worker.logfailed and the worker never started. The path now comes fromMage::getBaseDir('log'), which creates the directory and respects a customlog_dir. - Fixed the installer steps that broke when a translation contained an apostrophe: the sample data and administrator steps of the web installer printed translated strings inside JavaScript strings without escaping. With the Italian language pack, the Install Sample Data button did nothing.
- Fixed the catalog search error 1064 on a trailing operator, and applied the word limit and the minimum length to every search word: a search such as
test -, which the search suggest sends while the shopper types, made MySQL fail with error 1064. Each search word is now quoted, and a word that holds only operator characters is dropped.max_query_wordsandmin_query_lengthnow apply to every search word on every database. - Fixed the PayPal error shown to the buyer when the webhook placed the order first: when the
CHECKOUT.ORDER.APPROVEDwebhook placed and captured the order first, the buyer saw "This order has already been placed." The buyer now lands on the success page of that order. - Fixed the customer address and cart address APIs that required a postcode in countries where the postcode is optional: the customer address endpoints and the cart shipping and billing address setters returned 400 for an address without a postcode, also in a country of
general/country/optional_zip_countriessuch as Ireland. They now use the same validation as the address model. - Fixed the order API that returned a 500 for a validation failure or a spent gift card:
POST /api/rest/v2/ordersreturned 500An internal error occurredfor errors that the client can fix, such as an incomplete shipping address or a gift card spent after it was applied to the cart. It now returns the status and the message of the error.
Full changelog: 26.9.0...26.9.1