Re: [CakePHP : The Rapid Development Framework for PHP] #5751: Ampersand bug in $this-params['pass'] and $this-params['url']

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#5751: Ampersand bug in $this-params['pass'] and $this-params['url']
---+
Reporter:  xbuzz   | Owner:  
Type:  Bug |Status:  reopened
Priority:  High| Milestone:  
   Component:  General |   Version:  RC3 
Severity:  Normal  |Resolution:  
Keywords:  |   Php_version:  PHP 5   
Cake_version:  1.2.0.7692 RC3  |  
---+
Comment (by bsweeney):

 I recently ran into this problem on a site I'm developing. The problem is
 definitely with the RewriteRule, because the bug is in Apache. The best
 description I've found was by Matthew
 Somerville[http://www.dracos.co.uk/code/apache-rewrite-problem/].
 Essentially, Apache is unencoding ampersands when processing the URL
 through mod_rewrite, and not encoding any output.

 Hard to say how long a until a patch for Apache will be included. And
 should CakePHP rely on that, hack around the problem, or modify the way
 the URL is parsed? Personally the last of the three seems the most robust
 to me.

 In the meantime, I've found that triple-encoding ampersands (%252526)
 seems to work on my install.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5751#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] #4712: Containable: ability to strictly filter returned data

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#4712: Containable: ability to strictly filter returned data
---+
Reporter:  teknoid | Owner: 
Type:  Enhancement |Status:  new
Priority:  Medium  | Milestone:  2.0.0.x
   Component:  Components  |   Version:  2.0.x.x
Severity:  Normal  |Resolution: 
Keywords:  containable filter teknoid  |   Php_version:  n/a
Cake_version:  |  
---+
Comment (by chmoindron):

 I agree too. This functionality seems quite important, especially since
 it's the only one that remotely looks like a way to specify conditions on
 associated tables in a HABTM relationship.

-- 
Ticket URL: https://trac.cakephp.org/ticket/4712#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] #1209: Find method for HABTM should allow for specifying conditions on the join model

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#1209: Find method for HABTM should allow for specifying conditions on the join
model
-+--
Reporter:  kitten| Owner:   
 
Type:  Enhancement   |Status:  
closed
Priority:  Medium| Milestone:  
1.2.x.x   
   Component:  Model |   Version:  
RC1   
Severity:  Normal|Resolution:  
fixed 
Keywords:  find HABTM conditions join kitten motin gwoo  |   Php_version:  
PHP 4 = 4.3.0
Cake_version:|  
-+--
Comment (by chmoindron):

 Replying to [comment:9 the_undefined]:
  This should be doable now using the new Containable behavior together
 with setting the 'with' property for HABTM.

 Not really. Or I didn't find how to do it. Containable does indeed filter
 results, but if I have, let's say, Post HABTM Tag, and I set contain
 Tag.name='whatever', I'll still get all the posts, with an empty Tag
 array.

 So, maybe this ticket could be reopened?

-- 
Ticket URL: https://trac.cakephp.org/ticket/1209#comment:11
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] #6006: Saving a model with non-trivial HABTM relation does not delete previous relationships.

2009-01-15 Thread CakePHP : The Rapid Development Framework for PHP
#6006: Saving a model with non-trivial HABTM relation does not delete previous
relationships.
--+-
Reporter:  Jafinto|  Type:  Bug
  Status:  new|  Priority:  Medium 
   Milestone:  1.2.x.x| Component:  Model  
 Version:  1.2 Final  |  Severity:  Trivial
Keywords: |   Php_version:  n/a
Cake_version: |  
--+-
 I'm using two models: Album and Song. These models both have a HABTM
 relationship with each other. The SQL join table albums_songs consists of
 four fields: id, album_id, song_id and track_number.
 [[BR]][[BR]]
 When I try to save a song, I set Song-id to the right id and pass the
 following array to Song-save:
 {{{
 array(
 'Song' = array(
 *SongInfo
 ),
 'Album' = array(
 'Album' = array(
 array(
 'album_id' = 9,
 'track_number' = 1
 )
 )
 )
 );
 }}}
 This does save the song, but it also adds a relationship to the
 albums_songs table without removing existing ones. This is not intended,
 because in the HABTM relationship the option unique is set to true.
 [[BR]][[BR]]
 I have attached a patch against 1.2.x.x trunk.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6006
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
-~--~~~~--~~--~--~---