Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30316

Opensocial gadget setprefs feature doesn't save preferences

    Details

      Description

      OpenSocial gadgets using the "setprefs" feature won't be able to save preferences. A javascript error like the following will occur: "Uncaught TypeError: Cannot set property 'counter' of null".

      The attached xml is a sample gadget that demonstrates the problem. Every time "Count" is pressed when the page is refreshed, the message should increment with "The count is x". Currently, the value always stays at 0 and an error is logged in the console.

        Attachments

          Activity

            People

            Assignee:
            ginson.ren Ginson Ren
            Reporter:
            dennis.ju Dennis Ju
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 29 weeks, 6 days ago

                Packages

                Version Package
                6.1.30 EE GA3
                6.2.0 CE M2