RSS import problem -- no objects in external siteaccess

Author Message

Graham Tillotson

Wednesday 10 September 2008 7:49:12 am

I just ran into a strange problem, and hopefully the fix is easy. Here is the situation, first with the working setup and then the broken setup:

(eZ Publish 4.0 running on Ubuntu)

WORKING
Create an RSS import, map the fields to the folder class, specify a destination folder, and run the cron job. The RSS items are imported properly and show up on both the admin and the external siteaccess.

BROKEN
Create a dedicated class (RSS Item) with attributes that map to a standard RSS feed. Setup a new RSS import (same as above) and map the attributes to those in the new class. Run the cron job. The RSS items are imported and show up on the admin siteaccess, but they do not appear on the external siteaccess. I can't see the new items in search results, and if I copy and paste the URL (nice or with the node ID) I get a "module not found" message on the external siteaccess.

Note that if I create an instance of an RSS Item manually I can see it as an anonymous user on the external siteaccess, which indicates that the permissions are correct. It is as if the objects imported via cron are not indexed or not known to the system.

Any ideas on how to troubleshoot this? I'm going to look through the template debug and error logs now, though I'm not sure exactly what to look for in this case.

Thanks,
Graham Tillotson
Tandem :: The Open Lifecycle Management Company

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Greg McAvoy-Jensen

Wednesday 10 September 2008 8:57:17 am

Graham,

Could it be a caching problem? Have you tried clearing the cache to see if the external site updates?

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Graham Tillotson

Wednesday 10 September 2008 9:07:04 am

Thanks for the fast response. To be sure I've cleared the cache (should have mentioned that), both through the admin interface and manually on the server. No luck there.

Note that in the working example with folders, I can go through the standard process of running the cron job, clearing the cache (may not even need that part), and then RSS items show up when mapped to folders. When mapped to the custom class of RSS Item, however, nothing shows up on the external siteaccess.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Andreas Kaiser

Wednesday 10 September 2008 11:50:39 am

Hello,

Do you mean with "external siteaccess" the public siteaccess of your site (non admin siteaccess)?

Do other content objects work, like root folder? "module not found" error could be related with roles configuration of anonymous group (read permission for sections, classes, etc)

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Graham Tillotson

Wednesday 10 September 2008 12:25:06 pm

Yes -- it is the public siteaccess (external). I agree that this looks like a permissions issue, but if that were the case I don't know how I'd get the following results:

** Create an RSS Item manually and it shows up properly (anonymous user).
** Run cron to load RSS Item objects and they don't display on the public siteaccess

I've tried editing and publishing imported RSS Item objects as well, thinking that might correct something related to the storage or the indexing, but I get the same results -- no display on the public siteaccess.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.