<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Dashlet throws error when processing JSON  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287352#M240482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on a dashlet that runs a search query and returns it as JSON output. The repo web script works just fine, it's the webscript on the share side which is causing me problems. It's supposed to present an atom feed but instead throws the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.extensions.webscripts.WebScriptException - 05060009 TypeError: Cannot parse XML: Scanner State 24 not Recognized (jar:file:/usr/share/tomcat6/shared/lib/recent-docs.jar!/alfresco/site-webscripts/org/tibco/components/dashlets/recent-docs.get.js#13(eval)#1)&lt;BR /&gt; &lt;BR /&gt;org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:328)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;SPAN&gt;: Pick one URI format and stick with it, was missing a / when calling the repo script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2013 01:13:17 GMT</pubDate>
    <dc:creator>ashex</dc:creator>
    <dc:date>2013-06-07T01:13:17Z</dc:date>
    <item>
      <title>Dashlet throws error when processing JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287352#M240482</link>
      <description>I'm working on a dashlet that runs a search query and returns it as JSON output. The repo web script works just fine, it's the webscript on the share side which is causing me problems. It's supposed to present an atom feed but instead throws the following error&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.springframework.extensions.webscri</description>
      <pubDate>Fri, 07 Jun 2013 01:13:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287352#M240482</guid>
      <dc:creator>ashex</dc:creator>
      <dc:date>2013-06-07T01:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dashlet throws error when processing JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287353#M240483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does your update mean that you've solved the problem now?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 06:59:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287353#M240483</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-06-07T06:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dashlet throws error when processing JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287354#M240484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yup, I just need to sort out how to add error handling. The presentation webscript was calling the repo script with /recent-docs?site as opposed to /recent-docs/?site. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 17:38:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dashlet-throws-error-when-processing-json/m-p/287354#M240484</guid>
      <dc:creator>ashex</dc:creator>
      <dc:date>2013-06-07T17:38:26Z</dc:date>
    </item>
  </channel>
</rss>

