Ticker fails is LINK attribute is missing
Bug #1076772 reported by
Dan Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
High
|
Dan Garner |
Bug Description
It would seem that 1.4.0 requires that the RSS feed contain <link></link> for all item fields or the following error is generated.
Rss - LoadRssIntoTempFile
Message:Index was out of range. Must be non-negative and less than the size of the collection.
It would be nice if the new version did not require this field, as some of our RSS sources do not contain this field.
Related branches
lp:~dangarner/xibo/client-141
- Xibo Maintainters: Pending requested
-
Diff: 2701 lines (+1471/-272) (has conflicts)40 files modifiedclient/dotNET/MainForm.cs (+40/-3)
client/dotNET/OptionForm.Designer.cs (+46/-18)
client/dotNET/OptionForm.cs (+2/-0)
client/dotNET/Properties/Settings.Designer.cs (+13/-1)
client/dotNET/Properties/Settings.settings (+4/-1)
client/dotNET/Region.cs (+2/-0)
client/dotNET/Resources/HtmlTemplate.htm (+24/-16)
client/dotNET/Rss.cs (+45/-31)
client/dotNET/Text.cs (+7/-4)
client/dotNET/Video.cs (+4/-1)
client/dotNET/WebContent.cs (+20/-3)
client/dotNET/XiboClient.csproj (+12/-0)
client/dotNET/app.config (+4/-1)
client/offline/XiboOfflineDownload.py (+1/-1)
client/python-installer/xibo-1.4.0-ubuntu.all-pyclient.sh (+1/-1)
client/python/XiboClient.py (+4/-0)
server/install/database/60.sql (+33/-0)
server/lib/app/kit.class.php (+28/-2)
server/lib/app/session.class.php (+14/-0)
server/lib/include.php (+2/-2)
server/lib/js/core.js (+11/-1)
server/lib/js/layout.js (+40/-8)
server/lib/js/mediamanager.js (+23/-1)
server/lib/modules/module.class.php (+188/-0)
server/lib/pages/content.class.php (+41/-28)
server/lib/pages/group.class.php (+7/-1)
server/lib/pages/layout.class.php (+278/-120)
server/lib/pages/module.class.php (+1/-4)
server/lib/pages/region.class.php (+102/-1)
server/lib/pages/report.class.php (+16/-3)
server/lib/pages/template.class.php (+8/-1)
server/lib/pages/transition.class.php (+257/-0)
server/lib/pages/user.class.php (+9/-2)
server/locale/dbtranslate.php (+8/-0)
server/modules/module_user_general.php (+64/-0)
server/template/css/xibo.css (+35/-8)
server/template/pages/campaign_view.php (+0/-1)
server/template/pages/dataset_view.php (+0/-1)
server/template/pages/layout_edit.php (+1/-7)
server/template/pages/transition_view.php (+76/-0)
- Xibo Maintainters: Pending requested
-
Diff: 678 lines (+223/-79)13 files modifiedclient/dotNET/MainForm.cs (+40/-3)
client/dotNET/OptionForm.Designer.cs (+46/-18)
client/dotNET/OptionForm.cs (+2/-0)
client/dotNET/Properties/Settings.Designer.cs (+13/-1)
client/dotNET/Properties/Settings.settings (+4/-1)
client/dotNET/Region.cs (+2/-0)
client/dotNET/Resources/HtmlTemplate.htm (+24/-16)
client/dotNET/Rss.cs (+45/-31)
client/dotNET/Text.cs (+7/-4)
client/dotNET/Video.cs (+4/-1)
client/dotNET/WebContent.cs (+20/-3)
client/dotNET/XiboClient.csproj (+12/-0)
client/dotNET/app.config (+4/-1)
Changed in xibo: | |
milestone: | none → 1.4.1 |
Changed in xibo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have included a sample of XML that doesn't work, verses a sample of XML that does. Sorry I can't provide a server, our servers using this are internal only.
Not working....
<?xml version="1.0" encoding= "ISO-8859- 1" ?>
<rss version="2.0">
<channel> Example1< /title> Example of Not Working< /description> n>Some Random Description< /description> n>Some Random Description< /description>
<title>
<description>
<item>
<title>Some Random Title</title>
<descriptio
</item>
<item>
<title>Some Random Title</title>
<descriptio
</item>
</channel>
</rss>
Working.....
<?xml version="1.0" encoding= "ISO-8859- 1" ?>
<rss version="2.0">
<channel> Example1< /title> Example of Not Working< /description> n>Some Random Description< /description> n>Some Random Description< /description>
<title>
<description>
<item>
<title>Some Random Title</title>
<link></link>
<descriptio
</item>
<item>
<title>Some Random Title</title>
<link></link>
<descriptio
</item>
</channel>
</rss>