[BUG]: No Admin list for component #1138

Open
opened 2024-06-04 00:03:25 +00:00 by AlexEdimensionz · 4 comments

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

### 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_
AlexEdimensionz added the
Bug
label 2024-06-04 00:03:25 +00:00
Member

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.

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 file

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` file

Where is this file created? I can try debugging why it happens
I can't see any legitimate reason why it's happening

Where 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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1138
No description provided.