AllowEmpty not working

Author Message

Max Abakumov

Monday 08 August 2011 3:09:17 am

Hi people!

I installed the new version of ez (http://share.ez.no/download-develop/downloads/ez-publish-community-project-2011.6#platform) and i have a problem with empty paragraph. In content.ini we have an attribute "AllowEmpty" and if it = false then empty paragraph will be ignored. But it's not working

Have you any ideas how to solve this problem?

 

Thanks)

Robin Muilwijk

Monday 08 August 2011 11:29:09 am

Hi Max,

I'm not sure from your description what exactly is not working. But just in case, there is no "Required=true" somewhere superseding the AllowEmpty?

See http://doc.ez.no/Extensions/eZ-Publish-extensions/Online-Editor/5.x/Settings/Configuration-settings-ezoe_attributes.ini#allowempty.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Max Abakumov

Wednesday 10 August 2011 3:05:17 am

Hi Robin!

I check - there no "Required=true". 

What else could be the problem? For example, in version 4.4 everything works fine under the same settings

 

Regards Max

Robin Muilwijk

Monday 22 August 2011 11:42:23 am

Hi Max,

Sorry for the late reply. I'll ask around, assuming you still have this problem?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

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 17 2025 23:46:42
Script start
Timing: Jan 17 2025 23:46:42
Module start 'layout'
Timing: Jan 17 2025 23:46:42
Module start 'content'
Timing: Jan 17 2025 23:46:43
Module end 'content'
Timing: Jan 17 2025 23:46:43
Script end

Main resources:

Total runtime0.8682 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.0313152.6250
Module start 'layout' 0.00450.0020 741.656339.4688
Module start 'content' 0.00640.8600 781.1250551.5000
Module end 'content' 0.86640.0017 1,332.625012.1719
Script end 0.8681  1,344.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3358160.0002
Check MTime0.00120.1398160.0001
Mysql Total
Database connection0.00060.066810.0006
Mysqli_queries0.822094.6837620.0133
Looping result0.00050.0596600.0000
Template Total0.846797.520.4234
Template load0.00200.234120.0010
Template processing0.844797.295620.4223
Template load and register function0.00010.014410.0001
states
state_id_array0.00060.068410.0006
state_identifier_array0.00070.075720.0003
Override
Cache load0.00170.1949270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.074020.0003
Fetch class attribute name0.00090.100750.0002
XML
Image XML parsing0.00070.083620.0004
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00070.0819180.0000
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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.0002 secs