You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Chris Chabot (JIRA)" <ji...@apache.org> on 2008/06/23 22:21:45 UTC

[jira] Resolved: (SHINDIG-399) Substitutions in Preload content isnt working

     [ https://issues.apache.org/jira/browse/SHINDIG-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Chabot resolved SHINDIG-399.
----------------------------------

    Resolution: Fixed
      Assignee: Chris Chabot

The patch included a foreach type in the substituteType function, however substituteType is already called for each type so that's double double ... shame of the cpu cycles :)

Applied the gadgets/GadgetServer.php part though, thanks!

> Substitutions in Preload content isnt working
> ---------------------------------------------
>
>                 Key: SHINDIG-399
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-399
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadget Rendering Server (PHP)
>            Reporter: Gonzalo Aune
>            Assignee: Chris Chabot
>         Attachments: bug-SHINDIG-339.patch
>
>
> Example:
> <Preload href="http://www.tarot.com/rss/generate.php?code=google-ig&amp;feed=daily_horoscope&amp;sign=__UP_sign__"/>
> if we have in the url (or userPrefs) sign = "aries" it should go to url http://www.tarot.com/rss/generate.php?code=google-ig&amp;feed=daily_horoscope&amp;sign=aries
> but isnt working:
> gadgets.io.preloaded_ = {"http:\/\/www.tarot.com\/rss\/generate.php?code=google-ig&feed=daily_horoscope&sign=__UP_sign__":{"body":"...DATA...","rc":200}};
> Thanks Bruno for discover the bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.