[BETA] Cannot delete any record from an admin view #1043
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1043
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 a component with at least one admin view.
Compile it to J5.
Create a record. Put it in the trash and try to empty your trash.
Expected result
Record to be deleted
Actual result
Warning : Cannot delete the record
System information (as much as possible)
Additional comments
canDelete method of the view model always fail because $record->state is null. We should use $record->published instead
Can confirm this bug with JCB 3.1.36
Fixed it in
24163c1071
please test downloadConfirmed fixed!