[CakePHP : The Rapid Development Framework for PHP] #6365: Router::parseExtensions() should parse .xml from action

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6365: Router::parseExtensions() should parse .xml from action
---+
Reporter:  iwat|  Type:  Enhancement
  Status:  new |  Priority:  Medium 
   Milestone:  1.2.x.x | Component:  General
 Version:  1.2 Final   |  Severity:  Normal 
Keywords:  |   Php_version:  n/a
Cake_version:  1.2.3.8166  |  
---+
 If I use Router::parseExtensions() together with RequestHandlerComponent a
 URL 'http://example.com/abc/def.rss' will be routed to AbcController at
 function 'def'. But if there is a named parameter after this URL,
 'http://example.com/abc/def.rss/param1:test' it will be routed to function
 'def.rss()' (which is not a valid function name).

 Another problem is the result of url() function.

 {{{
 $html-url(array(
   'controller' = 'abc',
   'action' = 'def.xml',
   'param1' = 'text'),
   true);
 }}}

 My workaround is using an ugly trailing below:

 {{{
 $html-url(array(
   'controller' = 'abc',
   'action' = 'def',
   'param1' = 'text',
   'hack' = '.xml'),
   true);
 }}}

 This will result a working URL
 'http://example.com/abc/def/param1:text/hack:.xml' which works well with
 RequestHandlerComponent.

 Should this be changed in another way?

-- 
Ticket URL: https://trac.cakephp.org/ticket/6365
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
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6366: HABTM: finderQuery is executed but no child records are returned

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6366: HABTM: finderQuery is executed but no child records are returned
---+
Reporter:  thpar   |  Type:  Bug   
  Status:  new |  Priority:  Medium
   Milestone:  1.2.x.x | Component:  Model 
 Version:  1.2 Final   |  Severity:  Normal
Keywords:  FinderQuery, HABTM  |   Php_version:  PHP 5 
Cake_version:  1.2.3.8166  |  
---+
 While bug #4100 claims this issue was resolved, I believe it still
 persists.
 When having a HABTM relationship in an uncommon database schema, I want to
 define this relationship by specifying the FinderQuery. In debug mode 2,
 you can see the query is executed correctly (also if copy-pasted into a
 MySQL client, it returns the correct results), but still the linked models
 are just empty arrays.


 Some proposed solutions (these didn't help):
 - alias the table names to the linked model name
 - set foreignKeys to false



 Besides, I wonder what to do with the joinTable field if you don't have an
 actual joinTable here (due to poor database design).
 Seems you can't leave the joinTable field empty, null or false?


 My (slightly cleaned up) code:

 {{{
 ?php
 class Gene extends AppModel{
 var $name='Gene';
 var $useTable='annotation';

 var $primaryKey='uniqID';
 var $displayField = 'transcript_ID';

 var $hasAndBelongsToMany = array(
 'GeneFamily' = array(
 'className' =
 'GeneFamily',
 'joinTable' =
 'geneID_familyID',
 'foreignKey' = false,
 'associationForeignKey'
 = false,
 'finderQuery' = 'SELECT
 GeneFamily.family_ID,
  GeneFamily.family_name FROM families as GeneFamily JOIN geneID_familyID
 as Mapping on
 GeneFamily.family_ID = Mapping.family_ID WHERE Mapping.gene_ID IN (SELECT
 Gene.gene_ID FROM
 annotation as Gene WHERE uniqID = {$__cakeID__$})',
 'deleteQuery' = '',
 'insertQuery' = ''
 ));
 }
 ?
 }}}

 {{{
 ?php
 class GeneFamily extends AppModel{
 var $name='GeneFamily';
 var $useTable='families';
 var $primaryKey='family_ID';
 var $displayField = 'family_name';

 var $belongsTo = array(
 'SuperFamily' = array(
 'className' = 'SuperFamily',
 'foreignKey' = 'superfam_ID'));
 }
 ?
 }}}

 {{{
 ?php

 class LookupSequenceController extends AppController {
 var $name = 'LookupSequence';
 var $uses = array(Gene, GeneFamily);

 function index(){
 $gene_id = AT1G73690;
 //get the first occurence
 $myGene = $this-Gene-find('first', array(
 'conditions' = array(Gene.gene_ID =
 $gene_id)));

 $this-set('myGene', $myGene);
 }

 }
 ?
 }}}


 {{{
 /* Resulting queries : */

 SELECT `Gene`.`uniqID`, ... and all other fields...
 FROM `annotation` AS `Gene` WHERE `Gene`.`gene_ID` = 'AT1G73690' LIMIT 1

 SELECT GeneFamily.family_ID, GeneFamily.family_name FROM families as
 GeneFamily JOIN
 geneID_familyID as Mapping on GeneFamily.family_ID = Mapping.family_ID
 WHERE Mapping.gene_ID IN
 (SELECT Gene.gene_ID FROM annotation as Gene WHERE uniqID = 7608)

 (Num rows: 1 ... these queries work!)

 /* Resulting object: */
 Array ( [Gene] = Array ( [uniqID] = 7608 ... etc... all data is here...
 )
 [GeneFamily] = Array ( ) )
 }}}

 This linked model 'GeneFamily' is empty, while it should contain the
 fields family_ID and family_name.


 Note: A similar construction with $hasMany works fine.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6366
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] #6035: 'cake bake model' always expects a table present in database

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6035: 'cake bake model' always expects a table present in database
+---
Reporter:  kuja | Owner:  mark_story
Type:  Enhancement  |Status:  assigned  
Priority:  Low  | Milestone:  1.3.x.x   
   Component:  Console  |   Version:
Severity:  Normal   |Resolution:
Keywords:   |   Php_version:  n/a   
Cake_version:   |  
+---
Changes (by mark_story):

  * owner:  = mark_story
  * status:  new = assigned

-- 
Ticket URL: https://trac.cakephp.org/ticket/6035#comment:4
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
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6368: Please replease

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6368: Please replease
--+-
Reporter:  leha   |  Type:  Task 
  Status:  new|  Priority:  Very Low 
   Milestone:  1.2.x.x| Component:  Core Libs
 Version:  1.2 Final  |  Severity:  Trivial  
Keywords: |   Php_version:  n/a  
Cake_version: |  
--+-
 file: cake\libs\view\helpers\form.php line 769

 $out = $before  . $this-checkbox($fieldName, $options) . $between . $out;

 to

 $out = $before . $out . $this-checkbox($fieldName, $options) . $between;

-- 
Ticket URL: https://trac.cakephp.org/ticket/6368
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] #6368: Change order of output generation for FormHelper::input() type = checkbox

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6368: Change order of output generation for FormHelper::input() type = checkbox
+---
Reporter:  leha | Owner: 
Type:  Enhancement  |Status:  new
Priority:  Very Low | Milestone:  1.3.x.x
   Component:  Core Libs|   Version: 
Severity:  Trivial  |Resolution: 
Keywords:   |   Php_version:  n/a
Cake_version:   |  
+---
Changes (by mark_story):

  * summary:  Please replease = Change order of output generation for
  FormHelper::input() type = checkbox
  * type:  Task = Enhancement
  * version:  1.2 Final =
  * milestone:  1.2.x.x = 1.3.x.x

Comment:

 Why?

-- 
Ticket URL: https://trac.cakephp.org/ticket/6368#comment:1
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] #5490: FormHelper Security - Fails when using Submit() + End()

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#5490: FormHelper  Security - Fails when using Submit() + End()
+---
Reporter:  kiger| Owner: 
Type:  Bug  |Status:  closed 
Priority:  High | Milestone:  1.2.x.x
   Component:  Helpers  |   Version:  RC2
Severity:  Major|Resolution:  fixed  
Keywords:   |   Php_version:  n/a
Cake_version:  7673 |  
+---
Comment (by michaelc):

 Breaks the use case (though rare) of multiple submit buttons without using
 $disabledFields, unsetting the submit button key in a beforeFilter, etc.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5490#comment:3
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
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6369: Router::parse result array used in url, redirect

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6369: Router::parse result array used in url, redirect
---+
Reporter:  ecamaj  |  Type:  Enhancement   
  Status:  new |  Priority:  Medium
   Milestone:  1.2.x.x | Component:  Routing/Dispatcher
 Version:  1.2 Final   |  Severity:  Normal
Keywords:  Router parse array  |   Php_version:  n/a   
Cake_version:  1.2.3.8166  |  
---+
 I thought it is almost impossible that method that will give me string url
 from Router::parse result array does not exists, but after consulting with
 some old CakePHP gurus on IRC channel it seems to be so.[[BR]]
 [[BR]]
 '''A problem'''[[BR]]
 [[BR]]
 I needed to parse page url string which i got from
 $this-Auth-redirect(). Auth-redirect gives back a plain string
 url.[[BR]]
 [[BR]]
 '''A idea'''[[BR]]
 [[BR]]
 Using Router::parse that will understand all applied routes to that url
 string and will give me back an array which i can easily manipulate.[[BR]]
 After that i needed that array back to url string or some kind of array
 that i can use in $this-redirect (that Router::url understands).[[BR]]
 [[BR]]
 '''Why it doesn't work'''[[BR]]
 [[BR]]
 Router::url will not accept an array that contains arrays in it and that
 is exactly what Router::parse will give you. It will contain url, pass
 and named arrays in it.[[BR]]
 [[BR]]
 Example:[[BR]]
 {{{
 Array
 (
 [pass] = Array
 (
 [0] = user1
 )

 [named] = Array
 (
 [named_key] = named_value
 )

 [plugin] =
 [controller] = users
 [action] = add
 [url] = Array
 (
 [ext] = html
 )
 )
 }}}



 If this array is tried to be used in Router::normalize, Router::url or
 redirect it will give:[[BR]]
 [[BR]]
 ''Array to string conversion [CORE/cake/libs/router.php, line 956]''[[BR]]
 (mapRouteElements method)[[BR]]
 [[BR]]
 '''Possible solution'''[[BR]]
 [[BR]]
 Unsetting url array and merging all other subarrays into main array so
 that we get an array like:
 {{{
 Array
 (
 [0] = user1
 [named_key] = named_value
 [plugin] =
 [controller] = users
 [action] = add
 )
 }}}

 and then this array can be used in all Router methods as valid
 array.[[BR]]
 [[BR]]
 '''Conclusion'''[[BR]]
 [[BR]]
 I hope that this will be added because i heard of several people that they
 had to hack Router::parse array in various way to do exactly the same
 thing as i needed.[[BR]]
 [[BR]]
 Gurus included. ;-)

-- 
Ticket URL: https://trac.cakephp.org/ticket/6369
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] #6369: Router::parse result array used in url, redirect

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6369: Router::parse result array used in url, redirect
---+
Reporter:  ecamaj  | Owner:   
Type:  Enhancement |Status:  new  
Priority:  Medium  | Milestone:  1.2.x.x  
   Component:  Routing/Dispatcher  |   Version:  1.2 Final
Severity:  Normal  |Resolution:   
Keywords:  Router parse array  |   Php_version:  n/a  
Cake_version:  1.2.3.8166  |  
---+
Comment (by vuego):

 Duplicate: #4758

-- 
Ticket URL: https://trac.cakephp.org/ticket/6369#comment:1
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
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6370: model-afterFind() is inconsistent

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6370: model-afterFind() is inconsistent
--+-
Reporter:  epimeth|  Type:  Bug
  Status:  new|  Priority:  Medium 
   Milestone:  1.2.x.x| Component:  General
 Version:  1.2 Final  |  Severity:  Normal 
Keywords: |   Php_version:  n/a
Cake_version: |  
--+-
 as far as I can tell, this bug applies only when $primary is false...

 when a model's find() function is called with deep recursion, the model's
 relation's relation's afterFind() is executed.  In this case, the $results
 array is a hash.
 Otherwise, when the afterFind is executed on a model that is a direct
 relation to the queried model, $results is an array of hashes.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6370
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
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6371: Tree behavior

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6371: Tree behavior
+---
Reporter:  gustavo.kataoka  |  Type:  Bug  
  Status:  new  |  Priority:  Low  
   Milestone:  1.2.x.x  | Component:  Behaviors
 Version:  1.2 Final|  Severity:  Trivial  
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
 i don't know, but i think that it is a bug.
 if i put the order atribute in the model with value 'lft',
 and try to edit a nodo (puting it in another subtree)
 the lft and rght values are save with wrong values in the table.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6371
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] #6371: Tree behavior

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6371: Tree behavior
+---
Reporter:  gustavo.kataoka  | Owner:   
Type:  Test Case|Status:  closed   
Priority:  Low  | Milestone:  1.2.x.x  
   Component:  Behaviors|   Version:  1.2 Final
Severity:  Trivial  |Resolution:  fixed
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by jperras):

  * status:  new = closed
  * type:  Bug = Test Case
  * resolution:  = fixed

Comment:

 You need to make sure that any operations concerning node movement are
 done with the appropriate TreeBehavior methods.[[BR]]
 [[BR]]
 If you are already doing this and the error persists, please provide a
 test case that demonstrates the issue.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6371#comment:1
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] #6371: Tree behavior

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6371: Tree behavior
+---
Reporter:  gustavo.kataoka  | Owner:   
Type:  Test Case|Status:  reopened 
Priority:  Low  | Milestone:  1.2.x.x  
   Component:  Behaviors|   Version:  1.2 Final
Severity:  Trivial  |Resolution:   
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by jperras):

  * status:  closed = reopened
  * resolution:  fixed =

-- 
Ticket URL: https://trac.cakephp.org/ticket/6371#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] #6371: Tree behavior

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6371: Tree behavior
+---
Reporter:  gustavo.kataoka  | Owner:   
Type:  Test Case|Status:  reopened 
Priority:  Low  | Milestone:  1.2.x.x  
   Component:  Behaviors|   Version:  1.2 Final
Severity:  Trivial  |Resolution:   
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Comment (by gustavo.kataoka):

 For a test, take the example from cakephp book:[[BR]]
 http://book.cakephp.org/view/521/Modifying-data [[BR]]
 Don't forget to include the attribute 'order' with value 'lft' in the
 model 'Category'.[[BR]]
 I'm sure that will save with wrong values (lft and rght) because I tried
 it.[[BR]]
 The only thing I do not know is if this is a serious error.[[BR]]
 I'm saying this because there's many ways to contour this problem.[[BR]]
 bye

-- 
Ticket URL: https://trac.cakephp.org/ticket/6371#comment:3
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] #6371: Tree behavior

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6371: Tree behavior
+---
Reporter:  gustavo.kataoka  | Owner:   
Type:  Test Case|Status:  reopened 
Priority:  Low  | Milestone:  1.2.x.x  
   Component:  Behaviors|   Version:  1.2 Final
Severity:  Trivial  |Resolution:   
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Comment (by jperras):

 There are already many test cases in the test suite for the tree behavior,
 including tests for moving and re-parenting nodes. Please provide a
 '''failing test case''' to demonstrate your issue.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6371#comment:4
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
-~--~~~~--~~--~--~---