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

Cache not being cleared when creating object state

    Details

      Description

      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

          Activity

          Eduardo Fernandes (Inactive) created issue -
          Eduardo Fernandes (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Lopes (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Gunnstein Lye made changes -
          Description If a new ObjectState is created, you can 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 nor 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

          h3. 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
          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 nor 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

          h3. 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
          Gunnstein Lye made changes -
          Description 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 nor 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

          h3. 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
          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

          h3. 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
          Petar Spanja (Inactive) made changes -
          Assignee Petar Spanja [ petar.spanja@ez.no ]
          Petar Spanja (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Petar Spanja (Inactive) made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Petar Spanja (Inactive) made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Petar Spanja (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Petar Spanja [ petar.spanja@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Joao Pingo (Inactive) made changes -
          Assignee Pedro Resende [ pedro.resende@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) made changes -
          Rank Ranked higher
          Joao Pingo (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Joao Pingo (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 2 hours [ 7200 ]
          Worklog Id 48201 [ 48201 ]
          Joao Pingo (Inactive) made changes -
          Link This issue is blocked by EZP-22749 [ EZP-22749 ]
          Joao Pingo (Inactive) made changes -
          Time Spent 2 hours [ 7200 ] 6 hours [ 21600 ]
          Worklog Id 48226 [ 48226 ]
          Joao Pingo (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ] 1 hour [ 3600 ]
          Time Spent 6 hours [ 21600 ] 5 hours [ 18000 ]
          Worklog Id 48226 [ 48226 ]
          Joao Pingo (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          André Rømcke made changes -
          Assignee Petar Spanja [ petar.spanja@ez.no ]
          Joao Inacio (Inactive) made changes -
          Summary Cache not being cleared with object state creating Cache not being cleared when creating object state
          Joao Pingo (Inactive) made changes -
          Remaining Estimate 1 hour [ 3600 ] 0 minutes [ 0 ]
          Time Spent 5 hours [ 18000 ] 7 hours [ 25200 ]
          Worklog Id 48443 [ 48443 ]
          André Rømcke made changes -
          Fix Version/s 5.1 [ 11280 ]
          Fix Version/s 5.3 [ 11282 ]
          Fix Version/s 5.2 [ 12582 ]
          André Rømcke made changes -
          Affects Version/s 5.2 [ 12582 ]
          Affects Version/s 5.1 [ 11280 ]
          Affects Version/s 5.3 [ 11282 ]
          André Rømcke made changes -
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Fix Version/s 5.3.1 [ 13482 ]
          Petar Spanja (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Petar Spanja (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Petar Spanja [ petar.spanja@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Joao Pingo (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          Yannick Roger (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Joao Pingo (Inactive) made changes -
          Time Spent 7 hours [ 25200 ] 1 day, 2 hours [ 36000 ]
          Worklog Id 48649 [ 48649 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Joao Pingo (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Yannick Roger [ yannick.roger@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
          Yannick Roger (Inactive) made changes -
          Affects Version/s 5.1 [ 11280 ]
          Joao Pingo (Inactive) made changes -
          Assignee Joao Pingo [ joao.pingo@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Joao Pingo (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Joao Pingo (Inactive) made changes -
          Comment [ QA Approved ]
          Joao Pingo (Inactive) made changes -
          Status Reopened [ 4 ] Confirmed [ 10037 ]
          Joao Pingo (Inactive) made changes -
          Status Confirmed [ 10037 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 2 hours [ 36000 ] 1 day, 3 hours, 45 minutes [ 42300 ]
          Worklog Id 48827 [ 48827 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 3 hours, 45 minutes [ 42300 ] 1 day, 6 hours, 45 minutes [ 53100 ]
          Worklog Id 48828 [ 48828 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 6 hours, 45 minutes [ 53100 ] 1 day, 7 hours, 15 minutes [ 54900 ]
          Worklog Id 48833 [ 48833 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 7 hours, 15 minutes [ 54900 ] 2 days, 1 hour, 15 minutes [ 62100 ]
          Worklog Id 48863 [ 48863 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 2 days, 1 hour, 15 minutes [ 62100 ] 2 days, 4 hours, 15 minutes [ 72900 ]
          Worklog Id 48866 [ 48866 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 63147 ] EZ* Development Workflow [ 85034 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85034 ] EZEE Development Workflow [ 123804 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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