1. 02 Jun, 2017 2 commits
    • Jérome Perrin's avatar
      PreferenceTool: introduce a new getActiveUserPreference method · c178b782
      Jérome Perrin authored
      This method creates a user preference if no preference exists.
      c178b782
    • Jérome Perrin's avatar
      base: drop person_interaction_workflow · 8e6c3ffe
      Jérome Perrin authored
      We do not need to pre-create user preferences, especially that creating
      them too early creates one preferences for each person created in person
      module and does not allow Person_createUserPreference to create
      preference based on person's assignments are they are not created yet.
      
      We do not need to clear cache when deleting user logins anymore. This
      problem was fixed differently.
      
      Adjust tests that was relying on cache being cleared when persons ar
      deleted:
      
      testERP5Web.TestERP5Web.test_15_Check_LastModified_Header was never
      isolated from test_14.
      
      test_14 was filling Base_getWebDocumentDrivenModificationDate cache and
      this cache got clear when the persons where being deleted during
      tearDown. When removing this interaction clearing cache, we revealed
      this weakness. Choosen solution was to clear cache before checking
      response headers, to make sure we don't get something filled by a
      previous test.
      8e6c3ffe
  2. 11 May, 2017 3 commits
  3. 09 May, 2017 1 commit
  4. 02 May, 2017 34 commits