[BETA] JRegistry in save method in single view model for custom fieldtype fields & other types #1035
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1035
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Steps to reproduce the issue
create custom field type and add to admin view. Then compile, install and try and save a new item.
Expected result
Save succesfull.
Actual result
Error: 0 Class "JCB\Component\ComponentName\Administrator\Model\JRegistry" not found
JROOT/administrator/components/com_componentname/src/Model/CouponModel.php:855
System information (as much as possible)
Additional comments
It seems to happen for custom field type fields and i also found a radio button with the same JRegistry in it. Thats a bit weird since radio is a tinyint and not a array. But the code is checking it for an array:
Here is the full save function:
[BETA] JRegistry in save method in single view model for custom fieldtype fieldsto [BETA] JRegistry in save method in single view model for custom fieldtype fields & other typesIn the last beta release I fixed this issue. let me know if its resolved.
This is fixed 👍