Uploaded image for project: 'Magnolia RSS Aggregator Module'
  1. Magnolia RSS Aggregator Module
  2. MGNLRSSAGG-117

Importing an RSS feed fails because of missing required metaData

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • 2.2.x
    • 1.4.3
    • rss_importer

      While importing an RSS feed the recreateFeedChannelNode method of RSSFeedImportHandler is called and calls NodeUtil.createPath to create a node for the channel with the dataItemNode node type.

      This ends with an exception in ItemSaveOperation.validateTransientItems because this method checks for mandatory child nodes (line 554) and the data:/rssaggregator/news/data node doesn't have a MetaData node.

      Indeed magnolia-module-data-nodetypes.xml defines mgnl:metaData as a required child node definition for the dataItemNode node type.

      We are using RSS Aggregator module 1.4.5 and Data module 1.7.7.

      Should a migration task add metaData to dataItemNode nodes or shouldn't metaData be required for these nodes?

        Acceptance criteria

              Unassigned Unassigned
              breun Nils Breunese
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: