Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
R Review and Rating Application
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Sigsiu.NET GmbH
  • Review and Rating Application
  • Issues
  • #11

Closed
Open
Created Jun 23, 2022 by Sławek Sikora@SikorReporter

Can't edit own reviews on the front-end when anonymous rating is disabled

Trying to edit own review from the front-end generate following error: 0 Incorrect double value: '' for columnsikorasobipro_test3.osrs4_sobipro_sprr_review.oar` at row 1

  • Call stack
  • Function Location

  • 1 () JROOT/libraries/sobi/Application/Joomla/Database/MySQLi.php:1115
  • 2 Sobi\Application\Joomla\Database\MySQLi->exec() JROOT/libraries/sobi/Application/Joomla/Database/MySQLi.php:689
  • 3 Sobi\Application\Joomla\Database\MySQLi->update() JROOT/components/com_sobipro/lib/models/review.php:875
  • 4 SPReview->saveReview() JROOT/components/com_sobipro/lib/ctrl/review.php:297
  • 5 SPRevRatingCtrl->submit() JROOT/components/com_sobipro/lib/ctrl/review.php:65
  • 6 SPRevRatingCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
  • 7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
  • 8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
  • 9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
  • 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
  • 11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:204
  • 12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:243
  • 13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
  • 14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
  • 15 require_once() JROOT/index.php:32 `

This problem happens only when anonymous rating is disabled, seems like this function treat logged in user same as visitor.

Assignee
Assign to
3.0 Beta
Milestone
3.0 Beta
Assign milestone
Time tracking

footer

Legal Notice / Impressum | Data Protection / Datenschutzinformation