Skip to content
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

ResetAutoIncrementField() was likely never called #1161

Closed
bschmalhofer opened this issue Aug 3, 2021 · 2 comments
Closed

ResetAutoIncrementField() was likely never called #1161

bschmalhofer opened this issue Aug 3, 2021 · 2 comments
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@bschmalhofer
Copy link
Contributor

When migrating to a PostgreSQL based installation of OTOBO, there is a problem in that the serial sequences are not updated. It is not clear whether this has ever worked, it's quite possible that the updating of the sequences never has worked.
The feature is implemented with the method ResetAutoIncrementField() which is only needed, and implemented, for PostgreSQL and Oracle. Therefore there is a check whether this method is available. It looks like the check was done on the wrong object and ResetAutoincrementField()was never called.

@bschmalhofer bschmalhofer added the bug Something isn't working as intended label Aug 3, 2021
@bschmalhofer bschmalhofer added this to the OTOBO 10.0.12 milestone Aug 3, 2021
@bschmalhofer bschmalhofer self-assigned this Aug 3, 2021
bschmalhofer added a commit that referenced this issue Aug 4, 2021
bschmalhofer added a commit that referenced this issue Aug 4, 2021
bschmalhofer added a commit that referenced this issue Aug 4, 2021
@bschmalhofer
Copy link
Contributor Author

See also #1149 and #1166.

@bschmalhofer
Copy link
Contributor Author

The tests last week looked fine. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant