Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22836

Cache not being cleared when creating object state



      If a new ObjectState is created, you can't create a role that uses it to limit any function because it's not displayed, giving the impression the ObjectState does not exist.

      This happens because the cache is not being cleaned after the ObjectState creation. If you clean the caches manually, the ObjectState Will be displayed on the policies limitation.

      Note: This problem started to happen on eZ Publish 5.1

      Steps to Reproduce

      1) Create a new ObjectState with two values: true/false
      2) Edit the admin role and try to add a new Content\edit policy, limited by ObjectState true.
      3) The ObjectStates column won't be displayed
      4) Clear the caches
      5) Now it's possible to choose the ObjectState

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          1m 18s 1 eduardo.fernandes@ez.no 09/May/14 5:49 PM
          Confirmed Confirmed InputQ InputQ
          2d 18h 45m 1 Paulo Lopes (Inactive) 12/May/14 12:34 PM
          Development Development Development Review Development Review
          21h 2m 1 Petar Spanja (Inactive) 13/May/14 2:09 PM
          Development Review Development Review Development Review done Development Review done
          1d 22h 30m 1 Petar Spanja (Inactive) 15/May/14 12:39 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          1m 59s 1 Petar Spanja (Inactive) 15/May/14 12:41 PM
          QA QA InputQ InputQ
          11d 1h 17m 3 Joao Pingo (Inactive) 06/Jun/14 5:16 PM
          InputQ InputQ Development Development
          4d 5h 34m 4 yannick.roger@ez.no 06/Jun/14 5:43 PM
          Development Development Documentation Review done Documentation Review done
          7d 1h 54m 3 yannick.roger@ez.no 09/Jun/14 10:56 AM
          Documentation Review done Documentation Review done QA QA
          2d 22h 8m 4 Joao Pingo (Inactive) 09/Jun/14 3:03 PM
          QA QA Closed Closed
          57m 37s 1 Joao Pingo (Inactive) 09/Jun/14 4:01 PM
          Reopened Reopened Confirmed Confirmed
          1m 12s 1 Joao Pingo (Inactive) 09/Jun/14 4:10 PM
          Confirmed Confirmed Closed Closed
          24s 1 Joao Pingo (Inactive) 09/Jun/14 4:11 PM
          Closed Closed Reopened Reopened
          13d 15h 29m 6 Petar Spanja (Inactive) 23/Jun/14 7:32 AM
          Reopened Reopened Closed Closed
          6s 5 Petar Spanja (Inactive) 23/Jun/14 7:32 AM


            • Assignee:
              Eduardo Fernandes (Inactive)
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created:

                Time Tracking

                Original Estimate - Not Specified
                Not Specified
                Remaining Estimate - 0 minutes
                Time Spent - 2 days, 4 hours, 15 minutes
                2d 4h 15m