Skip to content

HTS-64 refactor defaultparty

Raphael Mäder requested to merge HTS-64-refactor-defaultparty into master

Created by: ssokolenko

  • HTS-64 Refactor DefaultParty

    The DefaultParty in play-cms had flawed "party preferences" implementation which lead to JPA errors (entity out of sync, etc), also the DefaultParty had other small issues like public class attributes, use of JPA APIs inside entity, etc. In this commit the major functionality related to preferences is refactored, and the following commits will fix found issues during testing.

  • HTS-64 Simplify Party Preferences model

    Remove PreferenceType and PreferenceOption and use simple String values instead.

  • HTS-64 Improve preferences API

  • HTS-64 Adopt actions to new party preferences api (in progress)

  • HTS-64 Fix wrong uses of Party Preferences APIs

  • HTS-64 Fix compilation and runtime errors after refactoring Party Preferences APIs

    • persist Preference#options in String field as Embeedded objects with ElementCollection cannot be stored in ElementCollection of another entity
    • remove User#getCurrent as it introduces unwanted static dependency

Merge request reports