Re: [CakePHP : The Rapid Development Framework for PHP] #4289: i18n::translate method accepting a language parameter and a new __l() function in basic accordingly
#4289: i18n::translate method accepting a language parameter and a new __l() function in basic accordingly ---+ Reporter: franiglesias| Owner: Type: Enhancement |Status: new Priority: Very Low| Milestone: 1.3.x.x Component: Core Libs | Version: Severity: Trivial |Resolution: Keywords: i18n translate language basics.php | Php_version: n/a Cake_version: | ---+ Comment (by achew22): Maybe I'm wrong here, but if you have a __l() call where you know the language is hard-coded (not read from a config file) and the string is hard-coded as well, don't you just have a function that repeats the same call over and over again? Why can't you just put the translated string in UTF-8 into your .ctp file? That would be faster and it wouldn't require another core function. -- Ticket URL: https://trac.cakephp.org/ticket/4289#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] #1765: Dispatcher, route and plugins
#1765: Dispatcher, route and plugins ---+ Reporter: naonak | Owner: Any Developer Type: Bug |Status: reopened Priority: Medium | Milestone: 1.2.x.x Component: Routing/Dispatcher | Version: RC1 Severity: Trivial |Resolution: Keywords: | Php_version: PHP 4 = 4.3.0 Cake_version: | ---+ Changes (by beldougie): * status: closed = reopened * resolution: worksforme = Comment: Not fixed: Does not work in version : 1.2.1.8004 {{{ Router::connect('/plug/post/*', array('plugin' = 'plug', 'controller' = 'plug_posts', 'action' = 'view')); }}} The above Router definition produces the following errors: Error: The action plug_posts is not defined in plug and Error: Create plug::plug_posts() in file: app\controllers\plug_controller.php. This is not correct according to documentation/suggested functionality. I have seen a few patches, but none seem complete and nothing is in the above listed stable version matching any of the patches. Please advise? If this is reopened in error, my apologies but I just can't find a solution to this problem. -- Ticket URL: https://trac.cakephp.org/ticket/1765#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] #1765: Dispatcher, route and plugins
#1765: Dispatcher, route and plugins ---+ Reporter: naonak | Owner: Any Developer Type: Bug |Status: reopened Priority: Medium | Milestone: 1.2.x.x Component: Routing/Dispatcher | Version: RC1 Severity: Trivial |Resolution: Keywords: | Php_version: PHP 4 = 4.3.0 Cake_version: | ---+ Comment (by beldougie): Update: This appears to have been changed at some point, but the previous code has been reintroduced into the source according to: https://trac.cakephp.org/changeset?old_path=branches%2F1.2.x.x%2Fcake%2Fdispatcher.phpold=4199new_path=branches%2F1.2.x.x%2Fcake%2Fdispatcher.phpnew=7945 Hope this helps? Could we have the fix back please? Cheers, -- Ticket URL: https://trac.cakephp.org/ticket/1765#comment:6 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] #6085: Memcache does not support more than 30 days
#6085: Memcache does not support more than 30 days --+- Reporter: hazelnut | Type: Bug Status: new| Priority: Medium Milestone: 1.2.x.x| Component: Cache Version: 1.2 Final | Severity: Normal Keywords: | Php_version: PHP 5 Cake_version: | --+- /cake/libs/model/datasources/datasource.php[[BR]] Caching: Memcached[[BR]] Debug: 0[[BR]] {{{ function __cacheDescription($object, $data = null) { if ($this-cacheSources === false) { return null; } if (Configure::read() 0) { $expires = +15 seconds; } else { $expires = +999 days; } }}} If you are now in the production mode the description of the models / tables can't be saved. Memcache just support max. 30 days: [[BR]] http://code.google.com/p/memcached/wiki/FAQ#What_are_the_limits_on_setting_expire_time?_(why_is_there_a_30_d -- Ticket URL: https://trac.cakephp.org/ticket/6085 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] #6086: Problem with wrapping tag using PaginationHelper nav links
#6086: Problem with wrapping tag using PaginationHelper nav links --+- Reporter: biscazziere| Owner: Type: Enhancement|Status: new Priority: Medium | Milestone: 1.2.x.x Component: Helpers| Version: 1.2 Final Severity: Normal |Resolution: Keywords: pagination helper | Php_version: n/a Cake_version: | --+- Comment (by biscazziere): After some tests, I noticed that that code above will break the passed args in the url. This seems to be the correct version, excuse the error: {{{ if ($this-{$check}($model)) { if(!empty($tag)) { $link = $this-link($title, $url, array_merge($options, array('escape' = $escape)), null, false); return $this-Html-tag($tag, $link, $options, false); }else{ return $this-link($title, $url, array_merge($options, array('escape' = $escape))); } } else { return $this-Html-tag($tag, $title, $options, $escape); } }}} -- Ticket URL: https://trac.cakephp.org/ticket/6086#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] #6085: Memcache does not support more than 30 days
#6085: Memcache does not support more than 30 days -+-- Reporter: hazelnut | Owner: Type: Bug |Status: new Priority: Medium| Milestone: 1.2.x.x Component: Cache | Version: 1.2 Final Severity: Normal|Resolution: Keywords:| Php_version: PHP 5 Cake_version:| -+-- Comment (by jperras): Update to the newest release of Cake 1.2. That code has not been present since r7363. -- Ticket URL: https://trac.cakephp.org/ticket/6085#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] #6085: Memcache does not support more than 30 days
#6085: Memcache does not support more than 30 days -+-- Reporter: hazelnut | Owner: Type: Bug |Status: new Priority: Medium| Milestone: 1.2.x.x Component: Cache | Version: 1.2 Final Severity: Normal|Resolution: Keywords:| Php_version: PHP 5 Cake_version:| -+-- Comment (by jperras): Pardon the previous error; it was actually removed in r7364 . -- Ticket URL: https://trac.cakephp.org/ticket/6085#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] #2585: Comment count appears inaccurate for some articles
#2585: Comment count appears inaccurate for some articles --+- Reporter: dho| Owner: jeko Type: Bug|Status: reopened Priority: Low| Milestone: Bakery 1.0.x.x Component: Bakery:bakery.cakephp.org | Version: Dev Severity: Trivial|Resolution: Keywords: | Php_version: n/a Cake_version: | --+- Changes (by dho): * status: closed = reopened * resolution: fixed = Comment: It seems like this issue is still present, see this new article: http://bakery.cakephp.org/articles/view/routes-component. The comment count says there are two comments, but no comments are shown. -- Ticket URL: https://trac.cakephp.org/ticket/2585#comment:20 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] #1765: Dispatcher, route and plugins
#1765: Dispatcher, route and plugins ---+ Reporter: naonak | Owner: mark_story Type: Bug |Status: closed Priority: Medium | Milestone: 1.2.x.x Component: Routing/Dispatcher | Version: RC1 Severity: Trivial |Resolution: worksforme Keywords: | Php_version: PHP 4 = 4.3.0 Cake_version: | ---+ Changes (by mark_story): * status: new = closed * resolution: = worksforme Comment: There currently quite a few tests for the Router/Dispatcher. You may want to look at the router test lines 805 - 820 https://trac.cakephp.org/browser/branches/1.2.x.x/cake/tests/cases/libs/router.test.php#L807 Please provide a test case that fails, as all existing test cases are passing. Thanks :) -- Ticket URL: https://trac.cakephp.org/ticket/1765#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 -~--~~~~--~~--~--~---
[CakePHP : The Rapid Development Framework for PHP] #6088: Default HttpSocket auth method should be Basic not basic
#6088: Default HttpSocket auth method should be Basic not basic +--- Reporter: mattcurry| Type: Bug Status: new | Priority: Medium Milestone: 1.2.x.x | Component: General Version: 1.2 Final| Severity: Normal Keywords: httpsocket auth | Php_version: n/a Cake_version: | +--- Sorry no test case on this one. Didn't really make sense here. I believe the spec ([http://tools.ietf.org/html/rfc1945#section-11.1]) calls for the word basic to be capitalized. {{{ Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ== }}} In addition sites, such as twitter, won't accept authorization if basic is lowercase. Fix and update to the existing tests are attached -- Ticket URL: https://trac.cakephp.org/ticket/6088 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] #6088: Default HttpSocket auth method should be Basic not basic
#6088: Default HttpSocket auth method should be Basic not basic +--- Reporter: mattcurry| Owner: mark_story Type: Bug |Status: assigned Priority: Medium | Milestone: 1.2.x.x Component: General | Version: 1.2 Final Severity: Normal |Resolution: Keywords: httpsocket auth | Php_version: n/a Cake_version: | +--- Changes (by mark_story): * owner: = mark_story * status: new = assigned -- Ticket URL: https://trac.cakephp.org/ticket/6088#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] #6084: The function dateTime should allow a user specified separator for time as well as date
#6084: The function dateTime should allow a user specified separator for time as well as date +--- Reporter: k00k | Owner: Type: Enhancement |Status: new Priority: Medium | Milestone: 1.3.x.x Component: General | Version: Severity: Normal |Resolution: Keywords: | Php_version: n/a Cake_version: | +--- Changes (by TommyO): * version: 1.2 Final = * type: Bug = Enhancement * milestone: 1.2.x.x = 1.3.x.x -- Ticket URL: https://trac.cakephp.org/ticket/6084#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] #6090: url suffix by html
#6090: url suffix by html ---+ Reporter: qq71151461 | 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: | ---+ Router::connect('/news/view/*.html', array('controller' = 'news', 'action' = 'view')); when echo $html-url(array('controller' = 'news', 'action' = 'view', 1)); the result is http://www.xxx.com/news/view/4/.html But i want the result url is http://www.xxx.com/news/view/4.html How can i do. Thank you! -- Ticket URL: https://trac.cakephp.org/ticket/6090 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 -~--~~~~--~~--~--~---