-
Notifications
You must be signed in to change notification settings - Fork 447
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
Possible incompatibility when inserting new entries via mapper on PostgreSQL #1192
Comments
there's nothing screwed-up... if there's an issue with postgreSQL, we will find it... but no one it helped when you spread your anger around here. |
It was a fix for an issue that has clearly not being tested with PostgreSQL. Now please post the actual problem instead of blaming people for not testing stuff beforehand. |
@stehlo1 you don't need write in your comments that you'll delete them shortly... I can do that for you! Please only post comments that'll help solving the issue and are fine to be archived. |
Hello Guys, I confirm that with |
Exactly. In PostgreSQL 9.6 when I call in Release 3.7.2 it behaves similar to after saving the entry properly. So I have to do the extra step - load the entity by some other Unique identificator (if any available) :-/ Initial setup: |
Going from release 3.6 to 3.7-3-dev from 2 days ago. PostgreSQL 10 & 11
Note the id field of table scenario is defined as in release 3.6 this works fine (inserting a new or updating the relevant record) Workaround : I stop touching the ID field altogether in my php code otherwise
HTH |
You don't need to change your app code, it was a false assumption with a quick fix I did. I'll try to implement @xfra35 ´s suggestion from #1175 (comment) which then will properly find and track autoincrement fields. |
alright... so I came up with this fix in the latest commit.. if anyone want to test that please too? I've checked it in mysql, sqlite, and postgre... sql server only in fiddle and should be fallback fine to previous behaviour in oracle and others. |
@ikkez At first glance and for my use case, your latest commit seems to be working fine. I leave it in place in my source tree and report back in the next few days to see if there are any other issues. |
until release of 3.7.3 I had to set composer to
Is the last statemt saying that we should rather go for |
should be enough, @slavino |
Loading composer repositories with package information Problem 1 aaaargh... Please perform a release of 3.7.3 :) |
Try: |
Latest fix should solve this issue.. Please reopen if problem persists. |
So you already released it in 3.7.3 ? |
I was about to report the same issue. I'm wondering if there is some estimated release date for
|
As reported by @stehlo1. There seems to be an issue with this change. f3-factory/fatfree-core@5ba562f
@stehlo1 please commend below with a proper error description.
The text was updated successfully, but these errors were encountered: