Re: [CakePHP : The Rapid Development Framework for PHP] #6502: 'tag'=>false option on __pagingLink PaginatorHelper

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6502: 'tag'=>false option on __pagingLink PaginatorHelper
+---
Reporter:  boovy| Owner:   
Type:  Bug  |Status:  closed   
Priority:  Medium   | Milestone:  1.2.x.x  
   Component:  Helpers  |   Version:  1.2 Final
Severity:  Normal   |Resolution:  invalid  
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by mark_story):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 the tag option only works when the pagingLink is inactive.  It provides a
 way to control the tag the pagingLink text is wrapped in. It has no effect
 when the link is active.  Also passing in false will cause broken tags and
 is expected behavior.

 {{{
 #!php
 prev('<<', null, '<<', array('tag' => 'span'));
 ?>

 }}}
  Will accomplish what I think you are trying to do.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6276: afterFind() called twice / documentation does not match behaviour

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6276: afterFind() called twice / documentation does not match behaviour
--+-
Reporter:  nemosoft   | Owner:   
Type:  RFC|Status:  new  
Priority:  Medium | Milestone:  1.2.x.x  
   Component:  Model  |   Version:  1.2 Final
Severity:  Normal |Resolution:   
Keywords:  afterFind primary data corruption  |   Php_version:  PHP 5
Cake_version:  8120   |  
--+-
Comment (by deizel):

 Please bear in mind I have done next to no research before posting this:

 Just an observation, but without the second pass it would make it
 difficult for someone to merge two records together in an afterFind()
 callback.

 I can't immediately think of a solid reason why someone might want to do
 this, but if there was a flag similar to $primary - one could check for
 this during the second pass, and this would remain a possibility.

 Alternatively, the first pass(es) could be scrapped, and the developer
 could implement record-looping himself as is documented:

 {{{
 function afterFind($results, $primary) {
 foreach ($results as $result) {
 $result = $this->_combineNames($result);
 $result = $this->_calculateTotal($result);
 }
 return parent::afterFind($results, $primary);
 }
 }}}

 Apologies if I am oversimplifying things here - just food for thought -
 feel free to correct me on anything I have overlooked.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6502: 'tag'=>false option on __pagingLink PaginatorHelper

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6502: 'tag'=>false option on __pagingLink PaginatorHelper
--+-
Reporter:  boovy  |  Type:  Bug
  Status:  new|  Priority:  Medium 
   Milestone:  1.2.x.x| Component:  Helpers
 Version:  1.2 Final  |  Severity:  Normal 
Keywords: |   Php_version:  n/a
Cake_version: |  
--+-
 Please could someone look at this?

 I want links in list elements

 First I tried this:

 echo($paginator->prev('<<', array('tag'=>'li'), '<<',
 array('tag'=>'li')));

 Which worked as long as prev produces a disabled 'link'.

 So after a little fiddling, I tried this:

 echo('' . $paginator->prev('<<', null, '<<', array('tag'=>false)) .
 ');

 which produced this HTML:

 <>>>

 Basically, it's producing a blank tag and close tag. Should this be
 happening? Am I doing something wrong?

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6501: 'hidden' => false option for the hidden input in form helper radio/checkbox/select inputs

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6501: 'hidden' => false option for the hidden input in form helper
radio/checkbox/select inputs
+---
Reporter:  ProLoser |  Type:  Enhancement
  Status:  new  |  Priority:  Low
   Milestone:  1.3.x.x  | Component:  Helpers
 Version:  1.2 Final|  Severity:  Minor  
Keywords:  form helper  |   Php_version:  n/a
Cake_version:   |  
+---
 I think it would be helpful if the argument 'hidden' => false could be
 added to $options for radio/checkboxes/select lists. The reason is because
 when displaying multiple groups of checkboxes or selects on one form, all
 the preceeding values are wiped by the last group's initial hidden tree
 stump decleration:
 {{{
 
 }}}
 This is then followed by the standard:
 {{{
 
 }}}
 This input works just fine even in multiple groups on the form.

 I have been one of three individuals in the last few days that have had to
 jump a few hurdles to get around this simply because we cannot prevent
 certain auto-generated html output.

 An example solution would be simply placing:
 {{{
 if (!isset($attributes['hidden']) || $attributes['hidden'] == false)

 before

 $select[] = $this->hidden(null, array('value' => '', 'id' => null,
 'secure' => false));
 }}}
 and possibly in a few other locations amongst the helper.

 Since I'm not sure I can expect the helper to detect multiple instances of
 itself in 1 form, at the very least it would be nice to make it a passable
 option. Right now I'm forced to manually build the sets of inputs and then
 remerge the data, I just find it unusual not to have full control on the
 generated html output.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6239: [PATCH] PaginationHelper::sort() automatically appends 'asc' or 'desc' tag class to generated anchor.

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6239: [PATCH] PaginationHelper::sort() automatically appends 'asc' or 'desc' 
tag
class to generated anchor.
+---
Reporter:  kuja | Owner: 
Type:  Enhancement  |Status:  new
Priority:  Very Low | Milestone:  1.3.x.x
   Component:  General  |   Version: 
Severity:  Trivial  |Resolution: 
Keywords:  pagination   |   Php_version:  n/a
Cake_version:  8125 |  
+---
Comment (by dmark84):

 Thanks for this patch! I'm using it successfully on my latest project. I'd
 like to see this included in the next release.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6500: PHP 5.3 incompatibility

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6500: PHP 5.3 incompatibility
+---
Reporter:  Earendil | Owner:   
Type:  Enhancement  |Status:  new  
Priority:  High | Milestone:   
   Component:  General  |   Version:   
Severity:  Major|Resolution:   
Keywords:   |   Php_version:  PHP 5
Cake_version:   |  
+---
Changes (by gwoo):

  * version:  1.2 Final =>
  * type:  Bug => Enhancement
  * milestone:  1.2.x.x =>

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6500: PHP 5.3 incompatibility

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6500: PHP 5.3 incompatibility
--+-
Reporter:  Earendil   |  Type:  Bug
  Status:  new|  Priority:  High   
   Milestone:  1.2.x.x| Component:  General
 Version:  1.2 Final  |  Severity:  Major  
Keywords: |   Php_version:  PHP 5  
Cake_version: |  
--+-
 I have yet upgraded to PHP 5.3.0. This is the result, trying to open a
 page.

 {{{
 Strict Standards: Redefining already defined constructor for class Object
 in [...]\cake\libs\object.php on line 63
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\inflector.php on line 131
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\configure.php on line 136
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\configure.php on line 226
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\configure.php on line 906
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\configure.php on line 946
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\cache.php on line 71
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\cache.php on line 151
 Strict Standards: Non-static method Configure::getInstance() should not be
 called statically in [...]\cake\bootstrap.php on line 43
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\debugger.php on line 99
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\debugger.php on line 108
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs ile.php on line 96
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\cache ile.php on line 89
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\dispatcher.php on line 453
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\dispatcher.php on line 677
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs outer.php on line 173
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\controller\controller.php on line 338
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\controller\controller.php on line 775
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\controller\component.php on line 237
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\controller\component.php on line 239
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs iew iew.php on line 744
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\class_registry.php on line 68
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\class_registry.php on line 140
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\class_registry.php on line 148
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs alidation.php on line 122
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\model\behavior.php on line 286
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\model\connection_manager.php on line 66
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\model\connection_manager.php on line 80
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\model\connection_manager.php on line 106
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\string.php on line 45
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\i18n.php on line 107
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\i18n.php on line 108
 Deprecated: Function split() is deprecated in [...]\cake\libs\l10n.php on
 line 396
 Deprecated: Assigning the return value of new by reference is deprecated
 in [...]\cake\libs\security.php on line 53
 }}}

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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 pr

Re: [CakePHP : The Rapid Development Framework for PHP] #6483: Notice in Http_socket.php when header 'Transfer-Encoding' is not set

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6483: Notice in Http_socket.php when header 'Transfer-Encoding' is not set
--+-
Reporter:  primeminister  | Owner:   
Type:  Bug|Status:  reopened 
Priority:  Medium | Milestone:  1.2.x.x  
   Component:  General|   Version:  1.2 Final
Severity:  Normal |Resolution:   
Keywords: |   Php_version:  PHP 5
Cake_version: |  
--+-
Changes (by primeminister):

  * status:  closed => reopened
  * resolution:  needmoreinfo =>

Comment:

 Hope this helps but still don't know how to make a testcase for this or
 add this to the http_socket.php testcase.


 {{{
 App::import('Core', 'HttpSocket');
 $HttpSocket = new HttpSocket();
 $HttpSocket->quirksMode = true;
 $query = array('method'=>'artist.getimages', 'artist'=>$artist['name'],
 'api_key'=>Configure::read('CS.lastfm_api_key'));
 if ($results = $HttpSocket->get("http://ws.audioscrobbler.com/2.0/";,
 $query)) {
 // do stuff with $results
 }
 }}}

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6499: UpdateAll() - string quoting problems, and model alias inconsistencies

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6499: UpdateAll() - string quoting problems, and model alias inconsistencies
-+--
Reporter:  kunalpunjabi  | Owner:   
Type:  Bug   |Status:  closed   
Priority:  Medium| Milestone:  1.2.x.x  
   Component:  Model |   Version:  1.2 Final
Severity:  Major |Resolution:  wontfix  
Keywords:|   Php_version:  PHP 5
Cake_version:|  
-+--
Changes (by gwoo):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 updateAll has a different purpose than save. save and saveAll will do what
 you need.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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] #6498: Email Component reset() does not reinitialize attachments property

2009-07-09 Thread CakePHP : The Rapid Development Framework for PHP
#6498: Email Component reset() does not reinitialize attachments property
+---
Reporter:  jeffz| Owner:  jperras  
Type:  Bug  |Status:  new  
Priority:  Low  | Milestone:  1.2.x.x  
   Component:  Components   |   Version:  1.2 Final
Severity:  Minor|Resolution:   
Keywords:  email reset attachments  |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by jperras):

  * owner:  => jperras

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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
-~--~~~~--~~--~--~---