You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Mike Pawlowski (JIRA)" <ji...@apache.org> on 2013/09/04 17:57:00 UTC

[jira] [Created] (SHINDIG-1932) Common container should have a mechanism for out-of-the-box user preference substitution

Mike Pawlowski created SHINDIG-1932:
---------------------------------------

             Summary: Common container should have a mechanism for out-of-the-box user preference substitution
                 Key: SHINDIG-1932
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1932
             Project: Shindig
          Issue Type: Bug
          Components: Java
    Affects Versions: 2.5.0-beta6, 2.5.0-update1
         Environment: Apache Tomcat 7.0.42 (64-bit)
Windows 7 64-bit SP1
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
            Reporter: Mike Pawlowski
            Priority: Minor



------------------------------------------------------------------------------------------------------------
Main Issue
------------------------------------------------------------------------------------------------------------

The common container should have some mechanism for user preference replacement out of the box (at least for default pref values).

Currently, the preference templating feature relies on the JavaScript container to do the preference value substitution / interpolation. It also allows for caching of the metadata request even if the preference values change.

------------------------------------------------------------------------------------------------------------
Related JIRA Issues
------------------------------------------------------------------------------------------------------------

[1] https://issues.apache.org/jira/browse/SHINDIG-1465
[2] https://issues.apache.org/jira/browse/SHINDIG-1926

------------------------------------------------------------------------------------------------------------
Related Shindig Mailing List Thread
------------------------------------------------------------------------------------------------------------

http://shindig-dev.markmail.org/search/?q=template%20preference#query:template%20preference+page:1+mid:7bksognivvne3g3x+state:results

------------------------------------------------------------------------------------------------------------
Background Information
------------------------------------------------------------------------------------------------------------

PROBLEM

Several external 3rd-party gadgets fail to render properly using the common
container due to the preference templating feature in Shindig.

e.g.
(1) The Daily Puppy - http://dailypuppy.com/gmod/thedailypuppy.xml
(2) NYTimes.com Top Stories -
http://widgets.nytimes.com/packages/html/igoogle/topstories.xml
(3) YouTube: http://www.gstatic.com/ig/modules/youtube/v3/youtube.xml
(4) Hamster:
http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/hamster.xml

This issue affects the following Shindig versions:
* Shindig 2.5.0 Beta 6
* Shindig 2.5.0 (final)

Note: This issue does not affect the deprecated shindig.container using the same Shindig builds & 3rd-party gadgets.

See JIRA issue for more details
https://issues.apache.org/jira/browse/SHINDIG-1926

SOLUTION (Verified)

Disable preference templating feature by adding
shindig.urlgen.use-templates-default=false to shindig.properties and
rebuilding Shindig (Recommended by Ryan). By default the common container uses templates for preferences.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira