[CakePHP : The Rapid Development Framework for PHP] #6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells
---+
Reporter:  danfreak|  Type:  Bug 
  Status:  new |  Priority:  Critical
   Milestone:  1.2.x.x | Component:  General 
 Version:  1.2 Final   |  Severity:  Major   
Keywords:  |   Php_version:  PHP 5   
Cake_version:  1.2.1.8038  |  
---+
 Since I updated the core to revision 8035 and then 8038 $uses doesn't work
 anymore in custom shells for models in plugins.

 Example code:

 {{{
 ?php
 class GrabRssShell extends Shell {
 var $uses = array('Rssgator.RssgatorContent');

 function main() {
 //Get orders shipped in the lastmonth
 $this-RssgatorContent-grabFeeds();
 }
 }
 }}}

 The answer from the shell is:

 {{{
 Hello daniel,

 Welcome to CakePHP v1.2.0.5427alpha Console
 ---
 Error: Missing model 'Rssgator.RssgatorContent'
 }}}

 But the model exists and works fine.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6109
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] #6110: XCache error when clearing cache

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6110: XCache error when clearing cache
---+
Reporter:  oscar   |  Type:  Bug
  Status:  new |  Priority:  Low
   Milestone:  1.2.x.x | Component:  General
 Version:  1.2 Final   |  Severity:  Minor  
Keywords:  xcache  |   Php_version:  PHP 5  
Cake_version:  1.2.1.8004  |  
---+
 Bug introduced in [7985], xcache_count() is called after de-
 authenticating, leading to errors like this:

 {{{
 XCache Auth Failed. User and Password is case sense
 }}}

-- 
Ticket URL: https://trac.cakephp.org/ticket/6110
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] #6097: Prefix fouting for controllers

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6097: Prefix fouting for controllers
--+-
Reporter:  zamos  | Owner: 
Type:  Enhancement|Status:  new
Priority:  Medium | Milestone: 
   Component:  Routing/Dispatcher |   Version: 
Severity:  Normal |Resolution: 
Keywords:  prefix routing controller  |   Php_version:  n/a
Cake_version:  1.2.1.8004 |  
--+-
Comment (by zamos):

 new version of diff file is uploaded.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6097#comment:3
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] #6111: Controller:validateErrors() doesn't correctly pass controller's data to models.

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6111: Controller:validateErrors() doesn't correctly pass controller's data to
models.
--+-
Reporter:  sebby  |  Type:  Bug   
  Status:  new|  Priority:  High  
   Milestone:  1.2.x.x| Component:  Controller
 Version:  1.2 Final  |  Severity:  Major 
Keywords:  controller validation  |   Php_version:  n/a   
Cake_version:  1.2.1.8004 |  
--+-
 When trying to validate data inside the controller, using
 [http://api.cakephp.org/view_source/controller/#line-704
 Controller:validateErrors()] method, the model receive it's own data
 (which is empty), on line
 [http://api.cakephp.org/view_source/controller/#line-713 713], instead of
 controller's data.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6111
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] #6112: Speed enhancement for TreeBehavior::reorder()

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6112: Speed enhancement for TreeBehavior::reorder()
-+--
Reporter:  palam |  Type:  Enhancement
  Status:  new   |  Priority:  Medium 
   Milestone:  1.2.x.x   | Component:  General
 Version:  1.2 Final |  Severity:  Normal 
Keywords:  treebehavior, reorder, speed  |   Php_version:  PHP 5  
Cake_version:|  
-+--
 TreeBehavior::reorder() currently doesn't check if a node has to be moved
 before moving it. AD7six pointed this out at #cakephp and suggested I
 submit an enhancement if I can make it faster.[[BR]][[BR]]
 I've used two slightly differing methods that pretty much use the same
 algorithm. One is faster and uses fewer queries, while the other is
 prettier. I'm attaching the two patch files with this ticket. I've run the
 TreeBehavior tests on these patches and they both pass.[[BR]][[BR]]
 Running only the reorder test multiple times, here are the numbers on my
 laptop (1GHz PB G4, with 1.25GB RAM):[[BR]]
 Current code: 1362 queries ~4.5s[[BR]]
 Pretty version: 642 queries ~3s[[BR]]
 Fast version: 579 queries ~2.2s[[BR]][[BR]]
 This is the first patch I'm submitting, so if I've erred in the coding
 style (I've tried not to), please forgive :-)[[BR]][[BR]]
 As a side note - and this may be obvious when you see the code: I
 implemented the algorithm I worked out today and haven't checked for
 better algorithms.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6112
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] #6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells
---+
Reporter:  danfreak| Owner:   
Type:  Test Case   |Status:  new  
Priority:  Critical| Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Major   |Resolution:   
Keywords:  |   Php_version:  PHP 5
Cake_version:  1.2.1.8038  |  
---+
Changes (by mark_story):

  * type:  Bug = Test Case

Comment:

 There is actually a test case for this exact thing. It seems to be passing
 fine for me. Also the code in question Shell::_loadModels has not changed
 since [7726].  Perhaps you can provide a test case that fails?

-- 
Ticket URL: https://trac.cakephp.org/ticket/6109#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] #6113: Acl-allow fails on MSSQL

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6113: Acl-allow fails on MSSQL
--+-
Reporter:  c_schmitz  |  Type:  Bug
  Status:  new|  Priority:  High   
   Milestone:  1.2.x.x| Component:  General
 Version:  1.2 Final  |  Severity:  Major  
Keywords:  mssql ARO allow c_schmitz  |   Php_version:  PHP 5  
Cake_version: |  
--+-
 Using CakePHP version: cake_1.2.1 build 8004

 The following code is executed in my application using a MSSQL
 database.[[BR]]

 The exact same code works like a charm with MySQL!

 {{{
 $user_id=3;
 $survey_id=1;
 $this-Acl-allow('User::'.$user_id, 'sBasic::'.$survey_id);
 }}}

 Both ARO and ACO exist, of course.
 Executing the command above leads to the following SQL on MSSQL

 {{{
 Query: INSERT INTO [aros_acos] ([_create], [_read], [_update], [_delete],
 [created], [modified], [aco_id], [aro_id]) VALUES ('1', '1', '1', '1',
 '1', '1', 11, 11)
 }}}

 ...which is obviously wrong since '1' is not a valid value for the date
 fields [modified] or [created] field.


 Unfortunately I am not very good with CakePHP inner workings so I cannot
 provide a fix, but this bug is a blocker since it renders the complete ACL
 useless on MSSQL.
 Please help![[BR]]

 [[BR]]

 Thank you very much for this otherwise great product!

-- 
Ticket URL: https://trac.cakephp.org/ticket/6113
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] #6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells
---+
Reporter:  danfreak| Owner:   
Type:  Test Case   |Status:  new  
Priority:  Critical| Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Major   |Resolution:   
Keywords:  |   Php_version:  PHP 5
Cake_version:  1.2.1.8038  |  
---+
Comment (by danfreak):

 sorry, but it's probably my mistake with regard to application path in
 invoching the shell.

 Fell free to close this ticket as invalid!

 Sorry again!

 Dan

-- 
Ticket URL: https://trac.cakephp.org/ticket/6109#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] #6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6109: $uses = array('Plugin.PluginModel'); doesn't work anymore in shells
---+
Reporter:  danfreak| Owner:   
Type:  Test Case   |Status:  closed   
Priority:  Critical| Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Major   |Resolution:  invalid  
Keywords:  |   Php_version:  PHP 5
Cake_version:  1.2.1.8038  |  
---+
Changes (by gwoo):

  * status:  new = closed
  * resolution:  = invalid

-- 
Ticket URL: https://trac.cakephp.org/ticket/6109#comment:3
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] #6110: XCache error when clearing cache

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6110: XCache error when clearing cache
---+
Reporter:  oscar   | Owner:  TommyO   
Type:  Bug |Status:  assigned 
Priority:  Low | Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Minor   |Resolution:   
Keywords:  xcache  |   Php_version:  PHP 5
Cake_version:  1.2.1.8004  |  
---+
Changes (by TommyO):

  * owner:  = TommyO
  * status:  new = assigned

-- 
Ticket URL: https://trac.cakephp.org/ticket/6110#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] #6111: Controller:validateErrors() doesn't correctly pass controller's data to models.

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6111: Controller:validateErrors() doesn't correctly pass controller's data to
models.
--+-
Reporter:  sebby  | Owner:   
Type:  RFC|Status:  new  
Priority:  High   | Milestone:  1.2.x.x  
   Component:  Controller |   Version:  1.2 Final
Severity:  Major  |Resolution:   
Keywords:  controller validation  |   Php_version:  n/a  
Cake_version:  1.2.1.8004 |  
--+-
Changes (by gwoo):

  * type:  Bug = RFC

Comment:

 this is would change the functionality of the method. You must set your
 data to the model before using this method. Changing this to an RFC, so we
 can review it for future versions.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6111#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] #6114: foreach ($news as $news)

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6114: foreach ($news as $news)
-+--
Reporter:  lloydsparkes  |  Type:  Bug 
  Status:  new   |  Priority:  Very Low
   Milestone:  1.2.x.x   | Component:  Scaffold
 Version:  1.2 Final |  Severity:  Trivial 
Keywords:|   Php_version:  n/a 
Cake_version:  1.2.1.8004|  
-+--
 When using cake bake to generate the MVC for a model called news and
 creating the basic views and actions the following code gets generated

 $i = 0;
 foreach ($news as $news):
 $class = null;
 if ($i++ % 2 == 0) {
 $class = ' class=altrow';
 }

 which of course wont work properly. The problem is that news is the pural
 of its self, and a special case should be added for it.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6114
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] #6114: foreach ($news as $news)

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6114: foreach ($news as $news)
-+--
Reporter:  lloydsparkes  | Owner:   
Type:  Enhancement   |Status:  new  
Priority:  Very Low  | Milestone:  1.2.x.x  
   Component:  Scaffold  |   Version:  1.2 Final
Severity:  Trivial   |Resolution:   
Keywords:|   Php_version:  n/a  
Cake_version:  1.2.1.8004|  
-+--
Changes (by gwoo):

  * type:  Bug = Enhancement

Comment:

 there really is not much we can do unless we add special cases for
 inflections that are the same in both the singular and plural form.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6114#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] #6116: test failure in basics.test.php when All Core Tests are run, but not standalone

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6116: test failure in basics.test.php when All Core Tests are run, but not
standalone
--+-
Reporter:  ruben  |  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: |  
--+-
 When you run 'All Core Tests', from the webinterface, basics.test.php
 fails in testUses:
 $this-assertFalse(class_exists('Security'));
 $this-assertFalse(class_exists('Sanitize'));


 The method runAllTests from TestManager is called, which adds all
 testfiles to a GroupTest. This in turn includes the Security and Sanitize
 classes which are required by other tests than basics.test.php.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6116
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] #6117: wrong controller name in debug messages

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6117: wrong controller name in debug messages
+---
Reporter:  andraskende  |  Type:  Bug
  Status:  new  |  Priority:  Medium 
   Milestone:  1.2.x.x  | Component:  General
 Version:  1.2 Final|  Severity:  Normal 
Keywords:   |   Php_version:  PHP 5  
Cake_version:  1.2.1.8004   |  
+---
 CakePHP SVN 1.2 8041 debug messages enabled, invalid controller name:

 http://localhost/cakesvn128041/hellos/ - Error: IndexController could not
 be found.

 1.2 Final works correctly as:

 http://localhost/cake128004/hellos/ - Error:  HellosController could not
 be found.


 Both fresh install only modified: core.php salt , chmod -R 777 tmp,
 created database.php

-- 
Ticket URL: https://trac.cakephp.org/ticket/6117
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] #6116: test failure in basics.test.php when All Core Tests are run, but not standalone

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6116: test failure in basics.test.php when All Core Tests are run, but not
standalone
-+--
Reporter:  ruben | Owner:   
Type:  Optimization  |Status:  new  
Priority:  Medium| Milestone:  1.2.x.x  
   Component:  General   |   Version:  1.2 Final
Severity:  Normal|Resolution:   
Keywords:|   Php_version:  n/a  
Cake_version:|  
-+--
Changes (by gwoo):

  * type:  Bug = Optimization

-- 
Ticket URL: https://trac.cakephp.org/ticket/6116#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] #6115: l10n

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6115: l10n
---+
Reporter:  verbal  | Owner:   
Type:  Bug |Status:  new  
Priority:  Medium  | Milestone:  1.2.x.x  
   Component:  i18n/l10n   |   Version:  1.2 Final
Severity:  Normal  |Resolution:   
Keywords:  |   Php_version:  PHP 5
Cake_version:  1.2.1.8004  |  
---+
Old description:

 I got different results for:

 __n('hour', 'hours', 1);

 and

 __n('hour', 'hours', (float)1);

 In my .po files I use:

 msgid %plural-c
 msgstr nplurals=3; plural=n==1 ? 0 : n%10=2  n%10=4  (n%10010 ||
 n%100=20) ? 1 : 2;

 msgid hour
 msgid_plural hours
 msgstr[0] godzina
 msgstr[1] godziny
 msgstr[2] godzin

 With __n('hour', 'hours', 1) I get godzina, with __n('hour', 'hours',
 (float)1) I get godzin.

 I found this problem using your TimeHelper::timeAgoInWords() function.
 The problem lays in I18n::__pluralGuess where you compare with ===
 which compares also types as I recall and it will return false on
 (float)1 === 1.

New description:

 I got different results for:
 {{{
 __n('hour', 'hours', 1);

 and

 __n('hour', 'hours', (float)1);

 In my .po files I use:

 msgid %plural-c
 msgstr nplurals=3; plural=n==1 ? 0 : n%10=2  n%10=4  (n%10010 ||
 n%100=20) ? 1 : 2;

 msgid hour
 msgid_plural hours
 msgstr[0] godzina
 msgstr[1] godziny
 msgstr[2] godzin
 }}}
 With __n('hour', 'hours', 1) I get godzina, with __n('hour', 'hours',
 (float)1) I get godzin.

 I found this problem using your TimeHelper::timeAgoInWords() function.
 The problem lays in I18n::__pluralGuess where you compare with === which
 compares also types as I recall and it will return false on (float)1 ===
 1.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6115#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] #6110: XCache error when clearing cache

2009-02-17 Thread CakePHP : The Rapid Development Framework for PHP
#6110: XCache error when clearing cache
---+
Reporter:  oscar   | Owner:  TommyO   
Type:  Bug |Status:  closed   
Priority:  Low | Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Minor   |Resolution:  fixed
Keywords:  xcache  |   Php_version:  PHP 5
Cake_version:  1.2.1.8004  |  
---+
Comment (by TommyO):

 xcache_count() does not require auth, so is not the cause of the error.
 The error is triggered by xcache_clear_cache() only when
 xcache.admin.enable_auth is set to 'On' in php.ini and the
 username/password does not match the configuration.

 We are looking into a way to strengthen this process now, but an easy fix
 is to disable xcache.admin.enable_auth, which allows xcache_clear_cache()
 to be called cleanly.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6110#comment:3
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
-~--~~~~--~~--~--~---