Update component via Extension Manager

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
User avatar
tovarish
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Mar 28, 2011 1:27 pm

Update component via Extension Manager

Post by tovarish » Mon Mar 28, 2011 1:45 pm

Hi,

I'm trying to implement update feature support for my Joomla 1.6 component according to this tutorial: http://docs.joomla.org/Developing_a_Mod ... _-_Part_17 with no success.

Joomla extension manager successfully downloads and parses my component update.xml from update server, but it shows "There are no updates available at the moment. Please check again later."

After some tricks with debugger I found that problem is in "client_id" field in the "jos_extensions" and "jos_updates" tables. JUpdater always set "client_id" to null, but in the "jos_extensions" table "client_id" is "1". So update manager can't link the new update to the existing component. (/joomla/libraries/joomla/updater/updater.php, line: 96)

Could anybody please explain me what does this "client_id" actually means in context of component where both admin and user parts exist and how to fix this?

I'm using 1.6.1.

Thank a lot in advance for any help.

User avatar
tovarish
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Mar 28, 2011 1:27 pm

Re: Update component via Extension Manager

Post by tovarish » Tue Mar 29, 2011 10:30 am


User avatar
Bakual
Joomla! Ace
Joomla! Ace
Posts: 1038
Joined: Sun Dec 13, 2009 9:00 pm
Location: Switzerland
Contact:

Re: Update component via Extension Manager

Post by Bakual » Wed Mar 30, 2011 5:03 pm

The client_id tells Joomla where to look for the xml file, as far as I understand it.
It was working in J1.6, but something else was broke. And when they fixed the bug in J1.6 they introduced this in on J1.6.1.

User avatar
tovarish
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Mar 28, 2011 1:27 pm

Re: Update component via Extension Manager

Post by tovarish » Thu Mar 31, 2011 10:19 am

Thx for info.

Waiting for comments in the bug tracker.

User avatar
Bakual
Joomla! Ace
Joomla! Ace
Posts: 1038
Joined: Sun Dec 13, 2009 9:00 pm
Location: Switzerland
Contact:

Re: Update component via Extension Manager

Post by Bakual » Thu Mar 31, 2011 10:56 am


User avatar
tovarish
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Mar 28, 2011 1:27 pm

Re: Update component via Extension Manager

Post by tovarish » Thu Mar 31, 2011 4:35 pm

Yes, you are right.

jansangill
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Mon Jan 19, 2009 3:31 pm

Re: Update component via Extension Manager

Post by jansangill » Mon Jun 13, 2011 6:24 pm

ANy solution found to this. I seem to be having same issues.

User avatar
Bakual
Joomla! Ace
Joomla! Ace
Posts: 1038
Joined: Sun Dec 13, 2009 9:00 pm
Location: Switzerland
Contact:

Re: Update component via Extension Manager

Post by Bakual » Tue Jun 14, 2011 5:37 am

Wait for Joomla 1.7.
As it is a bug in Joomla 1.6 it will not fixed before Joomla 1.7.


Locked

Return to “Joomla! 2.5 Coding”