[CakePHP : The Rapid Development Framework for PHP] #6316: Multiple models in a controller with different database configs
#6316: Multiple models in a controller with different database configs ---+ Reporter: alberto.priore | Type: Documentation Status: new | Priority: High Milestone: 1.2.x.x | Component: General Version: 1.2 Final | Severity: Normal Keywords: | Php_version: PHP 5 Cake_version: | ---+ Multiple models in a controller with different database configs -- Ticket URL: https://trac.cakephp.org/ticket/6316 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] #6317: Multiple models in a controller with different database configs
#6317: Multiple models in a controller with different database configs ---+ Reporter: alberto.priore | Type: Task Status: new | Priority: High Milestone: 1.2.x.x | Component: Controller Version: 1.2 Final | Severity: Normal Keywords: | Php_version: n/a Cake_version: | ---+ Multiple models in a controller with different database configs -- Ticket URL: https://trac.cakephp.org/ticket/6317 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] #6317: Multiple models in a controller with different database configs
#6317: Multiple models in a controller with different database configs ---+ Reporter: alberto.priore | Owner: Type: Task|Status: closed Priority: Medium | Milestone: 1.2.x.x Component: Model | Version: 1.2 Final Severity: Normal |Resolution: duplicate Keywords: | Php_version: n/a Cake_version: | ---+ Changes (by davidpersson): * priority: High = Medium * resolution: = duplicate * status: new = closed * component: Controller = Model Comment: Duplicate of #6316 -- Ticket URL: https://trac.cakephp.org/ticket/6317#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] #6316: Multiple models in a controller with different database configs
#6316: Multiple models in a controller with different database configs ---+ Reporter: alberto.priore | Owner: Type: Documentation |Status: closed Priority: Medium | Milestone: 1.2.x.x Component: General | Version: 1.2 Final Severity: Normal |Resolution: invalid Keywords: | Php_version: PHP 5 Cake_version: | ---+ Changes (by davidpersson): * priority: High = Medium * status: new = closed * resolution: = invalid Comment: This is already covered by http://book.cakephp.org/view/435/useDbConfig. Please read http://book.cakephp.org/view/759/Bugreport. -- Ticket URL: https://trac.cakephp.org/ticket/6316#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] #6211: Auth Login Redirect Forgets Query String Parameters
#6211: Auth Login Redirect Forgets Query String Parameters --+- Reporter: harking| Owner: mark_story Type: Bug|Status: reopened Priority: Medium | Milestone: 1.2.x.x Component: Auth | Version: 1.2 Final Severity: Normal |Resolution: Keywords: auth get query string | Php_version: n/a Cake_version: | --+- Changes (by harking): * status: closed = reopened * resolution: fixed = Comment: Looking over the the modified test case, I can't replicate source:/branches/1.2.x.x/cake/tests/cases/libs/controller/components/auth.test@8151#l844 where {{{$_GET['url']}}} contains the URL parameters. [[BR]] [[BR]] In our apps, {{{$_GET['url']}}} never contains the get parameters, and when these are removed from the test, it fails similarly to what we're seeing, where the redirection does not include the get parameters. [[BR]] [[BR]] I've checked {{{$_GET['url']}}} in quite a few locations (Start of index.php, inside of bootstrap.php, in our AppController::beforeFilter()), and it never contains the URL parameters.[[BR]] [[BR]] The attached patch auth.test.php.GET.url.modification.diff modifies the test to what we see. -- Ticket URL: https://trac.cakephp.org/ticket/6211#comment:7 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] #6211: Auth Login Redirect Forgets Query String Parameters
#6211: Auth Login Redirect Forgets Query String Parameters --+- Reporter: harking| Owner: mark_story Type: Bug|Status: reopened Priority: Medium | Milestone: 1.2.x.x Component: Auth | Version: 1.2 Final Severity: Normal |Resolution: Keywords: auth get query string | Php_version: n/a Cake_version: | --+- Comment (by harking): I am able to fix the redirect issue we see by modifying what is set for the redirect URL in the session when a user is not logged in. The URL that is set now includes all of the get parameters, and after a successful log in they are redirected correctly. There is probably a better way to get the full URL. Currently this patch breaks other test cases due to the use of $_SERVER['REQUEST_URI'] See the auth.php.FixRedirectUriToIncludeGetParams.diff for the patch. Thanks for looking into this. -- Ticket URL: https://trac.cakephp.org/ticket/6211#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 -~--~~~~--~~--~--~---