Path

ez projects / ezenhanceddebug / forum / general / support for ez publish 4.0....


Support for eZ Publish 4.0.1 (Patches)

You need to be logged in to post messages in the forums. New users may register here.

Heath Heath

Member since:
04 March 2007

Posts: 73

Monday 05 January 2009 2:27:20 pm

Hello Jérôme,

I attempted to test this extension over the holiday
and encountered problems applying the available
patches.

It seems I was using the latest stable eZ Publish 4.0.1,
but the patches were created for 4.0. When I applied
the available patches I encountered at least one hunk
fail per patch.
http://svn.projects.ez.no/ezenhan...runk/ezenhanceddebug/patch/<i>

Could you create patches against / for the latest
stable release of eZ Publish (4.0.1)
which could be applied without errors.

Respectfully,
Heath
Up

Jérôme Renard

Member since:
06 August 2008

Posts: 22

Wednesday 07 January 2009 5:24:36 pm

Hello Heath.

I tried to apply the following patch :

http://svn.projects.ez.no/ezenhan...ch/ezenhanceddebug.ezpublish4.0.diff

On a 4.0.1 version :



17:12 jr@ezjr ~/work/www/php5/ezpublish/ezpublish-4.0.1% more lib/version.php


[...]


const VERSION_MAJOR = 4;


const VERSION_MINOR = 0;


const VERSION_RELEASE = 1;




And it seems everything is OK :




17:15 jr@ezjr ~/work/www/php5/ezpublish/ezpublish-4.0.1% patch --dry-run -p0 < extension/ezenhanceddebug/patch/ezenhanceddebug.ezpublish4.0.diff                

patching file lib/eztemplate/classes/eztemplatedofunction.php


Hunk #1 succeeded at 145 (offset 1 line).


Hunk #2 succeeded at 160 (offset 1 line).


patching file lib/eztemplate/classes/eztemplateforeachfunction.php


Hunk #1 succeeded at 297 (offset 1 line).


Hunk #2 succeeded at 390 (offset 1 line).


patching file lib/eztemplate/classes/eztemplateforfunction.php


Hunk #1 succeeded at 198 (offset 1 line).


Hunk #2 succeeded at 226 (offset 1 line).


patching file lib/eztemplate/classes/eztemplatewhilefunction.php


Hunk #1 succeeded at 145 (offset 1 line).


Hunk #2 succeeded at 160 (offset 1 line).


patching file lib/eztemplate/classes/eztemplateexecuteoperator.php


Hunk #1 succeeded at 346 (offset -9 lines).


patching file lib/ezutils/classes/ezdebug.php


Hunk #3 succeeded at 1780 (offset 12 lines).


Hunk #4 succeeded at 1905 (offset 12 lines).


patching file lib/eztemplate/classes/eztemplate.php


Hunk #2 succeeded at 376 (offset 2 lines).


Hunk #3 succeeded at 680 (offset 2 lines).


Hunk #4 succeeded at 1401 (offset 2 lines).


Hunk #5 succeeded at 2669 (offset 2 lines).


Up

Jérôme Renard

Member since:
06 August 2008

Posts: 22

Wednesday 07 January 2009 5:27:52 pm

Ha I forgot the other patch.
Indeed this one :
http://svn.projects.ez.no/ezenhan.../content_structure_menu_dynamic.diff

Does not work with 4.0.1




17:15 jr@ezjr ~/work/www/php5/ezpublish/ezpublish-4.0.1% patch --dry-run -p0 < extension/ezenhanceddebug/patch/content_structure_menu_dynamic.diff 

patching file design/admin/templates/contentstructuremenu/content_structure_menu_dynamic.tpl


Hunk #1 FAILED at 62.


Hunk #2 succeeded at 517 (offset -38 lines).


Hunk #3 FAILED at 534.


2 out of 3 hunks FAILED -- saving rejects to file design/admin/templates/contentstructuremenu/content_structure_menu_dynamic.tpl.rej




I will try to provide a patch for this as soon as possible, however this is not the easiest thing to do as the current patch actually fixes some bugs in the current template parser.
Up

Jérôme Renard

Member since:
06 August 2008

Posts: 22

Wednesday 07 January 2009 5:47:47 pm

Heath,

can you please try thoses patches please ?

http://svn.projects.ez.no/ezenhan...g/trunk/ezenhanceddebug/patch/4.0.1/

Thanks in advance.

:)
Up

You need to be logged in to post messages in the forums. New users may register here.