-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something not working on database joins (postgresql) #4431
Comments
Hi @martino-zito, thanks for reporting this, I can reproduce, will get a fix out asap. |
…fying join type as string is old which doesn't work in latest versions of knex.
…fying join type as string is old which doesn't work in latest versions of knex.
Hi @martino-zito 1.0.59 has been released (https://github.com/Budibase/budibase/releases/tag/v1.0.59) you should be able to update to the latest image now. |
@mike12345567 i think that something has gone wrong after the fix. Or that the revert is partial. I've updated to 1.0.59 and as a side effect i'm now unable to create any query on postgres. The preview api is failing and complains for a validation error. i think that the client is sending parameters (name and schema) that are not allowed on the server side. removing them and curling the right payload the preview response comes back `ERROR [1644644299532] (51 on 6d431d844748): Invalid body - "schema" is not allowed
Trace: BadRequestError: Invalid body - "schema" is not allowed
INFO [1644644299567] (51 on 6d431d844748): request completed
this is the stacktrace on the bbapp side. i think that the solution is here 7bab54b |
Hi @martino-zito - we've release 1.0.62 that should resolve this issue. |
…fying join type as string is old which doesn't work in latest versions of knex.
Describe the bug
i have just upgraded from 1.0.46 version to 1.0.57 and the relationship between tables have stopped working. When a relationship between two tables exist if you browse the related entry and the foreign key is missing (null on database) the related row is not displayed
es.
artist table
id | name | surname | role_id
1 | john | smith | null
band table
id | band name
1 | Smiths&sons
in this case if you set an existing relationship on band table with artist table in the artist data section you will see no rows at all.
It seems to me that instead of a left outer join a inner join is used.
The text was updated successfully, but these errors were encountered: