Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-2453

additional parameters for gadgets are lost when the gadgets are displayed

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.7.1 Final, 2.7.0 Final, 2.7.2 Final
    • Fix Version/s: 2.7.3 Final
    • Component/s: Portal Widget
    • Labels:
      None

      Description

      There are some gadgets which require additional parameters when you add the gadget to your dashboard.
      For instance, these gadgets of Google Apps for hosted domain:

      url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgoogletalk.xml
      url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgooglemail.xml
      url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgooglecalendar.xml

      But the values of the parameters which you have input will be lost when those gadgets are displayed.

        1. script tags that jboss-portal-2.7.2 generates ##

      <script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgoogletalk.xml&synd=open&w=300&h=400&border=%23ffffff%7C3px%2C1px+none+%23999999&output=js&lang=ja&country="></script>
      <script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgooglemail.xml&synd=open&w=250&h=200&border=%23ffffff%7C3px%2C1px+none+%23999999&output=js&lang=ja&country="></script>
      <script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgooglecalendar.xml&synd=open&w=250&h=300&border=%23ffffff%7C3px%2C1px+none+%23999999&output=js&lang=ja&country="></script>

        1. script tags that jboss-portal-2.6.6 generates ##

      <script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgoogletalk.xml&synd=open&w=300&h=400&border=%23ffffff%7C3px%2C1px+none+%23999999&output=js&lang=ja&country=&up_Domain=test.com"></script>
      <script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgooglemail.xml&synd=open&w=250&h=200&border=%23ffffff%7C3px%2C1px+none+%23999999&output=js&lang=ja&country=&up_height=480&up_Domain=test.com"></script>
      <script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hostedgooglecalendar.xml&synd=open&w=250&h=300&border=%23ffffff%7C3px%2C1px+none+%23999999&output=js&lang=ja&country=&up_Domain=test.com&up_height=400&up_timeFormat=13%3A00&up_dateFormat=2"></script>

      Note: In order to reproduce it, first, you should fix org.jboss.portal.widget.google.provider.GGWidgetInfoBuilder in jboss-portal in the same way as JBEPP-109.
      https://jira.jboss.org/jira/browse/JBEPP-109
      If you want to reproduce it easily, use epp-4.3.0.GA CP02 to which JBEPP-109 has been already applyed.

      As you see, script tags which jboss-portal-2.7.2 generates don't have parameters which you have input (e.g. up_Domain).
      Those values seem to be stored in JBP_PORTAL_OBJECT_PROPS table.

      Checked versions:
      NG : 2.7.2, 2.7.1, 2.7.0, epp-4.3.0.GA CP02
      OK : 2.6.8, 2.6.6
      This problem seems to be introduced from 2.7.x

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mageshbk Magesh Bojan
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: