[BUG]: No Admin list for component #1138
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1138
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?
All admin lists are blank. The default_body.php file is blank and only has 1 variable assignment line of code in it.
Steps to reproduce the Bug
Create Admin page, compile and install
Which Joomla version are you compiling in?
5.1
Which PHP version are you compiling in?
8.2
Which Joomla versions are you targeting?
v5.1
Which PHP version are you targeting?
v8
Which Web server is JCB running on?
Apache 2.4
Which Relational Database is JCB running on?
MySQL
Which OS is JCB running on?
Ubuntu
Which JCB version are you using?
5.0
Where in JCB did this issue occur?
Dashboard(admin_view)
On which browsers did you encounter the issue?
Firefox, Chrome, Microsoft Edge
Additional Comments
No response
Does this Admin view have fields linked to it? We can only reproduce this issue when we create a admin view with no fields linked to it.
It has fields. This was an Admin view i had on JCB 3. I replicated it in JCB in 5
The "Add New" feature works. I get a form, i can fill it out and submit. A record is created in the DB.
The 2nd image i have attached is the contents of the
default_body.php
fileWhere is this file created? I can try debugging why it happens
I can't see any legitimate reason why it's happening
Hey Alex, I found a solution in #1179.
Solution: It turns out that the Admin Behaviour was set to Default for these fields. I needed to edit that setting by clicking the first icon (looks like a bullet list) when on the Admin Views page. Alternatively you can edit an Admin View item and then click on the big green button that says "Edit admin fields for this admin view".
What doesn't work: clicking the pencil (edit) icon beside the field name. The setting cannot be found there.