Updating from 4.3.0 to 4.3.1 (from git), some glitches

Author Message

Christian Rößler

Tuesday 14 September 2010 5:45:52 am

I pulled the latest version from stable-4.3 branch in order to update a 4.3.0 eZPublish and reviewing the changes made I encountered some things I want to mention here and requesting feedback from the community.
Info: I pulled today, because for a few days no patches were introduced in the stable-4.3 branch so i assume eZPublish 4.3.1 is out ... somehow ... ;-)
.
.

First there are missing sql-statements for adding a few new keys to table "ezinfocollection_attribute" introduced in 4.3.1. The file "update/database/mysql/4.3/dbupdate-4.3.0-to-4.3.1.sql" misses the following statements:

ALTER TABLE ezinfocollection_attribute ADD KEY ezinfocollection_attr_cca_id (contentclass_attribute_id);
ALTER TABLE ezinfocollection_attribute ADD KEY ezinfocollection_attr_coa_id (contentobject_attribute_id);
ALTER TABLE ezinfocollection_attribute ADD KEY ezinfocollection_attr_ic_id (informationcollection_id);

See "kernel/sql/mysql/kernel_schema.sql" in the git-stable-4.3 version as reference, line 714 and following.

.
.

Second nearly every php-file has been changed when diff'ing to a plain downloaded 4.3.0 eZPublish from ez.no. The downloaded official Release has a disclaimer comment in each php-head stating the version as "@version 4.3.0". The (not all, thats weird) files from git stable-4.3 are stating "@version 4.1.x" or "@version //autogen//". It would be much more straight forward if upcoming new community-releases or non-official releases would state "@version 4.3.x" or "@version 4.4.x" in order to maintain a clean merge-process for only a few files that really introduced modifications that matter.

I see that has been done in git-master already. But stable-4.3 at the time is a pain to merge ;)

.
.

edit/update: Found something new. a Lot of ini-files in /settings/* were modified. Example:

TemporaryPermissions=0777##!
#!TemporaryPermissions=0777

How can I/we deal with that? What should be the best way to merge such stuff into an existing ez-installation which has official release quality? Why has such code been commited to git?

.
.

Thats it. Just awaiting feedback before slamming the issuetracker.
A note aside: Not publishing any bugfix-releases anymore seems not to be real technical issue as using basic git-commands enables you to get the latest fixes for your ez-version. Followed by a merge and you are done.

cheers,
chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Trond Eivind Glomsrød

Tuesday 14 September 2010 7:01:32 am

There is no 4.3.1 release scheduled at this time - the next release is eZ Publish 4.4, due in two weeks.

Various fixes are backported as part of normal development, but the git branch is not meant for direct consumption. Thus, if you run it, expect to run into problems. The best way to get an up to date installation, is to use 4.3.0 and the automated patch service that is part of eZ Publish premium

Trond Eivind Glomsrød
VP Engineering
eZ Systems

Christian Rößler

Tuesday 14 September 2010 7:59:18 am

Yea, I know there are no maintenace releases anymore. This was point of discussion a few months/weeks ago here in the community. Ok, so dump the questions according to git and what is in there.

But there is still the issue with the missing sql-update statements eZSystems should know about. As I don't know if your "automated patch service" has or has not this sql-statement in it, I thought posting those things might be useful. Especially for your paying premium customers.

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

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 10:25:12
Script start
Timing: Jan 18 2025 10:25:12
Module start 'layout'
Timing: Jan 18 2025 10:25:12
Module start 'content'
Timing: Jan 18 2025 10:25:13
Module end 'content'
Timing: Jan 18 2025 10:25:13
Script end

Main resources:

Total runtime0.8113 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1641152.6563
Module start 'layout' 0.00550.0040 740.820339.5078
Module start 'content' 0.00950.8006 780.3281518.8984
Module end 'content' 0.81000.0012 1,299.226612.1094
Script end 0.8113  1,311.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3940160.0002
Check MTime0.00130.1632160.0001
Mysql Total
Database connection0.00100.127210.0010
Mysqli_queries0.764994.2828580.0132
Looping result0.00050.0645560.0000
Template Total0.779596.120.3897
Template load0.00180.222320.0009
Template processing0.777795.854120.3888
Template load and register function0.00020.019410.0002
states
state_id_array0.00080.093310.0008
state_identifier_array0.00130.154220.0006
Override
Cache load0.00150.1890320.0000
Sytem overhead
Fetch class attribute can translate value0.00070.081220.0003
Fetch class attribute name0.00140.171230.0005
XML
Image XML parsing0.00030.035420.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00050.0653100.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs