Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-686

Error handling for News Tool duirng setup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1, 2.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.2.3
    • Fix Version/s: 2.3.0
    • Component/s: Worksite Setup
    • Labels:
      None
    • Environment:
      WINXP IE

      Description

      Versions: mysql, oracle, and hsqldb.

      Steps to verify:

      1. Create a site or modify an existing site in Site Info.
      2. In the "Edit Tools" section select News.
      3. Put a typo in the news feed address.
      4. Click continue.
      (see attachment for a typical result)

      An typo in the address of the news feed can result in a javascript error, which you probably don't want on an end-user page. Some of these appear in duplicate as well. Errors I've produced:

      java.io.FileNotFoundException: http://www.sakaiproject.org/cms/index3.php?option=com_rss&feed=RSS2.0&no_html=1 java.io.FileNotFoundException: http://www.sakaiproject.org/cms/index3.php?option=com_rss&feed=RSS2.0&no_html=1

      java.net.UnknownHostException: www.sakaiproject2.org java.net.UnknownHostException: www.sakaiproject2.org

      and this one, which I still haven't found the cause for or been able to reliably reproducen (seen it twice now):

      Cannot connect or obtain a file specified by the News source URL http://www.sakaiproject.org/cms/index2.php?option=com_rss&feed=RSS2.0&no_html=1.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  marith Margaret Petit (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration