Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
JUpdater does not work for components if their XML update element did…
Browse files Browse the repository at this point in the history
… not explicitly include a folder and client_id child node
  • Loading branch information
Nicholas Dionysopoulos committed Nov 2, 2011
1 parent c098772 commit a87dd5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/manual/appendices/changelog.xml
Expand Up @@ -1137,6 +1137,9 @@ http://groups.google.com/group/joomla-dev-framework/browse_thread/thread/2bbd283
)</para>
<para>The function getUserState in the JApplication class is missing the $default parameter</para>
</listitem>
<listitem>
<para>JUpdater does not work for components if their XML update element did not explicitly include a folder and client_id child node</para>
</listitem>
</itemizedlist>
</sect1>
</appendix>
2 changes: 2 additions & 0 deletions libraries/joomla/updater/adapters/extension.php
Expand Up @@ -43,6 +43,8 @@ protected function _startElement($parser, $name, $attrs = array())
$this->current_update = JTable::getInstance('update');
$this->current_update->update_site_id = $this->_update_site_id;
$this->current_update->detailsurl = $this->_url;
$this->current_update->folder = "";
$this->current_update->client_id = 1;
break;
// Don't do anything
case 'UPDATES':
Expand Down

0 comments on commit a87dd5f

Please sign in to comment.