[BUG]: cannot compile and can compile in the different versions #1124
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1124
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What Happened?
In Joomla 3.10.12 I :
In Joomla 4 I :
In Joomla 5 I:
This is in the updated websites. Permissions to temp and log folders are ok. Configuration files are ok.
I do not have a field 'modules' and cannot find any reference to that, so I do not know where that is coming from.
Note that nothing has changed to the created component.
I cannot test the demo or hello world components as these give their own errors while compiling on each version of JCB
Steps to reproduce the Bug
compile component
Which Joomla version are you compiling in?
3,4 and 5
Which PHP version are you compiling in?
8.0, 8.2 and 8.3
Which Joomla versions are you targeting?
3, 4 and 5
Which PHP version are you targeting?
8.0, 8.2 and 8.3
Which Web server is JCB running on?
Apache
Which Relational Database is JCB running on?
Mariadb
Which OS is JCB running on?
Linux ubuntu 22.04
Which JCB version are you using?
3.2.1-rc5, 4.0.0-rc5 and 5.0.0-rc5
Where in JCB did this issue occur?
Compilation of a component, Installation of a component
On which browsers did you encounter the issue?
Firefox
Additional Comments
No response
This issue might be related to your own setup of your fields. Please review these issues:
What should help, is opening all your admin views of your component, and saving them again. Since we added a field type-rule to catch missing fields in you SQL.
Further more, we are running JCB on many systems, and compiling for production ready Joomla 4 and 5 and we do not see these issues. This means you will need to debug this yourself, and once you have more details, share it. There is nothing we can do to help you. The issue is not repeatable on our side, and so we can't fix it.
Thanks.
Tried it, doesn't help.
I understand that it is you cannot reproduce or look into.
Funny thing is, field 'modules' is non existent. Never created or used by me, and not findable in my component, not even the original which was created in Joomla 3.
But I won't give up I will search further., it must come from somewhere.
I got rid of this : Error 1364: Field 'modules' doesn't have a default value. It popped up after cloning the site.
So, the error did not pop-up now. Which was very weird anyway because there was never a field 'modules' created. Where did it come from I don't know.
Tried installing the compiled into Joomla 5 and now the layouts error pops up which we had before. Like in #1099 #1064.
Note that all the php.ini tweaks are still in place.
Will try some more digging into this.