User tests: Successful: Unsuccessful:
Fix undefined key in HTMLDocument setBuffer
Apply patch.
Enable error reaporting.
Add to index.php of any template:
$this->setBuffer('<h1>FooBar</h1>', ['type' => 'component']);Navigate to any page with this template.
Warning message: accesing undefinend key.
No warning, the page render "Foobar" heading.
Please select:
| Category | ⇒ | Libraries |
| Status | New | ⇒ | Pending |
Yes, that is expected, because the test instruction overrides whole component output, and every srcipt will be broken.
But that only for testing setBuffer method, so all good
I have tested this item
Tested successfully in Joomla 4.3.10-dev of 16 March in PHP 8.1.10
I have tested this item
| Status | Pending | ⇒ | Ready to Commit |
RTC
This pull request has been automatically rebased to 4.3-dev.
| Labels |
Added:
?
bug
?
?
|
||
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-05-05 19:57:09 |
| Closed_By | ⇒ | obuisard | |
| Labels |
Added:
PR-4.3-dev
|
||
No warnings however in the browser's console.