[BUG]: update.sql not generated #1137
Labels
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1137
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?
When i change fields in the admin view "swap out one field for another" there is no update sql file generated and the version is also not incremented
Steps to reproduce the Bug
create admin view add fields. compile component. then swap out the field for another field and recompile component.
You would expect a version bump and also a sql update file being generated.
Which Joomla version are you compiling in?
5.1.1
Which PHP version are you compiling in?
8.2
Which Joomla versions are you targeting?
5.x
Which PHP version are you targeting?
8.2
Which Web server is JCB running on?
octojoom
Which Relational Database is JCB running on?
mariadb
Which OS is JCB running on?
octojoom docker instance
Which JCB version are you using?
5.0.1-alpha2
Where in JCB did this issue occur?
Compilation of a component
On which browsers did you encounter the issue?
Firefox
Additional Comments
No response
Did you do this on a the demo component? or a component that has been saved a few times? I mean does that area have history?
same on jcb 3.2.2-alpha2
no this was on the schedule component i created and it has several history versions.
i have a live test site where you could test it out yourself if you like. just message me on telegram if you want access.
I have the same problem and a similar config, I even tried to create a new component from start, it compile, install, but I get an error when I try to access any admin view says table doesn't exist. I guess is for the same not sql update problem
We are aware of this issue in Joomla 5 instance of JCB, it seems like things moved in Joomla, going to J5.1 as it worked well in J5.0
Will keep you posted once we have it resolved.
The database incrementing and updating issue has been resolved since the release of JCB v5.0.2-alpha3. With the latest JCB releases, we have found the Database and SQL Updating to be stable without any recurrence of the issue. Consequently, this issue can now be closed.