Re: [CakePHP : The Rapid Development Framework for PHP] #6488: time dropdowns generate a NULL on insert when midnight is selected
#6488: time dropdowns generate a NULL on insert when midnight is selected ---+ Reporter: calzone | Owner: mark_story Type: Bug |Status: assigned Priority: High| Milestone: 1.2.x.x Component: Helpers | Version: 1.2 Final Severity: Major |Resolution: Keywords: form helper time dropdowns null insert | Php_version: PHP 5 Cake_version: 1.2.3.8166 | ---+ Comment (by youheiogino): Hello.[[BR]] [[BR]] I met this bug a few months ago, and found similar trouble in the following article in google gruop archives.[[BR]] [[BR]] http://groups.google.com/group/cake- php/browse_thread/thread/749bf75af77f295a [[BR]] [[BR]] In this article, Brendon Kozlowski (aka BrendonCoz) said that a bug seems to be introduced from his patch. His patch can be found here.[[BR]] [[BR]] https://trac.cakephp.org/changeset/7782 [[BR]] [[BR]] I tried to comment out his 3 lines patch code at model.php.[[BR]] But all TIME value of unselected dropdown menu became 00:00:00. So I changed other part at same file.[[BR]] [[BR]] Model.php[[BR]] {{{ foreach ($dateFields as $key = $val) { if (in_array($val, array('hour', 'min', 'sec'))) { if (!isset($data[$val]) || ($data[$val] == null)) { // if (!isset($data[$val]) || $data[$val] === '0' || empty($data[$val])) { //$data[$val] = '00'; } else { $data[$val] = sprintf('%02d', $data[$val]); } } if (in_array($type, array('datetime', 'timestamp', 'date')) !isset($data[$val]) || isset($data[$val]) (empty($data[$val]) || $data[$val][0] === '-')) { return null; } elseif (isset($data[$val]) !empty($data[$val])) { $date[$key] = $data[$val]; } } $date = str_replace(array_keys($date), array_values($date), $format); // if ($type == 'time' $date == '00:00:00') { //return null; // } }}} -- Ticket URL: https://trac.cakephp.org/ticket/6488#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] #6493: Can not remove session flash when output_buffering=off
#6493: Can not remove session flash when output_buffering=off -+-- Reporter: cubum | Type: Bug Status: new | Priority: High Milestone: 1.2.x.x | Component: General Version: 1.2 Final | Severity: Normal Keywords: output_buffering | Php_version: PHP 5 Cake_version:| -+-- My layout if ($session-check('Message.flash')){ $session-flash(); } echo $content_for_layout; The first: Message.flash appear But when i click a new request, Message.flash continue appear. When i set output_buffering=on then it OK. -- Ticket URL: https://trac.cakephp.org/ticket/6493 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] #6406: session helper not working with cached views
#6406: session helper not working with cached views +--- Reporter: zaptree | Owner: DarkAngelBGE Type: Bug |Status: new Priority: Medium | Milestone: 1.2.x.x Component: General | Version: 1.2 Final Severity: Normal |Resolution: Keywords: session caching | Php_version: PHP 5 Cake_version: 1.2.3.8166 | +--- Changes (by DarkAngelBGE): * owner: = DarkAngelBGE * status: reopened = new Comment: Okay this is odd .. I set up a working example of what your use case. It works totally fine. Even on the cached page am I logged out. So can you provide all the code that got something todo with how you login and logout, including AppController::beforeFilter() and your core.php session-relevant settings? Thanks -- Ticket URL: https://trac.cakephp.org/ticket/6406#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 -~--~~~~--~~--~--~---
Re: [CakePHP : The Rapid Development Framework for PHP] #6492: i18n.php
#6492: i18n.php ---+ Reporter: qq71151461 | Owner: Type: Bug |Status: new Priority: Medium | Milestone: 1.2.x.x Component: General | Version: 1.2 Final Severity: Normal |Resolution: Keywords: | Php_version: n/a Cake_version: | ---+ Comment (by DarkAngelBGE): Wow, that's very odd. I will take a closer look. For now define your own translation function, ie .. function __my($singular, $return = false) { if (!$singular) { return; } if (!class_exists('I18n')) { App::import('Core', 'i18n'); } if ($return === false) { echo I18n::translate($singular, null, null, LC_MESSAGES + 1); } else { return I18n::translate($singular, null, null, LC_MESSAGES + 1); } } Something like that. -- Ticket URL: https://trac.cakephp.org/ticket/6492#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] #6406: session helper not working with cached views
#6406: session helper not working with cached views +--- Reporter: zaptree | Owner: DarkAngelBGE Type: Test Case|Status: new Priority: Medium | Milestone: 1.2.x.x Component: Session | Version: 1.2 Final Severity: Normal |Resolution: Keywords: session caching | Php_version: PHP 5 Cake_version: 1.2.3.8166 | +--- Changes (by DarkAngelBGE): * type: Bug = Test Case * component: General = Session Comment: Could you if possible attach a test case as well? -- Ticket URL: https://trac.cakephp.org/ticket/6406#comment:5 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] #6100: 'hasMany' won't bind in a behavior, just in controller
#6100: 'hasMany' won't bind in a behavior, just in controller +--- Reporter: sethdavis| Owner: DarkAngelBGE Type: Bug |Status: new Priority: Medium | Milestone: 1.2.x.x Component: Model| Version: 1.2 Final Severity: Normal |Resolution: Keywords: model hasmany behaviors | Php_version: PHP 5 Cake_version: | +--- Changes (by DarkAngelBGE): * owner: = DarkAngelBGE * status: reopened = new -- Ticket URL: https://trac.cakephp.org/ticket/6100#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 -~--~~~~--~~--~--~---
Re: [CakePHP : The Rapid Development Framework for PHP] #6475: Email component ignores sendAs attribute when there are attachments
#6475: Email component ignores sendAs attribute when there are attachments ---+ Reporter: matsinet| Owner: DarkAngelBGE Type: Bug |Status: new Priority: Medium | Milestone: 1.2.x.x Component: Components | Version: 1.2 Final Severity: Normal |Resolution: Keywords: email component attachment | Php_version: n/a Cake_version: 1.2.2.8120 | ---+ Changes (by DarkAngelBGE): * owner: = DarkAngelBGE -- Ticket URL: https://trac.cakephp.org/ticket/6475#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] #4235: Session lost on 302 redirect
#4235: Session lost on 302 redirect -+-- Reporter: edoceo| Owner: Type: Bug |Status: reopened Priority: Medium| Milestone: 1.2.x.x Component: Core Libs | Version: RC1 Severity: Normal|Resolution: Keywords: SessionComponent | Php_version: PHP 5 Cake_version: 1.2.0.6311 beta | -+-- Changes (by paularmstrong): * status: closed = reopened * resolution: worksforme = Comment: Setting to exit $this-redirect('/foo', null, true); still doesn't carry sessions across redirects in 1.2.3.8166 Stable. -- Ticket URL: https://trac.cakephp.org/ticket/4235#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] #6100: 'hasMany' won't bind in a behavior, just in controller
#6100: 'hasMany' won't bind in a behavior, just in controller +--- Reporter: sethdavis| Owner: DarkAngelBGE Type: Bug |Status: closed Priority: Medium | Milestone: 1.2.x.x Component: Model| Version: 1.2 Final Severity: Normal |Resolution: invalid Keywords: model hasmany behaviors | Php_version: PHP 5 Cake_version: | +--- Changes (by DarkAngelBGE): * status: new = closed * resolution: = invalid Comment: Added the wrong ticket name to the commit message - but the issue was disproven here: https://trac.cakephp.org/changeset/8224 Please supply your controller code here and make sure associations aren't being reset between find calls. Then I will help you more. -- Ticket URL: https://trac.cakephp.org/ticket/6100#comment:5 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 -~--~~~~--~~--~--~---