? Success
Referenced as Related to: # 4793

User tests: Successful: Unsuccessful:

avatar jatitoam
jatitoam
24 Nov 2013

When installing a component via discover_install the correspondent entry in table #__assets is not created.

How to reproduce the problem and/or test the patch::
Install any component that creates an asset entry on normal install via discover install and check whether there is an entry for that component in #__assets.

Fixes http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30198

avatar jatitoam jatitoam - open - 24 Nov 2013
avatar brunobatista
brunobatista - comment - 24 Nov 2013

:+1:

avatar betweenbrain
betweenbrain - comment - 27 Nov 2013

@jatitoam can you provide a link to a component to test this with?

avatar jatitoam
jatitoam - comment - 27 Nov 2013

@betweenbrain it happens with any component, but I can give you a script I just did for trying it with the latest version of JCE (to place everything into place before doing the discovery)

Uncompress JCE in folder tmp/com_jce_2341 and execute this from Joomla's root folder:

cp -r tmp/com_jce_2341/administrator/components/com_jce/ administrator/components/
cp -r tmp/com_jce_2341/administrator/language/en-GB/* administrator/language/en-GB/
cp -r tmp/com_jce_2341/components/com_jce/ components/
cp tmp/com_jce_2341/install.script.php administrator/components/com_jce/
cp tmp/com_jce_2341/jce.xml administrator/components/com_jce/
cp tmp/com_jce_2341/legacy.xml administrator/components/com_jce/
cp tmp/com_jce_2341/language/en-GB/* language/en-GB/
cp -r tmp/com_jce_2341/packages/editor plugins/editors/jce
cp -r tmp/com_jce_2341/packages/module/ administrator/modules/mod_jcefilebrowser
cp -r tmp/com_jce_2341/packages/quickicon/ plugins/quickicon/jcefilebrowser

Update: I just noticed I left media folders out of the equation, but the component installs fine

avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar brianteeman brianteeman - change - 19 Sep 2014
The description was changed
avatar brianteeman brianteeman - change - 19 Sep 2014
Category Installation
avatar jatitoam jatitoam - change - 17 Oct 2014
Title
Added asset entry when installing component from discovery
[#30198] Added asset entry when installing component from discovery
avatar jatitoam jatitoam - close - 17 Oct 2014
avatar jatitoam jatitoam - change - 17 Oct 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-10-17 15:53:20

Add a Comment

Login with GitHub to post a comment