Ticket #12915 (confirmed Bug)

Opened 4 years ago

Last modified 3 years ago

plone.app.collection and syndication

Reported by: glenfant Owned by:
Priority: minor Milestone: 4.x
Component: Backend (Python) Version: 4.2
Keywords: tuneup Cc:

Description

Hi,

I enable syndication on a Plone 4.2 site as usual (4.1 and before) by checking the "Visible?" on following actions :

  • portal_actions/object/syndication -> object tab to enable/disable/tweak local syndication
  • portal_actions/document_actions/rss -> RSS link if syndication locally enabled

So far, so good, it works as expected on Folders, perhaps in old styles topics too. But new style collections have de facto syndication enabled, an RSS link and no "Syndication" tab. This is not critical but somehow inconsistent with other content types with syndication.

Noted on 4.2rc1

Change History

comment:1 Changed 4 years ago by eleddy

  • Status changed from new to confirmed
  • Keywords tuneup added
  • Component changed from Unknown to Backend (Python)

confirmed. This works on old style collections but not new style. I suppose the syndication settings are important to someone.

comment:2 Changed 4 years ago by glenfant

Fast fix :

Adding the 'isPrincipiaFolderish = True' attribute to 'plone.app.collection.collection.Colection' class fixes this issue. But I didn't check any side effect.

Anyway this opens another issue since, after a fast test, I have an empty RSS feed (empty <items> sequence) channel when it should provide (at least) the items displayed in the collection view.

comment:3 Changed 3 years ago by tonim

Your empty RSS feed is the side effect, as the new-style collections are not folderish, for whatever reason. Has bitten us recently, although in a different context, too.

comment:4 Changed 3 years ago by glenfant

My context is the aws.authrss add-on  http://pypi.python.org/pypi/aws.authrss/1.0.0a2 But I'll wait for the new syndication paradigm / API provided by this plip https://dev.plone.org/ticket/12908 before achieving the development of aws.authrss.

Note: See TracTickets for help on using tickets.