Re: [CakePHP : The Rapid Development Framework for PHP] #6538: [Test] Wrong serialization of array with XmlHelper::serialize()

2009-09-10 Thread CakePHP : The Rapid Development Framework for PHP
#6538: [Test] Wrong serialization of array with XmlHelper::serialize()
--+-
Reporter:  dho| Owner:   
Type:  Bug|Status:  closed   
Priority:  Medium | Milestone:  1.2.x.x  
   Component:  Helpers|   Version:  1.2 Final
Severity:  Normal |Resolution:  fixed
Keywords: |   Php_version:  PHP 5
Cake_version:  rev. 8263  |  
--+-
Comment (by tobi_one):

 This fixes the XML output of a find all operation, but once you do custom
 array data the XML is broken again. E.g. if you wrap the find all result
 in another array to add some additional data;

 {{{

 [output] = Array
 (
 [Vouchers] = Array
 (
 [0] = Array
 (
 [Voucher] = Array
 (
 [id] = 1
 [title] = something
 )
 )
 [1] = Array
 (
 ...
 )
 )

 [my_pixel_x] = -2950
 [my_pixel_y] = 10123
 [zoom] = 8
 [latitude] = 48.5
 [longitude] = 16.2
 )
 }}}

 then the Vouchers will be wrapped multiple times as before the fix:

 {{{
 output
 vouchers
 voucher
 id/id
 title/title
 /voucher
 /vouchers
 vouchers
  voucher
  
  /voucher
 /vouchers
 my_pixel_x-2950/my_pixel_x
 ...
 /output

 }}}

 it also does not work with multiple nested arrays e.g.

 {{{
 [Vouchers] = Array
 (
 [0] = Array
 (
 [Voucher] = Array
 (
 [id] = 1
 [title] = something
 [Locations] = Array
 (
 [0] = Array
 (
 [Location] = Array
 (
 [id] = 151
 [lat] = 48.563301
 [lng] = 16.079201
 )

 )

 [1] = Array
 (
 [Location] = Array
 (
 [id] = 134
 [lat] = 48.289799
 [lng] = 16.383801
 )

 )

 [2] = Array
 (
 [Location] = Array
 (
 [id] = 129
 [lat] = 48.297100
 [lng] = 16.419800
 )

 )

 )

 )

 )
)

 }}}

 there again, locations will be wrapped multiple times in the XML:

 {{{
 ...
 locations
 location
 id151/id
 ...
 /location
 /locations
 locations
 location
 id134/id
 ...
 /location
 /location
 ...
 }}}

-- 
Ticket URL: https://trac.cakephp.org/ticket/6538#comment:2
CakePHP : The Rapid Development Framework for PHP https://trac.cakephp.org/
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
tickets cakephp group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #3270: Allow errors to be logged in production (DEBUG 0)

2009-09-10 Thread CakePHP : The Rapid Development Framework for PHP
#3270: Allow errors to be logged in production (DEBUG 0)
--+-
Reporter:  maular | Owner:  
nate   
Type:  Enhancement|Status:  
closed 
Priority:  Low| Milestone:  
1.3.x.x
   Component:  Core Libs  |   Version:  
   
Severity:  Minor  |Resolution:  
fixed  
Keywords:  error_log log_errors debugger error_reporting  |   Php_version:  
n/a
Cake_version:  5672   |  
--+-
Comment (by euromark):

 just downloaded the nightly builds (1.2.5 and 1.3 dev), but this change is
 not in there
 nothing about function handleError()

-- 
Ticket URL: https://trac.cakephp.org/ticket/3270#comment:8
CakePHP : The Rapid Development Framework for PHP https://trac.cakephp.org/
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
tickets cakephp group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5666: Pagination - unable to sort by custom aliased fields

2009-09-10 Thread CakePHP : The Rapid Development Framework for PHP
#5666: Pagination - unable to sort by custom aliased fields
+---
Reporter:  morris082| Owner: 
Type:  Enhancement  |Status:  new
Priority:  Medium   | Milestone:  1.3.x.x
   Component:  Helpers  |   Version: 
Severity:  Normal   |Resolution: 
Keywords:  pagination   |   Php_version:  PHP 5  
Cake_version:   |  
+---
Comment (by celsowm):

 Tested and worked for me!

-- 
Ticket URL: https://trac.cakephp.org/ticket/5666#comment:2
CakePHP : The Rapid Development Framework for PHP https://trac.cakephp.org/
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
tickets cakephp group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #3270: Allow errors to be logged in production (DEBUG 0)

2009-09-10 Thread CakePHP : The Rapid Development Framework for PHP
#3270: Allow errors to be logged in production (DEBUG 0)
--+-
Reporter:  maular | Owner:  
nate   
Type:  Enhancement|Status:  
closed 
Priority:  Low| Milestone:  
1.3.x.x
   Component:  Core Libs  |   Version:  
   
Severity:  Minor  |Resolution:  
fixed  
Keywords:  error_log log_errors debugger error_reporting  |   Php_version:  
n/a
Cake_version:  5672   |  
--+-
Comment (by mark_story):

 Its not in a tar file, as the commit happened after the 1.3-dev tar was
 made.  You would need to use the git checkout to use it.  Its currently
 only in the 1.3-misc branch.

-- 
Ticket URL: https://trac.cakephp.org/ticket/3270#comment:9
CakePHP : The Rapid Development Framework for PHP https://trac.cakephp.org/
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
tickets cakephp group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---