[BUG]: Error: Field 'extendsinterfaces' doesn't have a default value #1139

Closed
opened 2024-06-07 16:02:51 +00:00 by Lemuel · 1 comment
Member

What Happened?

When Compiling the Demo Component during the compiling process I get the following error: Error 1364: Field 'extendsinterfaces' doesn't have a default value
Here is the call stack: image:

Steps to reproduce the Bug

Compile the demo component in Joomla Component Builder v5.0.1-alpha3 after a fresh install, or initialize the powers.

Which Joomla version are you compiling in?

v5.1.0

Which PHP version are you compiling in?

v8.2

Which Joomla versions are you targeting?

v5.1.0

Which PHP version are you targeting?

8.2

Which Web server is JCB running on?

Apache 2.4

Which Relational Database is JCB running on?

Mysqli Latest

Which OS is JCB running on?

Ubuntu 22.04

Which JCB version are you using?

v5.0.1-alpha3

Where in JCB did this issue occur?

Compilation of a component

On which browsers did you encounter the issue?

Firefox

Additional Comments

Here is the field extendsinterface in the componentbuilder_power table of the database and as one can see, it has a default value of None while it is set to not NULL

image

Changing that database value to NULL fixed the issue.

### What Happened? When Compiling the Demo Component during the compiling process I get the following error: `Error 1364: Field 'extendsinterfaces' doesn't have a default value` Here is the call stack: ![image:](https://git.vdm.dev/attachments/525acdaa-d446-40cf-be2b-d76bacd88fb8) ### Steps to reproduce the Bug Compile the demo component in Joomla Component Builder v5.0.1-alpha3 after a fresh install, or initialize the powers. ### Which Joomla version are you compiling in? v5.1.0 ### Which PHP version are you compiling in? v8.2 ### Which Joomla versions are you targeting? v5.1.0 ### Which PHP version are you targeting? 8.2 ### Which Web server is JCB running on? Apache 2.4 ### Which Relational Database is JCB running on? Mysqli Latest ### Which OS is JCB running on? Ubuntu 22.04 ### Which JCB version are you using? v5.0.1-alpha3 ### Where in JCB did this issue occur? Compilation of a component ### On which browsers did you encounter the issue? Firefox ### Additional Comments Here is the field `extendsinterface` in the componentbuilder_power table of the database and as one can see, it has a default value of `None` while it is set to `not NULL` ![image](https://git.vdm.dev/attachments/d1a25f56-d1e6-4ec4-ac9b-afd4e0a43a2d) Changing that database value to `NULL` fixed the issue.
Lemuel added the
Bug
label 2024-06-07 16:02:51 +00:00
Author
Member

In the new release of Joomla Component Builder v5.0.1-alpha4 this issue has been fixed and it can be closed.

The extendsinterface field in the database with a fresh install looks like this:

image

In the new release of [Joomla Component Builder v5.0.1-alpha4](https://git.vdm.dev/joomla/pkg-component-builder/src/tag/v5.0.1-alpha4) this issue has been fixed and it can be closed. The `extendsinterface` field in the database with a fresh install looks like this: ![image](https://git.vdm.dev/attachments/f22d4fc9-4a90-411f-a6cf-b7f3dfaef777)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#1139
No description provided.