? ? Success

User tests: Successful: Unsuccessful:

avatar shamsbd71
shamsbd71
22 Jul 2016

There are many extensions failed to update to latest version. The cause behind this can be: update URL broken or so many.

Error updating COM_INSTALLER_TYPE_TYPE_

Summary of Changes

if we add COM_INSTALLER_TYPE_TYPE_="Extension" this code, we can show error like this:

Error updating Extension

Testing Instructions

When joomla try to install or update any extension and those file dosent exist, in that case we get return this error:

Error updating COM_INSTALLER_TYPE_TYPE_

it's because system doesn't know its type.

avatar shamsbd71 shamsbd71 - open - 22 Jul 2016
avatar shamsbd71 shamsbd71 - change - 22 Jul 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jul 2016
Category Language & Strings Administration
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jul 2016
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 22 Jul 2016

This does not seem correct to me. Please can you provide a real world example of how to replicate the original problem

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Jul 2016

you need to correct the origin of the error, IMO there shouldn't be a COM_INSTALLER_TYPE_TYPE_ language var.

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Jul 2016

maybe a COM_INSTALLER_TYPE_TYPE_UNSUPORTED or something.

avatar shamsbd71
shamsbd71 - comment - 22 Jul 2016

@brianteeman
this is an error warning, search google with this Error updating COM_INSTALLER_TYPE_TYPE_
you will get many results. i faced this often. You can try install t3 framework's old version and then try to update it. its not only for t3, it can be for anything that has changes of update file url.

thanks

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Jul 2016

yes, i have seen that issue in the past, the thing is IMO this is not the correct way to solve it.

you need to check in this files https://github.com/joomla/joomla-cms/search?q=COM_INSTALLER_TYPE_TYPE_ why the variable doesn't get the extension type and solve it.

or in alternative make a if not isset type trow a new language var error saying that.

avatar brianteeman
brianteeman - comment - 22 Jul 2016

Creating a language string to mask a bug is not a solution

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Jul 2016

When we cannot get the package type or we get no package type something is wrong ... the xml can have a wrong package type or even none so joomla should trow an error (probably a new language string) when that happens.

avatar brianteeman
brianteeman - comment - 3 Aug 2016

Thanks for the contribution but I am closing this as no matter what the cause of the problem this is not the correct way to resolve it.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11242.

avatar brianteeman brianteeman - change - 3 Aug 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-08-03 19:52:41
Closed_By brianteeman
Labels
avatar brianteeman brianteeman - change - 3 Aug 2016
Labels

Add a Comment

Login with GitHub to post a comment