User tests: Successful: Unsuccessful:
Pull Request for Issue #22421 (comment) reported by @infograf768
Add fallback for not complete manifest caches used in the pre-update checker
.- install 4.0-dev
manifest_cache
for the patchtester record in the extensions table.No errors; After the patch the pre-update checker shows Unknown version
before that info was just missing / empty.
Notice: Trying to get property 'version' of non-object in .../administrator/components/com_joomlaupdate/Model/UpdateModel.php on line 1357
And an empty version info for that extension.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_joomlaupdate Language & Strings |
Labels |
Added:
?
?
|
Will you do another PR for the following?
PHP Notice: Trying to get property 'version' of non-object in \administrator\components\com_installer\Model\DatabaseModel.php on line 490
@zero-24
We have also
Notice: Undefined property: stdClass::$version in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_installer/tmpl/manage/default.php on line 108
Notice: Undefined property: stdClass::$version in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_installer/tmpl/manage/default.php on line 124
This shows in Extensions=>Manage for the Sample Data Testing plugin
These means that we may need a more general string for "Unknown version" as it can be used with exactly the same value in com_installer, including for this PR. Maybe JGLOBAL_UNKNOWN_VERSION="Unknown Version"
@infograf768 Go to System > Update > Joomla > Pre-Update Check
Well the deeper problem is why is the manifest cache not up-to-date, has this been reproduced in a live site too? This is just a hot fix not fixing the real cause of the problem.
I have tested this item
I have tested this item
#pbf19 #test1
Status | Pending | ⇒ | Ready to Commit |
Can you fix conflicts please?
Labels |
Added:
?
|
Done @wilsonge thanks @richard67
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-01-11 17:13:15 |
Closed_By | ⇒ | wilsonge |
Thanks!
I have tested this item✅ successfully on 36dd0e7
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26293.