8000 JPA Map storage doesn't increment version column on attribute update · Issue #9874 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
8000

JPA Map storage doesn't increment version column on attribute update #9874

Description

@ahus1

Describe the bug

When updating an attribute for example with a client, the version in the client table should be updated as well.

This way it ensures that no-one else updated any other attribute in the meantime.

Version

17.0.0-SNAPSHOT

Expected behavior

Version number should be updated when an attribute changes

Actual behavior

No change in the version number, as the relation is owned by the "Many" side.

How to Reproduce?

  • Enable JPA Map storage for clients
  • Edit a client attribute like "Backchannel Logout Session Required"
  • look at the client table and see if the version changes

Anything else?

This is been found when implementing #9645

Activity

  1. added
    kind/bug
    area/storage
    on Jan 28, 2022
  2. self-assigned this
    on Jan 28, 2022
  3. ahus1 commented on Jan 31, 2022

    @ahus1
    MemberAuthor

    This is waiting for #9761 to be merged first.

  4. added a commit that references this issue on Jan 31, 2022
    b627e46
  5. added a commit that references this issue on Feb 1, 2022
    9d46b45
  6. moved this to Todo in Storageon Feb 1, 2022
  7. moved this from Todo to Done in Storageon Feb 1, 2022
  8. added this to the 17.0.0 milestone on Feb 2, 2022
  9. added a commit that references this issue on Feb 2, 2022
    165791b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/storagekind/bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

  • Status
    ✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

0