12 October 2026¶
Four entries today:
- A null date is no date, not today
Datasourceanswers a 1.9-era caller of a 1.10 request- Clearing a cache category works with an underscored prefix
- Developer pages served from an area link within it
A null date is no date, not today¶
Fixed¶
new \Pramnos\Html\Date($name, null)stores0.getDate()falls back todate('d/m/Y', $this->date)when the request carries nothing, and on PHP 8date()reads null as now — so the widget answered today's midnight where0answers2, "no date". An admin list passing a never-set$this->datefromand testinggetDate() < 10000silently showed one day of rows; one showed none of 2,852 users, with nothing logged.
Datasource answers a 1.9-era caller of a 1.10 request¶
Fixed¶
Datasource::getList()/render()with$encode = false, for a request carryingdraw, returns the 1.9 shape —sEcho/iTotalRecords/iTotalDisplayRecords/aaData— instead ofdraw/recordsTotal/recordsFiltered/data. A caller that asks for the array post-processes it, and one written for 1.9 found noaaData, skipped its processing — checkbox columns, links, escaping — and sent the raw rows. DataTables 1.10 reads the 1.9 names natively;sEchocarries the draw counter, since the client reads it beforedrawand drops a response older than its last.$encode = trueis unchanged.
Documentation¶
- HTML Components Guide: Date and time says what
0/nullmeans; Post-processing the rows is new. Upgrade Guide: two rows.
Clearing a cache category works with an underscored prefix¶
Fixed¶
Cache::clear($category)removed nothing on an installation whose prefix contains an underscore (nk_), on every adapter. Key names are built with the prefix stripped of underscores, and the stripping happened only while naming a key;clear()names none, so a fresh instance asked the adapter fornk_whilesave()had written undernk. It returned as though it had worked, and a model that writes and then clears its category went on serving the old answer until the entry expired.syncAdapter(), which every operation goes through, now hands the adapter the stripped prefix.
Developer pages served from an area link within it¶
Fixed¶
- The DevPanel, Adminer and the debug-toolbar grant built every absolute link from
sURL, so served from an administration area or a secondary application they left it. At/admin/adminerthe stylesheet and scripts were requested from/adminer?file=…, redirected to the home page, and the page rendered without CSS and with?in every statistics column;/admin/devpanelpointed its tabs at/devpanel/…and the toolbar switch at/debugbar. They now use the newAdminArea::servingUrl(). "Back" still returns anywhere on the site, and treats the panel and Adminer as the panel at either base.
Added¶
AdminArea::servingUrl(): the base URL of the application serving the request — the area's inside it,sURLoutside it,URLwhen no area is configured.
Documentation¶
- Routing Guide:
servingUrl(). DevPanel Guide: where its links point when served from an area.