rssimport + approval

Author Message

Tomas Trnka

Tuesday 28 March 2006 7:36:06 am

Hello,

i have problem with rssimport:

In workflows i have event (before publish) - Event/Approve (Sections: Standard, Users without approval: Administrator users). In RSS import i set up following: Imported objects will be owned by: Administrator User (this user is a member of Administrator users).

.. the problem is, that imported obects are not published, but moved for approve to collaboration section .. and the author is Anonymous User.

Without this settings are objects normally published with owner Administrator User.

.. any ideas, how to solve this problem?

eZPublish version: 3.7.0

Tomas Trnka

Wednesday 29 March 2006 5:35:35 am

I put this in runcronjobs.php, after the line with '$script->setUseSiteAccess( $siteaccess );'

$script->setUser('admin', '************');

I don't how good solution it is, but it works fine now.

Anybody have a better idea?

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 19 2025 07:24:56
Script start
Timing: Jan 19 2025 07:24:56
Module start 'layout'
Timing: Jan 19 2025 07:24:56
Module start 'content'
Timing: Jan 19 2025 07:24:57
Module end 'content'
Timing: Jan 19 2025 07:24:57
Script end

Main resources:

Total runtime0.7616 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 590.1641152.6094
Module start 'layout' 0.00880.0031 742.773439.4141
Module start 'content' 0.01190.7483 782.1875422.0703
Module end 'content' 0.76020.0014 1,204.25788.1875
Script end 0.7616  1,212.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4427160.0002
Check MTime0.00140.1830160.0001
Mysql Total
Database connection0.00130.168910.0013
Mysqli_queries0.717694.2192520.0138
Looping result0.00040.0558500.0000
Template Total0.724995.220.3625
Template load0.00220.287720.0011
Template processing0.722794.895620.3614
Template load and register function0.00020.028510.0002
states
state_id_array0.00170.216910.0017
state_identifier_array0.00080.100520.0004
Override
Cache load0.00180.2360150.0001
Sytem overhead
Fetch class attribute can translate value0.00090.114210.0009
Fetch class attribute name0.00100.136720.0005
XML
Image XML parsing0.00010.016010.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00080.1053100.0001
String conversion0.00000.001440.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs