User tests: Successful: Unsuccessful:
Fixes #29654.
Corrects class casing, fixing version preview on case sensitive filesystems.
Create and edit an article.
Click Versions
button.
Select a version and click Preview
.
Preview displayed.
Call to a member function load() on bool
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_content com_contenthistory |
Those using JTable
prefix are case insensitive. So they're fine for now.
ok cool well this fixes the reported issue, but still leaves that Notice: Undefined offset: 1
message above.
I have tested this item
Confirm Actual Result before Patch.
@PhilETaylor With Patch: No message shown.
Try faking a url with no id on it:
I have tested this item
- Specific expected result for the issue tested successfully and preview of version was displayed.
Not sure what the suggested solution should be there on that URL being used with no parameter? As it loads in a modal, should a direct access outside the modal trigger a die();?
I have tested this item
- Specific expected result for the issue tested successfully and preview of version was displayed.
Not sure what the suggested solution should be there on that URL being used with no parameter? As it loads in a modal, should a direct access outside the modal trigger a die();?
@particthistle The principle is that Joomla should NEVER output PHP Notices/Warnings to the screen. Joomla has been for years, developed with error_reporting set to max, and coded so that all routes, known and abused urls, can not produce uncaught and unhandled exceptions or notices. This has always been the case.
As it loads in a modal, should a direct access outside the modal trigger a die();?
Harder than it sounds ;-)
@PhilETaylor agree with the principle. And that it's hard than it sounds.
Code to suggest for this one escapes me at the second, and not just as it's 4am in Australia.
I have tested this item
3rd test is never bad ;-)
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-19 10:11:23 |
Closed_By | ⇒ | wilsonge | |
Labels |
Thanks!
now gives