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

fix: failed to search session by deviceSecret if DB is PostgreSQL #6012

Closed
yurem opened this issue Sep 12, 2023 · 1 comment
Closed

fix: failed to search session by deviceSecret if DB is PostgreSQL #6012

yurem opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels
kind-bug Issue or PR is a bug in existing functionality

Comments

@yurem
Copy link
Contributor

yurem commented Sep 12, 2023

Filter:

        final List<SessionId> entries = persistenceEntryManager.findEntries(staticConfiguration.getBaseDn().getSessions(), SessionId.class, Filter.createEqualityFilter("deviceSecret", deviceSecret));

return 0 entries while in DB:
image

@yurem yurem self-assigned this Sep 12, 2023
@yurem yurem changed the title fix: failed to search session by deviceSecret if Db is PostgreSQL fix: failed to search session by deviceSecret if DB is PostgreSQL Sep 12, 2023
@mo-auto mo-auto added the kind-bug Issue or PR is a bug in existing functionality label Sep 12, 2023
@yurem
Copy link
Contributor Author

yurem commented Sep 12, 2023

Fixed schema

@yurem yurem closed this as completed Sep 12, 2023
yurem added a commit that referenced this issue Sep 13, 2023
* fix: failed to search session by deviceSecret if DB is PostgreSQL #6012

* feat: update LDAP samples

---------

Co-authored-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
devrimyatar pushed a commit that referenced this issue Dec 30, 2023
… (#6013)

Signed-off-by: Mustafa Baser <mbaser@mail.com>
devrimyatar pushed a commit that referenced this issue Dec 30, 2023
* fix: failed to search session by deviceSecret if DB is PostgreSQL #6012

* feat: update LDAP samples

---------

Co-authored-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants