[BUG]: Column is default to null causing error #1169
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1169
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?
I step by step updated my Joomla 3.x site to the newest JCB 3.x version, then updated Joomla to J!4.3.3 in a series of steps (4.0.0, then 4.0.4, then 4.3.3), also updating JCB to 4.2. I then updated to J!5, and updated to JCB 5.2. I received an error that #__componentbuilder_joomla_power checked_out cannot be null. I looked at the table structure, and that column in the table was indeed set to null. I changed to not null, and it resolved the error. Joomla was also showing that table checked out, and couldn't be cleared, but once I made that change the checked out table record cleared.
Steps to reproduce the Bug
I step by step updated my Joomla 3.x site to the newest JCB 3.x version, then updated Joomla to J!4.3.3 in a series of steps (4.0.0, then 4.0.4, then 4.3.3), also updating JCB to 4.2. I then updated to J!5, and updated to JCB 5.2. I received an error that #__componentbuilder_joomla_power checked_out cannot be null. I looked at the table structure, and that column in the table was indeed set to null. I changed to not null, and it resolved the error. Joomla was also showing that table checked out, and couldn't be cleared, but once I made that change the checked out table record cleared.
Which Joomla version are you compiling in?
5.1.4
Which PHP version are you compiling in?
8.2.21
Which Joomla versions are you targeting?
5.x
Which PHP version are you targeting?
8.2
Which Web server is JCB running on?
Apache/2.4.59 (Debian)
Which Relational Database is JCB running on?
11.4.2-MariaDB-ubu2404
Which OS is JCB running on?
Ubuntu 22.04.4 LTS
Which JCB version are you using?
v5.0.2
Where in JCB did this issue occur?
Other
On which browsers did you encounter the issue?
Firefox
Additional Comments
No response
I seems I need to update our scema:
I will take a look, thank you!