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

eZ Star Rating ignoring ForceStart=disabled

    XMLWordPrintable

Details

    Description

      eZ Star Rating starts anonymous session even if ForceStart is set to disabled.
      This shouldn't not happen.

      The problem seems to be in lines 134 and 194

      135: if ( $http->hasSessionVariable('ezsrRatedAttributeIdList') )
      194: if ( $http->hasSessionVariable('ezsrRatedAttributeIdList') )
      

      Since hasSessionVariable starts a new session unless used used in the following way

      hasSessionVariable('ezsrRatedAttributeIdList',false)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 3 days, 2 hours
                3d 2h