Skip to main content
deleted 60 characters in body; edited tags
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

I tried to alter information from the table review_detail by loading the model, changing values and saving the model again, but being stuck.

The following code does not work:

$review=Mage::getModel('review/review')->load(12);
$review->setCustomerId(2)->save();

There is no changes made to review_detail table, no error thrown, no error in the logs either.

Thanks for any hint.

I tried to alter information from the table review_detail by loading the model, changing values and saving the model again, but being stuck.

The following code does not work:

$review=Mage::getModel('review/review')->load(12);
$review->setCustomerId(2)->save();

There is no changes made to review_detail table, no error thrown, no error in the logs either.

Thanks for any hint.

I tried to alter information from the table review_detail by loading the model, changing values and saving the model again, but being stuck.

The following code does not work:

$review=Mage::getModel('review/review')->load(12);
$review->setCustomerId(2)->save();

There is no error thrown, no error in the logs either.

Source Link

Not able to save changes to review model

I tried to alter information from the table review_detail by loading the model, changing values and saving the model again, but being stuck.

The following code does not work:

$review=Mage::getModel('review/review')->load(12);
$review->setCustomerId(2)->save();

There is no changes made to review_detail table, no error thrown, no error in the logs either.

Thanks for any hint.