[BUG]: update.sql not generated #1137

Closed
opened 2024-05-31 18:59:12 +00:00 by Tom van der Laan · 7 comments

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

### 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_
Tom van der Laan added the
Bug
label 2024-05-31 18:59:12 +00:00
Owner

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?

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?
Member

same on jcb 3.2.2-alpha2

same on jcb 3.2.2-alpha2
Author
Member

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?

no this was on the schedule component i created and it has several history versions.

> 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? no this was on the schedule component i created and it has several history versions.
Author
Member

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

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
Owner

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.

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

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.

The database incrementing and updating issue has been resolved since the release of JCB [v5.0.2-alpha3](https://git.vdm.dev/joomla/pkg-component-builder/releases/tag/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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#1137
No description provided.