Project

General

Profile

Actions

Bug #6586

closed

CB Activity: Migration does not save params properly

Added by krileon over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
12 April 2017
Due date:
% Done:

100%

Estimated time:

Description

Something is causing the parameters to incorrectly save for custom actions. This results in the below error as it's not parsing out to a sub params object correctly.

Fatal error: Call to a member function get() on string in /components/com_comprofiler/plugin/user/plug_cbautoactions/models/activity.php on line 53

Actions #3

Updated by krileon over 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

This is due to the params being converted to JSON before being set as the new params resulting in it converting to JSON safe string instead of storing as actual JSON. Fixed for all future migrations, but existing broken migrations can't be fixed without a manual re-save.

Actions #4

Updated by krileon over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF