User tests: Successful: Unsuccessful:
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
Status | New | ⇒ | Pending |
Rel_Number | ⇒ | 2586 | |
Relation Type | ⇒ | Related to |
Labels |
Added:
?
|
Title |
|
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.
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.
ah i found some on the old issue pasting them here for others
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.
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.
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
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.
Status | Pending | ⇒ | Ready to Commit |
@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.
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-12-13 19:24:19 |
Merged into staging - thanks!
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.