Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52317

Empty RSS xml is produced in Asset Publisher on 6.2.x

    Details

      Description

      Reproduction steps:

      1. Start the portal with the following properties:
        asset.publisher.permission.checking.configurable=true
        asset.publisher.search.with.index=false
        
      2. Deploy Calendar portlet
      3. Add an asset publisher (it can be left empty)
      4. edit the asset publisher configuration and enable rss subscription with default parameters
      5. Make sure "Enable Permissions" is unchecked at the Asset Publisher configuration under Display Settings
      6. Save the configuration and click the RSS link

      Expected: a proper RSS XML opened as xml or feed depending on browser and settings

      Actual result: an empty XML (see attached screenshots)

      Root cause: CalendarResource asset type does not have asset renderer, which causes a caught NPE during generating the RSS feed, resulting in an empty feed

        Attachments

        1. chrome_malformed_rss_xml.png
          chrome_malformed_rss_xml.png
          81 kB
        2. firefox_malformed_xml.png
          firefox_malformed_xml.png
          48 kB
        3. fixed-display on Chrome.png
          fixed-display on Chrome.png
          110 kB
        4. fixed-display on FireFox.png
          fixed-display on FireFox.png
          24 kB
        5. fixed-display on IE9.png
          fixed-display on IE9.png
          78 kB
        6. ie_11_malformed_rss_xml.png
          ie_11_malformed_rss_xml.png
          139 kB
        7. IE9.PNG
          IE9.PNG
          98 kB

          Issue Links

            Activity

              People

              Assignee:
              felix.zhang Felix Zhang
              Reporter:
              zsolt.olah Zsolt Oláh (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 47 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE