Success
Related to # 2586

User tests: Successful: Unsuccessful:

avatar jatitoam
jatitoam
17 Oct 2014

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.

This is the Joomla 3 fix. The Joomla 2.5 fix is in http://issues.joomla.org/tracker/joomla-cms/2585.

There are additional test instructions in the old PR: http://issues.joomla.org/tracker/joomla-cms/2586

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar jatitoam jatitoam - open - 17 Oct 2014
avatar jatitoam jatitoam - change - 17 Oct 2014
The description was changed
avatar jatitoam jatitoam - change - 17 Oct 2014
The description was changed
avatar brianteeman brianteeman - change - 17 Oct 2014
Status New Pending
Rel_Number 2586
Relation Type Related to
avatar nicksavov nicksavov - change - 17 Oct 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 17 Oct 2014
Title
[Fix #2586] Added asset entry when installing component from discovery
Added asset entry when installing component from discovery
avatar zaridan zaridan - test_item - 17 Oct 2014 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 17 Oct 2014

How a component can be discovered to test it? For example, where an installer can be copied to be discovered?

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

avatar zaridan
zaridan - comment - 18 Oct 2014

You cannot copy the installer, but rather, have to get the files inside the extension package to their respective root directory in your Joomla install. It's easier done locally rather than uploading to some server.
If you unzip a component locally you will see folders inside. These folders usually are named for the directory you will find them in the Joomla install. Copy the folder to the Joomla directory and then you can do a Discover.

Hope that helps. Sorry if it's not clear, just let me know and I'll try again :)

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

avatar brianteeman
brianteeman - comment - 18 Oct 2014

can you give an example component and explicit instructions on what to copy where as so far i have been unable to do a discover install on a component

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

avatar brianteeman
brianteeman - comment - 18 Oct 2014

ah i found some on the old issue pasting them here for others

test instructions

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

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

avatar brianteeman
brianteeman - comment - 18 Oct 2014

can you check those instructions please as they dont allow me to discover install jce correctly anyway

perhaps with a simpler component

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

avatar lunalars
lunalars - comment - 18 Oct 2014

For testing I "created" and used this "component":
https://github.com/lunalars/simplej33comp/archive/master.zip

Just copy folder "com_testt" to administrator/components, then hit "discover"

edited this because of bu.....t, sorry

avatar lunalars
lunalars - comment - 18 Oct 2014

Sorry! Forget about my last post!!

@test success
After applying the patch (com_patchtester) an asset is created on installation of a discovered component.
Again I used the component from my last post ( https://github.com/lunalars/simplej33comp/archive/master.zip ).

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

avatar lunalars lunalars - test_item - 18 Oct 2014 - Tested successfully
avatar roland-d roland-d - test_item - 27 Nov 2014 - Tested successfully
avatar roland-d roland-d - change - 27 Nov 2014
Status Pending Ready to Commit
avatar roland-d
roland-d - comment - 27 Nov 2014

@test successful, asset entry is created after discovery.

Moving to RTC, we have 3 successful tests

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

avatar brianteeman brianteeman - change - 29 Nov 2014
Labels Added: ?
avatar wilsonge wilsonge - close - 13 Dec 2014
avatar wilsonge wilsonge - change - 13 Dec 2014
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2014-12-13 19:24:19
avatar wilsonge
wilsonge - comment - 13 Dec 2014

Merged into staging - thanks!

Add a Comment

Login with GitHub to post a comment