Publishing issue with ez3.3 beta 2, News Package

Author Message

Marco Zinn

Wednesday 10 December 2003 12:46:51 pm

If you try ez3.3 beta 2 with the news package and have problems with publishing, read this:

Please note, that the "news" package does not work as in beta 1, when you want to publish something.
In beta2, there is a "before publish content" trigger with an approval workflow. I usually use the admin user to test betas... and even the admin user cannot publish content, because it needs to be approved by the editor user.
Best option: Go to Setup->Triggers and remove the workflow from the first trigger.
If you really want to use approval: You must have a running cronjob for the workflow to work at all. And you must know, that the passwork of the user "editor" is the same as for "admin".
ez, please don't use approval workflows for the final release package.

Marco
http://www.hyperroad-design.com

Björn Dieding@xrow.de

Thursday 11 December 2003 10:16:25 am

well I think it was not wise that eZ implmented it

because

1.) dumb users don't know how it by pass it and set it up
2.) expericenced users know it so they can easily implement it

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Marco Zinn

Thursday 11 December 2003 12:17:45 pm

Hi Björn,
I agree ;) That's why i wrote the post.
Handling with beta releases is a hard job without these "traps".
I was trying to edit a poll and noticed, that it was not published. I thought "A feature? Maybe you cannot edit an open poll". Then i saw the "pending" status and tracked it down.
I'm sure, that most users will not have knowledge about setting up cron-jobs, because for low-end setups, you won't need it.

Marco
http://www.hyperroad-design.com

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 20:58:05
Script start
Timing: Jan 18 2025 20:58:05
Module start 'layout'
Timing: Jan 18 2025 20:58:05
Module start 'content'
Timing: Jan 18 2025 20:58:05
Module end 'content'
Timing: Jan 18 2025 20:58:05
Script end

Main resources:

Total runtime0.6596 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0469152.6406
Module start 'layout' 0.00510.0039 740.687539.4766
Module start 'content' 0.00900.6493 780.1641547.7734
Module end 'content' 0.65830.0012 1,327.937512.1250
Script end 0.6595  1,340.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5353160.0002
Check MTime0.00130.2000160.0001
Mysql Total
Database connection0.00060.091710.0006
Mysqli_queries0.608092.1822570.0107
Looping result0.00060.0859550.0000
Template Total0.628895.320.3144
Template load0.00230.343720.0011
Template processing0.626594.984720.3133
Template load and register function0.00010.015910.0001
states
state_id_array0.00100.156610.0010
state_identifier_array0.00090.129220.0004
Override
Cache load0.00180.2672230.0001
Sytem overhead
Fetch class attribute can translate value0.00110.163920.0005
Fetch class attribute name0.00100.151150.0002
XML
Image XML parsing0.00090.135820.0004
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00160.2451220.0001
String conversion0.00000.002040.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
5content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs