You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mshima you're right. It wasn't generated by jhipster, sorry about that.
I'm leaving a comment just in case anyone encounters the same issue I had:
When the extension "uuid-ossp" is created using liquibase, it will generated duplicated UUIDs even if you run queries directly in the database.
PostgreSQL has its own method to generate UUIDs so there is no need to install said extension. Replacing any calls from uuid_generate_v4() with gen_random_uuid() will solve the problem.
Overview of the issue
I have this changeSet:
and I created this test:
The test fails after generating 5 (always 5) UUIDs. This could be tested with the following test:
And failing after generating 5 UUIDs:
Motivation for or Use Case
This is a bug because UUIDs should be unique.
Reproduce the error
create the changeLog and run the test. The result will be something like this:
Related issues
None found
Suggest a Fix
JHipster Version(s)
v8.7.3
Browsers and Operating System
EndevourOS
The text was updated successfully, but these errors were encountered: