4.3 class attribute sort_order bug ?

Author Message

H-Works Agency

Monday 25 October 2010 7:41:27 am

Hello,

I am having a pretty scary problem on two 4.3 installations :

If i add an attribute - to a product class - then hit attribute order bottom arrow then it leads to an empty page and my class attributes are totally messed up.

Prices becomes ezxml, ezstrings becomes date....Does anyone ever seen this ?

Can this be related to the new admin theme & functions about attribute sorting ?

EZP is Great

Nicolas Pastorino

Monday 25 October 2010 10:21:31 am

Hi Martin,

It this a behavior you can systematically reproduce ? If yes, i'd suggest filing an issue for this : http://issues.ez.no/ezpublish. I could not find any matching one. Also, are you using a modified Administration Interface ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

H-Works Agency

Monday 25 October 2010 11:18:02 am

Hi Nicolas,

Yes it reproduce everytime. Those 4.3 siteaccesses have some custom tpl files loaded but not the new 4.3 admin theme.

Its very strange.

Hopefully i managed to repair by hand the attribute order directly in ezcontentclass_attributes with sql queries.

EZP is Great

Heath

Monday 25 October 2010 12:15:41 pm

I think this is an known issue. See: http://issues.ez.no/17519

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

H-Works Agency

Wednesday 27 October 2010 1:32:47 am

You are right Heath, this is it.

I will avoid sorting my attributes for now.

EZP is Great

H-Works Agency

Wednesday 16 February 2011 2:46:49 am

Hello,

Is this bug repaired in 4.4 ?

This is for me a major step back as we can't sort attributes anymore by pressing button....

EZP is Great

Nicolas Pastorino

Wednesday 16 February 2011 3:06:28 am

Hi Martin,

I just pushed-up on the issue :

http://issues.ez.no/IssueView.php?Id=17519&ProjectId=3&Anchor=Comment269095

Indeed blocking, specially since it leads to potential data corruption.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Bertrand Dunogier (wIT admin)

Wednesday 16 February 2011 3:08:52 am

Pushing the issue internally. We'll see if it can be fixed for 4.5 (no promises due to the timeline).

Bertrand Dunogier

Monday 21 February 2011 7:39:10 am

A client side fix (prevent up/down from being used while there is a server request active) has been committed by André a few minutes ago:

https://github.com/ezsystems/ezpublish/commit/1a30988a09dfe89cdfcc0b6c14e06d872e874f84

It will be part of the 4.5beta2 / Matterhorn final releases.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

H-Works Agency

Wednesday 23 February 2011 6:02:20 am

Great i will implement it, thank you.

Its my second install totally messed up by clients who uses sort attribute buttons.

EZP is Great

H-Works Agency

Wednesday 13 April 2011 2:51:50 am

I can see in http://issues.ez.no/17519 that the issue's statut is 'fixed' in 4.5 beta 2 : Does this mean its totally fixed in 4.5 stable ?

Cheers

EZP is Great

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 29 2025 14:43:33
Script start
Timing: Jan 29 2025 14:43:33
Module start 'layout'
Timing: Jan 29 2025 14:43:33
Module start 'content'
Timing: Jan 29 2025 14:43:33
Module end 'content'
Timing: Jan 29 2025 14:43:33
Script end

Main resources:

Total runtime0.0159 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.0072 588.2578151.2266
Module start 'layout' 0.00720.0027 739.484436.6875
Module start 'content' 0.00990.0047 776.1719106.1094
Module end 'content' 0.01460.0012 882.281345.9766
Script end 0.0159  928.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.9070140.0002
Check MTime0.00116.7162140.0001
Mysql Total
Database connection0.00074.404410.0007
Mysqli_queries0.004226.603730.0014
Looping result0.00000.076510.0000
Template Total0.00106.110.0010
Template load0.00084.808010.0008
Template processing0.00021.221110.0002
Override
Cache load0.00063.460810.0006
General
dbfile0.00063.508980.0001
String conversion0.00000.030040.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