[BETA] Cannot add frontend view to my component on J5 #1044

Open
opened 2024-02-05 14:32:40 +00:00 by vistamedia · 2 comments
Member

Steps to reproduce the issue

Create a component with an admin view, a dynamic get (getListQuery) based on this admin view and a site view using this dynamic get.
Compile the component for J5 and try to install

Expected result

The component to be installed

Actual result

Error installing component
JInstaller: :Install: File does not exist [ROOT][TMP]/install_65c0f0e5a3bd5/site/layouts
Component Update: Failed to copy site files.

System information (as much as possible)

  • OS Name & Version: Mac 14.2.1
  • MySql Version: 5.7
  • PHP Version: 7.4
  • Joomla Version: 3.10.12
  • JCB Version: 3.1.36
  • Browser: Firefox developer edition

Additional comments

if I remove the site view from the component, it becomes installable again.

### Steps to reproduce the issue Create a component with an admin view, a dynamic get (getListQuery) based on this admin view and a site view using this dynamic get. Compile the component for J5 and try to install ### Expected result The component to be installed ### Actual result Error installing component JInstaller: :Install: File does not exist [ROOT][TMP]/install_65c0f0e5a3bd5/site/layouts Component Update: Failed to copy site files. ### System information (as much as possible) - OS Name & Version: Mac 14.2.1 - MySql Version: 5.7 - PHP Version: 7.4 - Joomla Version: 3.10.12 - JCB Version: 3.1.36 - Browser: Firefox developer edition ### Additional comments if I remove the site view from the component, it becomes installable again.
vistamedia added the
Beta
label 2024-02-05 14:32:40 +00:00
Owner

I will need to understand this some more, as I am not getting the same result on my side.

Can you bump your PHP to PHP 8.0? That is what I am using, would be interesting to see if that is the issue.

I have a few component with site views and they just work now. Also please note the (site) edit views are not yet ready.

I will need to understand this some more, as I am not getting the same result on my side. Can you bump your PHP to PHP 8.0? That is what I am using, would be interesting to see if that is the issue. I have a few component with site views and they just work now. Also please note the (site) edit views are not yet ready.
Author
Member

Indeed, I don't have the problem with an existing component. I will keep you posted about PHP8 upgrade.

Indeed, I don't have the problem with an existing component. I will keep you posted about PHP8 upgrade.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1044
No description provided.