Skip to content

Hibernate Session cache causing workflow issues #87

@bjagg

Description

@bjagg

Latest fixes have highlighted an issue with session caching in Admin UI.

Example 1:

  1. As admin, add a new shared calendar feed.
  2. Observe on the admin calendar list that the new feed appears.
  3. Return to 'View Calendars'
  4. Observe that the new feed is missing in view preferences.
  5. Log out and back in as admin
  6. Observe the new feed is present in view preferences.

Example 2:

  1. Delete a shared calendar feed in the Admin calendar page.
  2. Observe that the deleted calendar is still listed.
  3. Attempt to delete the calendar and observe that a error is thrown.

Flushing the EhCache does not correct this caching issue. This led me to believe it is in the Hibernate Session (as opposed to Http session). Transactions may not be set up correctly. Some experimentation with flushing and clearing the template in HibernateCalendarStore did not seem to help. Might be that the action request that does the updates but the call to get the calendar feeds is in the redirect. Also worth noting is that adding a new feed seems to manifest differently than deleting a feed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions