Re: [CakePHP : The Rapid Development Framework for PHP] #5505: Tree behavior setting scope => Model does not work

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5505: Tree behavior setting scope => Model does not work
--+-
Reporter:  xumix  | Owner:  
Type:  Bug|Status:  closed  
Priority:  Medium | Milestone:  1.2.x.x 
   Component:  Behaviors  |   Version:  RC2 
Severity:  Normal |Resolution:  needmoreinfo
Keywords: |   Php_version:  n/a 
Cake_version: |  
--+-
Changes (by gwoo):

  * status:  reopened => closed
  * resolution:  => needmoreinfo

Comment:

 still no test case, leading me to believe that it is being used
 incorrectly or outside the intended functionality.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6007: Inflector::slug doesn't handle "ã" and "õ"

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6007: Inflector::slug doesn't handle "ã"  and "õ"
+---
Reporter:  eberfreitas  |  Type:  Enhancement
  Status:  new  |  Priority:  Medium 
   Milestone:  1.2.x.x  | Component:  Core Libs  
 Version:  1.2 Final|  Severity:  Normal 
Keywords:  slug |   Php_version:  PHP 5  
Cake_version:   |  
+---
 When trying to slug phrases with the foreing chracters "ã" or "õ", the
 slug "breaks" as these characters are not on the $map variable.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6006: Saving a model with non-trivial HABTM relation does not delete previous relationships.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6006: Saving a model with non-trivial HABTM relation does not delete previous
relationships.
+---
Reporter:  Jafinto  | Owner:  mark_story
Type:  Bug  |Status:  assigned  
Priority:  Medium   | Milestone:  1.2.x.x   
   Component:  Model|   Version:  1.2 Final 
Severity:  Trivial  |Resolution:
Keywords:   |   Php_version:  n/a   
Cake_version:   |  
+---
Changes (by mark_story):

  * owner:  => mark_story
  * status:  new => assigned

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6006: Saving a model with non-trivial HABTM relation does not delete previous relationships.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6006: Saving a model with non-trivial HABTM relation does not delete previous
relationships.
+---
Reporter:  Jafinto  | Owner:   
Type:  Bug  |Status:  new  
Priority:  Medium   | Milestone:  1.2.x.x  
   Component:  Model|   Version:  1.2 Final
Severity:  Trivial  |Resolution:   
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Comment (by mark_story):

 Could you provide some code to reproduce the error you are having. There
 are many tests covering the saving of HABTM so some additional information
 would be helpful.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #5239: Incorrect HABTM primaryKey when accessing HABTM model "automagically"

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5239: Incorrect HABTM primaryKey when accessing HABTM model "automagically"
--+-
Reporter:  NOSLOW | Owner: 
Type:  Bug|Status:  closed 
Priority:  High   | Milestone:  1.2.x.x
   Component:  Core Libs  |   Version:  RC2
Severity:  Major  |Resolution:  fixed  
Keywords:  HABTM, primaryKey  |   Php_version:  n/a
Cake_version: |  
--+-
Changes (by phpnut):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 nebbian,

 The code TommyO gave you to use is the correct way to accomplish what you
 want, if you reread the comment you will see that he noted your join model
 is not being loaded, the only way this will be loaded is if you define the
 'with' key in the code he gave you. Since your code and tables are
 following your own conventions, the automagic workings of CakePHP do not
 work like you expect them to work. Follow the conventions of the framework
 and you will not have to go through the extra steps to make your code
 work. Your assumption that the join model is not needed is totally wrong
 in this case.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #5239: Incorrect HABTM primaryKey when accessing HABTM model "automagically"

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5239: Incorrect HABTM primaryKey when accessing HABTM model "automagically"
--+-
Reporter:  NOSLOW | Owner:  
Type:  Bug|Status:  reopened
Priority:  High   | Milestone:  1.2.x.x 
   Component:  Core Libs  |   Version:  RC2 
Severity:  Major  |Resolution:  
Keywords:  HABTM, primaryKey  |   Php_version:  n/a 
Cake_version: |  
--+-
Changes (by nebbian):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 Hi TommyO,

 Thanks for pointing me in the direction of the changeset, although I
 couldn't find any notes on that page to explain anything.  Using 'with'
 may well get around the issue, however this still doesn't address the BUG
 that causes the following error:

 ''Notice (8): Undefined index:  id [CORE/cake/libs/model/model.php, line
 1293]''

 ''Notice (8): Undefined index:  id [CORE/cake/libs/model/model.php, line
 1294]''

 ''Warning (2): Cannot modify header information - headers already sent by
 (output started at /usr/lib/cake/cake/libs/debugger.php:504)
 [CORE/cake/libs/controller/controller.php, line 615]''


 The join table is being set up with the default primary key name ('id').
 If my join table has a different primary key name, as well as an extra
 field, then you get the above error.  I don't think that it is necessary
 to have a join table model, although I put it in the above error report
 for clarity.

 Here is a var_dump of the affected variable:


 '''Before my fix (note the wrong primary key)'''

 {{{
 object(AppModel)#28 (37) {
   ["useDbConfig"]=>
   string(7) "default"
   ["useTable"]=>
   string(21) "TipsMemberCompetition"
   ["displayField"]=>
   bool(false)
   ["id"]=>
   bool(false)
   ["data"]=>
   array(0) {
   }
   ["table"]=>
   string(21) "TipsMemberCompetition"
   ["primaryKey"]=>
   string(2) "id"<=== *** WRONG  **
   ["_schema"]=>
   array(4) {
 ["TipsMemberCompetitionID"]=>
 array(5) {
   ["type"]=>
   string(7) "integer"
   ["null"]=>
   bool(false)
   ["default"]=>
   NULL
   ["length"]=>
   int(11)
   ["key"]=>
   string(7) "primary" <=== *** This is our primary key
 **
 }
 ["TipsMemberID"]=>
 array(4) {
   ["type"]=>
   string(7) "integer"
   ["null"]=>
   bool(false)
   ["default"]=>
   string(1) "0"
   ["length"]=>
   int(11)
 }
 ["TipsCompetitionID"]=>
 array(4) {
   ["type"]=>
   string(7) "integer"
   ["null"]=>
   bool(false)
   ["default"]=>
   string(1) "0"
   ["length"]=>
   int(11)
 }
 ["TipsMemberCompetitionJoinedDate"]=>
 array(4) {
   ["type"]=>
   string(8) "datetime"
   ["null"]=>
   bool(false)
   ["default"]=>
   string(19) "-00-00 00:00:00"
   ["length"]=>
   NULL
 }
   }
   ["validate"]=>
   array(0) {
   }
   ["validationErrors"]=>
   array(0) {
   }

   (etc... snipped for clarity)
 }}}


 '''After my fix (note the correct primary key) '''
 {{{
 object(AppModel)#28 (37) {
   ["useDbConfig"]=>
   string(7) "default"
   ["useTable"]=>
   string(21) "TipsMemberCompetition"
   ["displayField"]=>
   bool(false)
   ["id"]=>
   bool(false)
   ["data"]=>
   array(0) {
   }
   ["table"]=>
   string(21) "TipsMemberCompetition"
   ["primaryKey"]=>
   string(23) "TipsMemberCompetitionID"   <=== *** Ahhh that's better
 **
   ["_schema"]=>
   array(4) {
 ["TipsMemberCompetitionID"]=>
 array(5) {
   ["type"]=>
   string(7) "integer"
   ["null"]=>
   bool(false)
   ["default"]=>
   NULL
   ["length"]=>
   int(11)
   ["key"]=>
   string(7) "primary"  <=== *** Makes sense really
 **
 }
 ["TipsMemberID"]=>
 array(4) {
   ["type"]=>
   string(7) "integer"
   ["null"]=>
   bool(false)
   ["default"]=>
   string(1) "0"
   ["length"]=>
   int(11)
 }
 ["TipsCompetitionID"]=>
 array(4) {
   ["type"]=>
   string(7) "integer"
   ["null"]=>
   bool(false)
   ["default"]=>
   string(1) "0"
   ["length"]=>
   int(11)
 }
 ["TipsMemberCompetitionJoinedDate"]=>
 array(4) {
   ["type"]=>
   string(8) "datetime"
   ["null"]=>
   bool(false)
   ["default"]=>
   string(19) "-00-00 00:00:00"
   ["length"]=>
   NULL
 }
   }
   ["validate"]=>
   array(0) {
   }
   ["validationErrors"]=>
   array(0) {
   }

 }}}

 My fix goes through the fields, and if it finds one that is marked
 "Primary", then it sets the models primary key to that field.  Really
 simple, and it works.
 [[BR]]


 If anyone else is having the same trou

[CakePHP : The Rapid Development Framework for PHP] #6006: Saving a model with non-trivial HABTM relation does not delete previous relationships.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6006: Saving a model with non-trivial HABTM relation does not delete previous
relationships.
--+-
Reporter:  Jafinto|  Type:  Bug
  Status:  new|  Priority:  Medium 
   Milestone:  1.2.x.x| Component:  Model  
 Version:  1.2 Final  |  Severity:  Trivial
Keywords: |   Php_version:  n/a
Cake_version: |  
--+-
 I'm using two models: Album and Song. These models both have a HABTM
 relationship with each other. The SQL join table albums_songs consists of
 four fields: id, album_id, song_id and track_number.
 [[BR]][[BR]]
 When I try to save a song, I set Song->id to the right id and pass the
 following array to Song->save:
 {{{
 array(
 'Song' => array(
 *SongInfo
 ),
 'Album' => array(
 'Album' => array(
 array(
 'album_id' => 9,
 'track_number' => 1
 )
 )
 )
 );
 }}}
 This does save the song, but it also adds a relationship to the
 albums_songs table without removing existing ones. This is not intended,
 because in the HABTM relationship the option unique is set to true.
 [[BR]][[BR]]
 I have attached a patch against 1.2.x.x trunk.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #5505: Tree behavior setting scope => Model does not work

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5505: Tree behavior setting scope => Model does not work
--+-
Reporter:  xumix  | Owner:  
Type:  Bug|Status:  reopened
Priority:  Medium | Milestone:  1.2.x.x 
   Component:  Behaviors  |   Version:  RC2 
Severity:  Normal |Resolution:  
Keywords: |   Php_version:  n/a 
Cake_version: |  
--+-
Changes (by iGloo):

  * status:  closed => reopened
  * resolution:  needmoreinfo =>

Comment:

 I did run with the same problem today after fixing the UUID issue as
 primary key.

 Case: Cakephp manages several projects. Each projects can have webpages.
 The TreeBehavior allows creating a websites out of these webpages.

 Set the webpage behavior as follow: actsAs = array('Tree'=>array('scope'
 => 'Project'));

 Add new nodes from project 1 into the tree and after, add nodes from
 project 2 into the tree.

 Each projects are different from each other, they do not share anything
 besides the DB.


 When re-ordering nodes from project 1 with movedown, the treebehavior
 should see the end of the pages associated with the project they are in.
 (Let say there is 3 pages, we should not be able to move down more than 3
 times the first element). The current behavior will go down the list and
 mix with the other projects ordering. ie: moving up project 2 first page
 will work, but the position for that project did not change.

 Fix in the controller is to re-associate the tree behavior as follow
 before each moveup/movedown/save:

 {{{
 $this->Webpage->DirectoryNode->Behaviors->detach('Tree');
 $this->Webpage->DirectoryNode->Behaviors->attach('Tree', array('scope' =>
 array('project_id' => $project_id)));
 }}}

 That way, the behavior now sees the right ordering and will block going up
 or down the limit of the project tree.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #1209: Find method for HABTM should allow for specifying conditions on the join model

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#1209: Find method for HABTM should allow for specifying conditions on the join
model
-+--
Reporter:  kitten| Owner:   
 
Type:  Enhancement   |Status:  
closed
Priority:  Medium| Milestone:  
1.2.x.x   
   Component:  Model |   Version:  
RC1   
Severity:  Normal|Resolution:  
fixed 
Keywords:  find HABTM conditions join kitten motin gwoo  |   Php_version:  
PHP 4 >= 4.3.0
Cake_version:|  
-+--
Comment (by chmoindron):

 Replying to [comment:9 the_undefined]:
 > This should be doable now using the new Containable behavior together
 with setting the 'with' property for HABTM.

 Not really. Or I didn't find how to do it. Containable does indeed filter
 results, but if I have, let's say, Post HABTM Tag, and I set contain
 Tag.name='whatever', I'll still get all the posts, with an empty Tag
 array.

 So, maybe this ticket could be reopened?

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #4712: Containable: ability to strictly filter returned data

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#4712: Containable: ability to strictly filter returned data
---+
Reporter:  teknoid | Owner: 
Type:  Enhancement |Status:  new
Priority:  Medium  | Milestone:  2.0.0.x
   Component:  Components  |   Version:  2.0.x.x
Severity:  Normal  |Resolution: 
Keywords:  containable filter teknoid  |   Php_version:  n/a
Cake_version:  |  
---+
Comment (by chmoindron):

 I agree too. This functionality seems quite important, especially since
 it's the only one that remotely looks like a way to specify conditions on
 associated tables in a HABTM relationship.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #5751: Ampersand bug in $this->params['pass'] and $this->params['url']

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5751: Ampersand bug in $this->params['pass'] and $this->params['url']
---+
Reporter:  xbuzz   | Owner:  
Type:  Bug |Status:  reopened
Priority:  High| Milestone:  
   Component:  General |   Version:  RC3 
Severity:  Normal  |Resolution:  
Keywords:  |   Php_version:  PHP 5   
Cake_version:  1.2.0.7692 RC3  |  
---+
Comment (by bsweeney):

 I recently ran into this problem on a site I'm developing. The problem is
 definitely with the RewriteRule, because the bug is in Apache. The best
 description I've found was by Matthew
 Somerville[http://www.dracos.co.uk/code/apache-rewrite-problem/].
 Essentially, Apache is unencoding ampersands when processing the URL
 through mod_rewrite, and not encoding any output.

 Hard to say how long a until a patch for Apache will be included. And
 should CakePHP rely on that, hack around the problem, or modify the way
 the URL is parsed? Personally the last of the three seems the most robust
 to me.

 In the meantime, I've found that triple-encoding ampersands (%252526)
 seems to work on my install.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6004: Cookbook needs section regarding app_controller.php, app_model.php, app_helper.php, etc.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6004: Cookbook needs section regarding app_controller.php, app_model.php,
app_helper.php, etc.
-+--
Reporter:  Finster   | Owner:   
Type:  Documentation |Status:  closed   
Priority:  Low   | Milestone:  1.2.x.x  
   Component:  Documentation |   Version:  1.2 Final
Severity:  Trivial   |Resolution:  invalid  
Keywords:  app_controller app_model  |   Php_version:  n/a  
Cake_version:|  
-+--
Changes (by AD7six):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 Please don't create tickets, all you need to do is:


 find where you want that content to appear[[BR]]


 Click "Suggest a new section here"[[BR]]


 Write your suggestion (not an empty stub)[[BR]]


 Thanks,

 AD

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6005: wheres some commands?

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6005: wheres some commands?
+---
Reporter:  jhon | Owner:   
Type:  Enhancement  |Status:  new  
Priority:  Medium   | Milestone:  1.2.x.x  
   Component:  General  |   Version:  1.2 Final
Severity:  Normal   |Resolution:   
Keywords:   |   Php_version:  PHP 5
Cake_version:   |  
+---
Comment (by mark_story):

 As far as a replacement for Model::loadInfo()  use Model::schema().  Sorry
 your app broke, but some changes were necessary to improve things.
 AppModel, and AppController are in the same place they have always been,
 directly under app/.  You are still fully able to use AppController and
 AppModel.
 [[BR]]
 [[BR]]

 As for making 1.2 more compatible with 1.1, that would break compatibility
 with all the existing 1.2 apps, which puts us in a bit of a bind, doesn't
 it.  Unfortunately API's need to change in order to fix things.  I can't
 think of a project that has never changed its api or syntax.  Its just
 something that happens, I apologize for the inconvenience its caused but
 its something we needed to do.
 [[BR]]
 [[BR]]


 If you need some help with the migration process please visit the google
 group or #cakephp on irc.  There are also a few migration guides
 published, with one on book.cakephp.org and others available if you do a
 quick google search. I'm closing this ticket as there are no specific
 issues raised.  If you have a specific issue with an object or method,
 please open a new ticket.  Thanks :)

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6005: wheres some commands?

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6005: wheres some commands?
--+-
Reporter:  jhon   |  Type:  Enhancement
  Status:  new|  Priority:  Medium 
   Milestone:  1.2.x.x| Component:  General
 Version:  1.2 Final  |  Severity:  Normal 
Keywords: |   Php_version:  PHP 5  
Cake_version: |  
--+-
 i work with cake for 2 years now and i have lots of code for it...

 i must say that i couldnt migrate from version 1.1 to 1.2 coz u guys
 changed to many stuff

 i used a powerfull comando called loadInfo and now it doesnt exists
 anymore, i wonder what should i use intead?

 why u guys changed the appController and appModel to a harder place to get
 to em, all my apps are built using a generic appController and appModel
 class wich has many of the default stuff as saving images, those add
 delets and edit thats standard for any app and all my forms got broken and
 u guys broke the support to version 1.1 on the site so i have to open the
 libs now to find anything i need ... all these changes wasnt nice if u
 guys broke compatibility with old apps, the 1.2 version has nicier stuff
 but i cant migrate all my apps to it, could u plz consider making cake 1.2
 more compactible?

 bye.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6004: Cookbook needs section regarding app_controller.php, app_model.php, app_helper.php, etc.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6004: Cookbook needs section regarding app_controller.php, app_model.php,
app_helper.php, etc.
-+--
Reporter:  Finster   |  Type:  Documentation
  Status:  new   |  Priority:  Low  
   Milestone:  1.2.x.x   | Component:  Documentation
 Version:  1.2 Final |  Severity:  Trivial  
Keywords:  app_controller app_model  |   Php_version:  n/a  
Cake_version:|  
-+--
 There isn't really anywhere in the manual that deals with these classes
 and how you can override them in any great detail. Sure, there are tidbits
 scattered about if you know where to look, but I think it's worth it to
 have it's own section in the Manual to talk about this aspect of CakePHP

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #5943: Error getting Translation data using translation behaviour.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5943: Error getting Translation data using translation behaviour.
---+
Reporter:  da...@dbloop.com| Owner:   
Type:  Test Case   |Status:  closed   
Priority:  High| Milestone:  1.2.x.x  
   Component:  Behaviors   |   Version:  1.2 Final
Severity:  Major   |Resolution:  invalid  
Keywords:  Translation, Behaviors  |   Php_version:  PHP 5
Cake_version:  1.2.0.7962  |  
---+
Changes (by renan.saddam):

  * status:  reopened => closed
  * resolution:  => invalid

Comment:

 Please, make sure you created a translated item for the item you are
 trying to retrieve.[[BR]]
 If you do
 {{{
 $this->Post->locale = "en_us";
 }}}
 you will force to find a Post with a "en_us" version. If does not have a
 "en_us" will return nothing.[[BR]]
 [[BR]]
 If you do
 {{{
 $this->Post->locale = array("en_us");
 }}}
 you will try to find a Post with a "en_us" version, if does not have
 "en_us" will return only blank fields. It will make sure you will get a
 response back.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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
-~--~~~~--~~--~--~---