RSS import generates duplicates

Author Message

Kevin Gaudin

Monday 05 October 2009 2:19:24 am

I'm running a site on v3.8.6. (Migration to v.4.0 is planned to november)

Is there a reason why RSS Import would duplicate some entries from this feed ?
http://www.toulouse.fr/web/guest/actualite/lire/-/journal/rss/10128/ACTUALITES

All duplicated entries have guid formed this way :

<item>
      <title>Mobilisation pour un référendum sur le service public postal</title>
      <link>http://www.toulouse.fr/web/guest/actualite/lire/-/journal_content/56_INSTANCE_3iH6/10128/1436279</link>
      <description />
      <pubDate>Fri, 02 Oct 2009 13:05:00 GMT</pubDate>
      <guid>http://www.toulouse.fr/web/guest/actualite/lire/-/journal_content/56_INSTANCE_3iH6/10128/1436279</guid>
      <dc:creator>Léonard Lemince</dc:creator>
      <dc:date>2009-10-02T13:05:00Z</dc:date>
    </item>

Whereas those which are not duplicated are formed this way :

    <item>
      <title>Le site de la semaine!</title>
      <link>http://www.toulouse.fr/web/guest/economie/innovation-technologies-de-l-information</link>
      <description />
      <pubDate>Thu, 01 Oct 2009 13:51:00 GMT</pubDate>
      <guid>http://www.toulouse.fr/web/guest/economie/innovation-technologies-de-l-information</guid>
      <dc:creator>Djet 27</dc:creator>
      <dc:date>2009-10-01T13:51:00Z</dc:date>
    </item>

Any hint welcome... I did not find anything regarding this in issues.ez.no.

Thanks !

Twitter: @kevingaudin

Kevin Gaudin

Monday 05 October 2009 2:26:01 am

For each duplicate entry, eZ seems to add a different "jsessionid" to the link ! :

First entry :
http://www.toulouse.fr/web/guest/actualite/lire/-/journal_content/56_INSTANCE_3iH6/10128/1436279;jsessionid=1E0169E94E9694BD6D0AA2E15A2F46B0

Duplicate :
http://www.toulouse.fr/web/guest/actualite/lire/-/journal_content/56_INSTANCE_3iH6/10128/1436279;jsessionid=300C982D2BD28725BC61A1396C801A9A

This jsessionid does not appear anywhere in the original feed !

Twitter: @kevingaudin

Kevin Gaudin

Monday 05 October 2009 5:33:13 am

Well, after further investigation, it looks like a bug from liferay (generator of the rss feed) which puts these jsessionid values when called from a cookieless client.

Twitter: @kevingaudin

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

eZ debug

Timing: Jan 18 2025 11:26:05
Script start
Timing: Jan 18 2025 11:26:05
Module start 'layout'
Timing: Jan 18 2025 11:26:05
Module start 'content'
Timing: Jan 18 2025 11:26:06
Module end 'content'
Timing: Jan 18 2025 11:26:06
Script end

Main resources:

Total runtime0.8065 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9141152.6250
Module start 'layout' 0.00610.0030 740.539139.4453
Module start 'content' 0.00910.7961 779.9844508.5391
Module end 'content' 0.80520.0013 1,288.523412.1641
Script end 0.8065  1,300.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3966160.0002
Check MTime0.00140.1769160.0001
Mysql Total
Database connection0.00130.156810.0013
Mysqli_queries0.756293.7635550.0137
Looping result0.00050.0654530.0000
Template Total0.774696.020.3873
Template load0.00210.259620.0010
Template processing0.772595.774920.3862
Template load and register function0.00010.015010.0001
states
state_id_array0.00090.106910.0009
state_identifier_array0.00120.150420.0006
Override
Cache load0.00180.2219240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.102710.0008
Fetch class attribute name0.00130.156140.0003
XML
Image XML parsing0.00040.055110.0004
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00070.0891160.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs