No Code Attached Yet bug
avatar chmst
chmst
6 Mar 2022

Steps to reproduce the issue

I have adapted a small component from J3 to j4 which is only for backend.
The manifest file is the same as in J3 (except version number and namspace).

Expected result

The component is only installed in administrator/components as it is in J3.

Actual result

After the installation, there is an empty folder in components (frontend).

System information (as much as possible)

Additional comments

<extension type="component" version="4.0" method="upgrade">
	<name>com_mycomment</name>
....
	<version>2.0.1</version>
	<description>COM_MYCOMMENT_XML_DESCRIPTION</description>
	<namespace path="src">mysoftware\Component\mycomment</namespace>
	<install>
		<sql>
			<file charset="utf8" driver="mysql">sql/install.mysql.sql</file>
		</sql>
	</install>

	<update>
		<schemas>
			<schemapath type="mysql">sql/updates/mysql</schemapath>
		</schemas>
	</update>

	<administration>
		<menu>com_mycomment</menu>

		<files folder="admin">
			<folder>forms</folder>
			<folder>services</folder>
			<folder>language</folder>
			<folder>src</folder>
			<folder>sql</folder>
			<folder>tmpl</folder>
			<filename>access.xml</filename>
			<filename>config.xml</filename>
			<filename>mycomment.xml</filename>
		</files>

	</administration>
</extension>
avatar chmst chmst - open - 6 Mar 2022
avatar joomla-cms-bot joomla-cms-bot - change - 6 Mar 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Mar 2022
avatar chmst chmst - change - 6 Mar 2022
Labels Added: J4 Issue
avatar chmst chmst - labeled - 6 Mar 2022
avatar chmst chmst - change - 6 Mar 2022
Labels Removed: J4 Issue
avatar chmst chmst - unlabeled - 6 Mar 2022
avatar chmst chmst - change - 6 Mar 2022
Title
Empty folder in frontend if a component is only for backend
[4] Empty folder in frontend if a component is only for backend
avatar chmst chmst - edited - 6 Mar 2022
avatar richard67
richard67 - comment - 6 Mar 2022

Would be good to see the manifest file, e.g. in a code snippet here.

avatar chmst chmst - change - 6 Mar 2022
The description was changed
avatar chmst chmst - edited - 6 Mar 2022
avatar chmst
chmst - comment - 6 Mar 2022

Added the xml file; maybe the namespace makes the difference?

avatar chmst chmst - change - 6 Mar 2022
The description was changed
avatar chmst chmst - edited - 6 Mar 2022
avatar Hackwar Hackwar - change - 17 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 17 Feb 2023

Add a Comment

Login with GitHub to post a comment