Re: [CakePHP : The Rapid Development Framework for PHP] #5847: Model::findQueryType unset prior to Model::afterFind()

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5847: Model::findQueryType unset prior to Model::afterFind()
+---
Reporter:  zaboo| Owner: 
Type:  Enhancement  |Status:  new
Priority:  Low  | Milestone:  1.2.x.x
   Component:  Model|   Version:  RC2
Severity:  Minor|Resolution: 
Keywords:   |   Php_version:  n/a
Cake_version:   |  
+---
Comment (by ADmad):

 A simple change in order of statement can take care of this. Patch
 attached.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5847#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5848: Class Helper not found when trying to use helper in shell script

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5848: Class Helper not found when trying to use helper in shell script
---+
Reporter:  dho |  Type:  Bug  
  Status:  new |  Priority:  Medium   
   Milestone:  1.2.x.x | Component:  Core Libs
 Version:  RC3 |  Severity:  Normal   
Keywords:  |   Php_version:  n/a  
Cake_version:  1.2.0.7903  |  
---+
 The following code used in a shell script
 {{{
 App::import('Helper', 'Html');
 $html = new HtmlHelper();
 }}}
 causes this error:
 {{{
 Fatal error: Class 'Helper' not found in
 /home/dho/projects/cake_1.2.x.x/cake/libs/view/helpers/app_helper.php on
 line 38
 }}}
 Obviously, App::import() doesn't load all necessary files.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5848
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5843: Rename AuthComponent::redirect()

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5843: Rename AuthComponent::redirect()
---+
Reporter:  dho | Owner: 
Type:  RFC |Status:  new
Priority:  Medium  | Milestone: 
   Component:  Auth|   Version: 
Severity:  Normal  |Resolution: 
Keywords:  |   Php_version:  n/a
Cake_version:  1.2.0.7903  |  
---+
Comment (by thajeztah):

 Makes sense, especially since controllers have a 'redirect' method which
 ''does'' redirect.

 Having two methods by the same name, but different functionality is
 confusing.

 So, you have my vote

-- 
Ticket URL: https://trac.cakephp.org/ticket/5843#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5852: Form Helper problems with extended ASCII values

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5852: Form Helper problems with extended ASCII values
-+--
Reporter:  prussell  |  Type:  Bug  
  
  Status:  new   |  Priority:  
Medium 
   Milestone:  1.2.x.x   | Component:  
Helpers
 Version:  RC3   |  Severity:  
Normal 
Keywords:  Form, Helper, Escaping Characters, ASCII  |   Php_version:  PHP 
5  
Cake_version:|  
-+--
 It seems that the form helper is unable to create HTML form objects with
 correct values when the $form-input( ) method is called while passing in
 extended ASCII characters.

 For example, this code creates a text box with the value : insx}

 {{{
 $this-Form-input($datavalue, array('value'=chr(105).chr(110).chr
 (115).chr(120).chr(125)));
 }}}


 This code creates a text box with a blank value:

 {{{
 $this-Form-input($datavalue, array('value'=chr(105).chr(110).chr
 (115).chr(130).chr(135)));
 }}}


 The difference is the last two characters. If you submit a value to the
 form helper with a character of over 127, the form helper fails to
 populate the HTML form element it creates with the value you pass in.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5852
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5182: Class property is being filtered from hidden input elements

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5182: Class property is being filtered from hidden input elements
---+
Reporter:  Lemon   | Owner:  mark_story
Type:  Bug |Status:  closed
Priority:  Medium  | Milestone:  1.2.x.x   
   Component:  Helpers |   Version:  RC2   
Severity:  Normal  |Resolution:  wontfix   
Keywords:  form hidden input class helper  |   Php_version:  n/a   
Cake_version:  1.2.0.7296 RC2  |  
---+
Comment (by mark_story):

 The class can cause issues if someone is using ''display'' in combination
 with error div classes amongst many other ways. If an input is hidden you
 normally shouldn't be manipulating it.  And if you do need to manipulate
 it with Javascript there are many other options for reaching it other than
 classname. For instance you can easily traverse the DOM tree to access any
 nodes you want.  Furthermore there are other selectors that will get
 hidden inputs that do not use class. Because of changes that can arise
 from classes being applied to hidden inputs, we recommend using an
 alternative solution.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5182#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5182: Class property is being filtered from hidden input elements

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5182: Class property is being filtered from hidden input elements
---+
Reporter:  Lemon   | Owner:  mark_story
Type:  Bug |Status:  closed
Priority:  Medium  | Milestone:  1.2.x.x   
   Component:  Helpers |   Version:  RC2   
Severity:  Normal  |Resolution:  wontfix   
Keywords:  form hidden input class helper  |   Php_version:  n/a   
Cake_version:  1.2.0.7296 RC2  |  
---+
Comment (by benjam):

 I see your point, and I'll look for a way to work around it for now.  It
 just seems a bit wrong to me to deny a useful tag attribute to users based
 on something that might happen to it in another class.  This may be better
 remedied by setting some constraints in the validation class where the
 root of the problem is, instead of curing the symptom, cure the cause.
 Just a thought for a possible future fix...

-- 
Ticket URL: https://trac.cakephp.org/ticket/5182#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5852: Form Helper problems with extended ASCII values

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5852: Form Helper problems with extended ASCII values
-+--
Reporter:  prussell  | Owner:   
  
Type:  Bug   |Status:  new  
  
Priority:  Medium| Milestone:  
1.2.x.x
   Component:  Helpers   |   Version:  RC3  
  
Severity:  Normal|Resolution:   
  
Keywords:  Form, Helper, Escaping Characters, ASCII  |   Php_version:  PHP 
5  
Cake_version:|  
-+--
Comment (by prussell):

 After about 3 days of searching, I found a solution through issue #4726.

 Disable the 'escape' option by calling the Form-input($fieldname,
 array('escape'=false)) method, and the text should present itself
 correctly.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5852#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5853: HtmlHelper::css set inline default to false

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5853: HtmlHelper::css set inline default to false
---+
Reporter:  benjam  | Owner: 
Type:  Bug |Status:  closed 
Priority:  Medium  | Milestone:  1.2.x.x
   Component:  Helpers |   Version:  RC3
Severity:  Normal  |Resolution:  wontfix
Keywords:  html helper css inline  |   Php_version:  PHP 5  
Cake_version:  |  
---+
Changes (by mark_story):

  * status:  new = closed
  * resolution:  = wontfix

Comment:

 So you never include CSS in your layout?  If anything making it not inline
 makes no sense. In general I think most CSS files are included from the
 layout.  Lastly, this will break BC which means we can't do it. At best
 this should be an enhancement.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5853#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5855: minute interval in $form-input when dateformat = 24 mistake.

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5855: minute interval in $form-input when dateformat = 24 mistake.
--+-
Reporter:  ern|  Type:  Bug
  Status:  new|  Priority:  Low
   Milestone:  1.2.x.x| Component:  Helpers
 Version:  RC3|  Severity:  Minor  
Keywords:  helper form datetime interval  |   Php_version:  PHP 5  
Cake_version: |  
--+-
 Hi,
 first of all, sorry for my poor english!!

 In a datetime 'object', if I define interval with $form-input() and if I
 define dateformat = 24 too, the interval dont works.

 I think adding the next...
 $selectMinuteAttr['interval'] = $interval;
 just below
 case '24':
 in the cake\libs\view\helpers\form.php helper
 it's enough.

 It's working in my application.

 Regards,

 Ernesto López.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5855
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5853: HtmlHelper::css set inline default to false

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5853: HtmlHelper::css set inline default to false
---+
Reporter:  benjam  | Owner: 
Type:  RFC |Status:  closed 
Priority:  Medium  | Milestone:  1.2.x.x
   Component:  Helpers |   Version:  RC3
Severity:  Normal  |Resolution:  wontfix
Keywords:  html helper css inline  |   Php_version:  PHP 5  
Cake_version:  |  
---+
Changes (by gwoo):

  * type:  Bug = RFC

-- 
Ticket URL: https://trac.cakephp.org/ticket/5853#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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5856: Core tests fail.

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5856: Core tests fail.
-+--
Reporter:  freenity  |  Type:  Test Case
  Status:  new   |  Priority:  Medium   
   Milestone:  1.2.x.x   | Component:  Core Libs
 Version:  RC3   |  Severity:  Minor
Keywords:|   Php_version:  PHP 5
Cake_version:|  
-+--
 2 of the core tests fail in nightly build as for 5 december.

 # Failed
 Expected false, got [Boolean: true] at
 [C:\xampp\htdocs\cake_night\cake\tests\cases\basics.test.php line 77]
 C:\xampp\htdocs\cake_night\cake\tests\cases\basics.test.php - BasicsTest
 - testUses
 # Failed
 Expected false, got [Boolean: true] at
 [C:\xampp\htdocs\cake_night\cake\tests\cases\basics.test.php line 78]
 C:\xampp\htdocs\cake_night\cake\tests\cases\basics.test.php - BasicsTest
 - testUses


 lines 77 and 78:

 77: $this-assertFalse(class_exists('Security'));
 78: $this-assertFalse(class_exists('Sanitize'));

-- 
Ticket URL: https://trac.cakephp.org/ticket/5856
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5857: Handling Checkbox in pagination

2008-12-05 Thread CakePHP : The Rapid Development Framework for PHP
#5857: Handling Checkbox in pagination
---+
Reporter:  ravindranathbe  |  Type:  Enhancement
  Status:  new |  Priority:  High   
   Milestone:  1.2.x.x | Component:  General
 Version:  RC2 |  Severity:  Normal 
Keywords:  |   Php_version:  n/a
Cake_version:  |  
---+
 Is there any way of handling Checkbox in pagination.
 For instance,
 Listing the users table in pagination with a checkbox by the side
 aiding the admin to select the users across the pagination
 to handle the various actions such as activating, setting users
 as featured... by maintaining the selection of users across the pages

-- 
Ticket URL: https://trac.cakephp.org/ticket/5857
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---