Line breaks in XML text areas

Author Message

Dries Samyn

Wednesday 30 June 2004 3:53:02 am

Weird problem.
I am using eZ Editor for the XML areas, and I noticed that sometimes their would be a linebreak (<br />) inserted when adding an object (link to related page in this case).
I turned off the editor, and I noticed that it's actually when saving the page (Send for publishing), the system sometimes adds a linebreak to the text. For example:

my text blah <object ...

would, after publishing and editing again have become:

my text blah
<object ...

This seems to happen on specific placed in the content, not with specific object.

The only other thing I have noticed is twice the following warning when accessing the form:

Missing argument 1 for edittemplatesuffix() in c:\...\kernel\classes\datatypes\ezxmltext\ezxmlinputhandler.php on line 176

I am using version 3.4

This seems like a small bug, but it is a really annoying actually because the pages look weird. Does anybody have any ideas about what causes this?

Ekkehard Dörre

Wednesday 30 June 2004 4:06:16 am

In
design/standard/templates/content/datatype/view/ezxmltags/object.tpl

you can change block into inline view.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Dries Samyn

Wednesday 30 June 2004 4:15:57 am

That's not the problem. It's showing the objects inline, it's just sometimes adding a linebreak and sometimes it's not (even in the same field).

Dries Samyn

Thursday 01 July 2004 8:04:40 am

I still haven't found a solution to this. Has anybody any suggestions?
Or even where I should start looking? It must be while saving the data (submiting the form) that the line break must be added. I don't know where though.

Thanks,

Dries.

Dries Samyn

Friday 02 July 2004 8:55:35 am

Come on ;)
Anybody of the eZ crew? Surely I can't be the only person that experience this bug?

Dries Samyn

Tuesday 06 July 2004 4:36:43 am

Am I really the only person that has this problemn? I swear, the system is adding a line break while saving the XML field data to the DB.
And the warning above must indicate there is some kind of bug??

Dries.

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 31 2025 07:25:31
Script start
Timing: Jan 31 2025 07:25:31
Module start 'layout'
Timing: Jan 31 2025 07:25:31
Module start 'content'
Timing: Jan 31 2025 07:25:31
Module end 'content'
Timing: Jan 31 2025 07:25:31
Script end

Main resources:

Total runtime0.0173 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1250151.2109
Module start 'layout' 0.00540.0031 739.335936.6484
Module start 'content' 0.00850.0075 775.984494.2344
Module end 'content' 0.01600.0013 870.218833.9922
Script end 0.0173  904.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.8337140.0002
Check MTime0.00105.9374140.0001
Mysql Total
Database connection0.00073.891610.0007
Mysqli_queries0.003922.382130.0013
Looping result0.00000.063410.0000
Template Total0.00105.810.0010
Template load0.00084.556110.0008
Template processing0.00021.261410.0002
Override
Cache load0.00063.446410.0006
General
dbfile0.002916.535780.0004
String conversion0.00000.028940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs