[CakePHP : The Rapid Development Framework for PHP] #5932: in the 1.2final, tests directory is missing!?
#5932: in the 1.2final, tests directory is missing!? --+- Reporter: wangbo | Type: Bug Status: new| Priority: Medium Milestone: | Component: General Version: 1.2 Final | Severity: Normal Keywords: | Php_version: n/a Cake_version: | --+- in the 1.2final, tests directory is missing!? {{{ Warning (2): require_once(cake\tests\lib\test_manager.php) }}} -- Ticket URL: https://trac.cakephp.org/ticket/5932 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] #5932: in the 1.2final, tests directory is missing!?
#5932: in the 1.2final, tests directory is missing!? +--- Reporter: wangbo | Owner: Type: Bug |Status: new Priority: Medium | Milestone: Component: General | Version: 1.2 Final Severity: Normal |Resolution: Keywords: | Php_version: n/a Cake_version: | +--- Comment (by sebby): Yes, the final package does not contain tests (`cases`, `fixtures`, `groups` and `test_app` folders are removed from `/cake/tests/`). Nightly builds contain all the tests. If you want to download a nightly build package visit: [http://cakephp.org/downloads/index/nightly]. -- Ticket URL: https://trac.cakephp.org/ticket/5932#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] #5932: in the 1.2final, tests directory is missing!?
#5932: in the 1.2final, tests directory is missing!? +--- Reporter: wangbo | Owner: Type: Bug |Status: closed Priority: Medium | Milestone: Component: General | Version: 1.2 Final Severity: Normal |Resolution: invalid Keywords: | Php_version: n/a Cake_version: | +--- Changes (by nate): * status: new = closed * resolution: = invalid Comment: Please see the release announcement. -- Ticket URL: https://trac.cakephp.org/ticket/5932#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 -~--~~~~--~~--~--~---
[CakePHP : The Rapid Development Framework for PHP] #5934: Fatal error: Cannot access empty property in /.../cake/libs/model/model.php on line 880
#5934: Fatal error: Cannot access empty property in /.../cake/libs/model/model.php on line 880 --+- Reporter: billfan| Type: Bug Status: new| Priority: Critical Milestone: 1.2.x.x| Component: Model Version: 1.2 Final | Severity: Critical Keywords: | Php_version: PHP 5 Cake_version: | --+- It is a simple test: in Schedule controller: $rows = $this -Schedule -find('all'); var_dump($rows); in Schedule Model: var $hasMany = 'Location'; It worked well in local, but when uploaded it online(to freehostia.com), it said Fatal error: Cannot access empty property... refer to my attached image. but when remove var $hasMany = 'Location'; from the Model, it became alright, data can be retrieved and displayed very well. Key point, why var $hasMany = 'Location' make the Model dead? how to retrieve these associate data out? Earlier bug resolve will be appreciated. -- Ticket URL: https://trac.cakephp.org/ticket/5934 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] #4687: EmailComponent should do EHLO and try with HELO if it fails
#4687: EmailComponent should do EHLO and try with HELO if it fails +--- Reporter: joaquin_win | Owner: Type: Enhancement |Status: reopened Priority: High | Milestone: 1.3.x.x Component: Components | Version: Severity: Critical |Resolution: Keywords: email smtp helo ehlo authentication | Php_version: n/a Cake_version: 6949 | +--- Comment (by joaquin_win): This is should be treated as a bug not an enhancemente! -- Ticket URL: https://trac.cakephp.org/ticket/4687#comment:11 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] #5934: Fatal error: Cannot access empty property in /.../cake/libs/model/model.php on line 880
#5934: Fatal error: Cannot access empty property in /.../cake/libs/model/model.php on line 880 -+-- Reporter: billfan | Owner: Type: Bug |Status: closed Priority: Critical | Milestone: 1.2.x.x Component: Model | Version: 1.2 Final Severity: Critical |Resolution: needmoreinfo Keywords:| Php_version: PHP 5 Cake_version:| -+-- Changes (by gwoo): * status: new = closed * resolution: = needmoreinfo Comment: Please update to the latest release. line 880 is a ```else``` so you are clearly not using the latest release. -- Ticket URL: https://trac.cakephp.org/ticket/5934#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] #5931: Folder::delete fails if directory to delete contains symbolic links (to directories)
#5931: Folder::delete fails if directory to delete contains symbolic links (to directories) +--- Reporter: boulon | Owner: Type: Bug |Status: closed Priority: Low | Milestone: 1.2.x.x Component: File System | Version: 1.2 Final Severity: Trivial |Resolution: needmoreinfo Keywords: | Php_version: n/a Cake_version: 7945 | +--- Changes (by gwoo): * status: new = closed * resolution: = needmoreinfo Comment: is there a reason to use the file class for this? -- Ticket URL: https://trac.cakephp.org/ticket/5931#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] #5927: Router prefix and formHelper create
#5927: Router prefix and formHelper create +--- Reporter: ahuino1 | Owner: Type: Bug |Status: closed Priority: Medium | Milestone: 1.2.x.x Component: General | Version: RC4 Severity: Normal |Resolution: worksforme Keywords: | Php_version: n/a Cake_version: | +--- Changes (by gwoo): * status: reopened = closed * resolution: = worksforme Comment: {{{ Router::connect('/manager/:controller/:action/:id', array('prefix' = 'manager', 'manager' = true)); }}} will work as expected -- Ticket URL: https://trac.cakephp.org/ticket/5927#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] #5935: Helpers should always be addressed by $this-Helper-func() instead of $helper-func()
#5935: Helpers should always be addressed by $this-Helper-func() instead of $helper-func() --+- Reporter: euromark | Type: Enhancement Status: new| Priority: Medium Milestone: 1.3.x.x| Component: Helpers Version: 1.2 Final | Severity: Normal Keywords: | Php_version: n/a Cake_version: | --+- Helpers that are included via $helpers = array(...) in AppController should always be addressed by $this-Helper-func() instead of $helper-func() in the view. [[BR]] [[BR]] This prevents multiple conflicts with either already defined $vars in the view itself or with baked views via console, which you can as well set up manually now due to the naming conflict.. [[BR]] [[BR]] problem a:[[BR]] if you add a new (lets call it poll_helper.php) helper afterwards in order to get some polls to the index() method (and view index.ctp), you might accidently crash the other views without knowing it, as the $poll could have been used there as a normal variable. [[BR]] [[BR]] problem b:[[BR]] if you bake a model poll from the DB table polls and the controller polls with its views, the console baking will bake the index view like the following: {{{ ... echo $poll['Poll']['modified']; ... }}} which conflicts again with our $poll helper[[BR]] this would not be happening if we would address the helpers differently. [[BR]] [[BR]] its cleaner - and both problems (and probably some others as well) would be solved with this approach. [[BR]] Besides the fact that inside other helpers this is already done this way: {{{ // inside Poll Helper $this-Html-doSomething(); }}} [[BR]] [[BR]] if you dont like that one (for whatever reason), you could use $nameHelper (in my example $pollHelper) as variable for all helpers with the filename name_helper.php. -- Ticket URL: https://trac.cakephp.org/ticket/5935 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] #5927: Router prefix and formHelper create
#5927: Router prefix and formHelper create +--- Reporter: ahuino1 | Owner: Type: Bug |Status: closed Priority: Medium | Milestone: 1.2.x.x Component: General | Version: RC4 Severity: Normal |Resolution: worksforme Keywords: | Php_version: n/a Cake_version: | +--- Comment (by ahuino1): thank you very much! -- Ticket URL: https://trac.cakephp.org/ticket/5927#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] #5936: debug() missinterprets second parameter $showHtml
#5936: debug() missinterprets second parameter $showHtml +--- Reporter: ionas82 | Type: Bug Status: new | Priority: Medium Milestone: 1.2.x.x | Component: Error Handling Version: 1.2 Final| Severity: Normal Keywords: debug, error, logging, debugging, inconsistency | Php_version: n/a Cake_version: 1.2.0.7962 | +--- In the function's description it says: @param boolean $showHtml If set to true, the method prints the debug data in a screen-friendly way. What it actually does is showing the Html by converting and to html entities - which is... useless? What it should better do is what it promises in the DocBlock description. If set to true it should print the debug information in html, if not it should print it as raw text. $showHtml should be set to true then by default. pr($string) does not work because it wraps in pre as well (wich will mess raw text log files with html too). pr() besides has $showFrom in its DocBlock/function description above the function, but does not use any second parameter. Why this change? ob_start(); debug($string, false); $debug = ob_get_contents(); ob_end_clean(); someLoggingMethod($debug); -- Ticket URL: https://trac.cakephp.org/ticket/5936 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] #5931: Folder::delete fails if directory to delete contains symbolic links (to directories)
#5931: Folder::delete fails if directory to delete contains symbolic links (to directories) +--- Reporter: boulon | Owner: Type: Bug |Status: reopened Priority: Low | Milestone: 1.2.x.x Component: File System | Version: 1.2 Final Severity: Trivial |Resolution: Keywords: | Php_version: n/a Cake_version: 7945 | +--- Changes (by boulon): * status: closed = reopened * resolution: needmoreinfo = Comment: Replying to [comment:1 gwoo]: is there a reason to use the file class for this? Alternatives as calling proc_open(rm -rf) are not so safe and not OS agnostic. This trivia would not let *delete* follow symlink to directories (which could be outside origin directories). This would make the delete operation work in a broader range of cases. My case was lacking precision: The delete operation on a Folder fails (and tells it can't rmdir a non directory) when there is inside it symbolic link whose targets is a directory. If you work on a folder, and already have a Folder managing it, I think the logical way to delete it if you have to is calling Folder::delete and this operation should work. This could happen if you let users upload archives, you extract them in a tmp folder, do your work, then delete folder or part of it. -- Ticket URL: https://trac.cakephp.org/ticket/5931#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] #5936: debug() missinterprets second parameter $showHtml
#5936: debug() missinterprets second parameter $showHtml +--- Reporter: ionas82 | Owner: Type: Bug | Status: closed Priority: Medium | Milestone: 1.2.x.x Component: Error Handling | Version: 1.2 Final Severity: Normal | Resolution: invalid Keywords: debug, error, logging, debugging, inconsistency | Php_version: n/a Cake_version: 1.2.0.7962 | +--- Changes (by nate): * status: new = closed * resolution: = invalid Comment: No. -- Ticket URL: https://trac.cakephp.org/ticket/5936#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] #5931: Folder::delete fails if directory to delete contains symbolic links (to directories)
#5931: Folder::delete fails if directory to delete contains symbolic links (to directories) +--- Reporter: boulon | Owner: gwoo Type: Enhancement |Status: new Priority: Low | Milestone: 1.3.x.x Component: File System | Version: Severity: Trivial |Resolution: Keywords: | Php_version: n/a Cake_version: 7945 | +--- Changes (by nate): * owner: = gwoo * status: reopened = new * version: 1.2 Final = * type: Bug = Enhancement * milestone: 1.2.x.x = 1.3.x.x -- Ticket URL: https://trac.cakephp.org/ticket/5931#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 -~--~~~~--~~--~--~---