Editing Admin View results in 500 error after compile #985
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#985
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Steps to reproduce the issue
I have a component I had created, and installed fine. I added some new fields to an admin view, compiled, and now when attempting to access the installed component, I am receiving
Expected result
Component would install fine with no errors.
Actual result
Error generated:
System information (as much as possible)
Additional comments
Does this issue persist in PHP 7.4? and using Firefox?
I see what's happening. During the compile, the file code isn't being properly converted/translated:
This was done under PHP 7.4 in Firefox.
Just as a test, and not something I would usually do, but I tested prior versions of JCB to where I COULD compile successfully. JCB version 3.1.12 I was able to successfully compile and install, then access the component. tagged versions following that (3.1.15, 3.1.17, 3.1.19) failed with the above.
In that case please review these closed issues, and see if it resolves yours:
#982
#978
This problem seems to be fixed in version 3.1.23-beta
But more details about this error here:
\libraries\src\MVC\Factory\LegacyFactory.php:85