Re: [CakePHP : The Rapid Development Framework for PHP] #4877: Console schema generate doesnt work for every models.

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#4877: Console schema generate doesnt work for every models.
+---
Reporter:  titang   | Owner: 
Type:  Enhancement  |Status:  new
Priority:  Medium   | Milestone:  1.3.x.x
   Component:  Schema   |   Version: 
Severity:  Normal   |Resolution: 
Keywords:   |   Php_version:  n/a
Cake_version:   |  
+---
Comment (by euromark):

 yeah
 i did find out that cake has some real problems with that sometimes.

 if you did not set up the table with a primary key in the first place
 cake schema run update
 will crash

 if you try to update to a newer version from version control with tables
 that you did not have yet, it will crash because it does not find the
 database table
 well, of course, because we want to create it.. :)

 these are the two major things i noticed
 i ended up doing it manually because the schema generation is not yet
 stable enough

-- 
Ticket URL: https://trac.cakephp.org/ticket/4877#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] #4877: Console schema generate doesnt work for every models.

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#4877: Console schema generate doesnt work for every models.
+---
Reporter:  titang   | Owner: 
Type:  Enhancement  |Status:  new
Priority:  Medium   | Milestone:  1.3.x.x
   Component:  Schema   |   Version: 
Severity:  Normal   |Resolution: 
Keywords:   |   Php_version:  n/a
Cake_version:   |  
+---
Comment (by euromark):

 well i guess my reports a little bit of topic.. :)
 i probably could have opened a new ticket for it as well

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



[CakePHP : The Rapid Development Framework for PHP] #6144: Console Schema generation should support comments

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6144: Console Schema generation should support comments
--+-
Reporter:  euromark   |  Type:  Enhancement
  Status:  new|  Priority:  High   
   Milestone:  1.3.x.x| Component:  Console
 Version:  1.2 Final  |  Severity:  Normal 
Keywords: |   Php_version:  n/a
Cake_version: |  
--+-
 If you work with some guys using version control
 you will experience some major loss of information when using
 the console with cake schema run update + cake schema generate -s
 as the comments of both the tables themselves and the fields are not
 written into the schema_x.php
 [[BR]]
 [[BR]]

 this can be a real problem if the comment is essential for knowing what
 this field is supposed to be for (or what values it is supposed to have
 etc)
 [[BR]]
 [[BR]]

 it would be really nice if the comments would be synced as well.[[BR]]

 This way less information is lost using console schema functions
 [[BR]]
 [[BR]]
 Example of a fully commented table by using normal sql export methods
 fro PHPMYADMIN:

 {{{
 CREATE TABLE IF NOT EXISTS `telbuch_roles_users` (
   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
   `user_id` int(10) unsigned NOT NULL,
   `role_id` int(10) unsigned NOT NULL,
   `active` tinyint(1) unsigned NOT NULL default '0' COMMENT 'if confirmed
 by any admin',
   PRIMARY KEY (`id`)
 ) ENGINE=MyISAM COMMENT='HABTM join table between ROLES and USERS'
 AUTO_INCREMENT=29 ;

 }}}
 in our case both comments here would be permanently lost using the above
 way to update database


 [[BR]]
 [[BR]]
 I am not sure if other optional fields containing possible information
 are not synced as well - but if so, maybe they can be added as well.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6144
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] #5020: allow sql data export from cake console

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#5020: allow sql data export from cake console
+---
Reporter:  brightstorm  | Owner: 
Type:  Enhancement  |Status:  new
Priority:  Low  | Milestone:  1.3.x.x
   Component:  Console  |   Version: 
Severity:  Normal   |Resolution: 
Keywords:   |   Php_version:  PHP 5  
Cake_version:   |  
+---
Comment (by euromark):

 by the way:
 i did find out that cake has some real problems with the console update
 sometimes.
 [[BR]]
 [[BR]]

 if you did not set up the table with a primary key in the first place cake
 schema run update will crash
 [[BR]]
 [[BR]]

 if you try to update to a newer version from version control with tables
 that you did not have yet (because some other user did set them up), it
 will crash because it does not find the database table.
 [[BR]]
 well, of course, because we want to create it.. :)
 [[BR]]
 [[BR]]

 these are the two major things i noticed.[[BR]]

 i ended up doing it manually (import/export real SQL) because the schema
 generation is not yet stable enough
 (besides the above loss of information!)

-- 
Ticket URL: https://trac.cakephp.org/ticket/5020#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] #6137: created time was reset during update

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6137: created time was reset during update
+---
Reporter:  dq...@yahoo.com  | Owner:  mark_story
Type:  Test Case|Status:  assigned  
Priority:  High | Milestone:  1.2.x.x   
   Component:  PostgreSQL   |   Version:  1.2 Final 
Severity:  Critical |Resolution:
Keywords:   |   Php_version:  PHP 5 
Cake_version:   |  
+---
Comment (by dq...@yahoo.com):

 Thank you. I create the test case. use set will solve the problem in live
 server.
 The problem is the test server is correct with all actions.

 is the pdo version matter? I saw the version is a little bit different.
 PostgreSQL(libpq) Version 7.4.19 (Test)
 PostgreSQL(libpq) Version 7.4.17 (live)

 CREATE TABLE public.default_tests (
   id SERIAL,
   firstname VARCHAR(255) DEFAULT ''::character varying NOT NULL,
   lastname VARCHAR(255) DEFAULT ''::character varying NOT NULL,
   nickname TEXT,
   created TIMESTAMP WITHOUT TIME ZONE DEFAULT now() NOT NULL,
   height SMALLINT,
   weight SMALLINT,
   modified TIMESTAMP WITHOUT TIME ZONE DEFAULT now() NOT NULL,
   birthday DATE,
   notes VARCHAR,
   title TEXT,
   initial_entry VARCHAR(100),
   gender CHAR(1),
   CONSTRAINT default_tests_pkey PRIMARY KEY(id)
 ) WITHOUT OIDS;

 CREATE UNIQUE INDEX default_tests_id_key ON public.default_tests
   USING btree (id);



 Model:
 ?php
 class DefaultTest extends AppModel
 {

 }


 Action:
 public function test()
 {
 if($check = $this-DefaultTest-findById(1)){
 var_dump($check);
 $this-DefaultTest-create(array('id'=1,
 'title'='Tt_edit'));
 $this-DefaultTest-save(null, false);
 }
 exit;
 }



 **Test Server**

 SELECT DefaultTest.id AS DefaultTest__id, DefaultTest.firstname
 AS DefaultTest__firstname, DefaultTest.lastname AS
 DefaultTest__lastname, DefaultTest.nickname AS
 DefaultTest__nickname, DefaultTest.created AS
 DefaultTest__created, DefaultTest.height AS DefaultTest__height,
 DefaultTest.weight AS DefaultTest__weight, DefaultTest.modified
 AS DefaultTest__modified, DefaultTest.birthday AS
 DefaultTest__birthday, DefaultTest.notes AS DefaultTest__notes,
 DefaultTest.title AS DefaultTest__title, DefaultTest.gender AS
 DefaultTest__gender, DefaultTest.initial_entry AS
 DefaultTest__initial_entry FROM default_tests AS DefaultTest WHERE
 DefaultTest.id = '1' LIMIT 1

 Model-find(array, NULL, NULL, NULL)
 /cake/libs/model/datasources/dbo_source.php, line 252
 Model-call__(string, array) /cake/libs/overloadable_php5.php, line 59
 Overloadable-__call(string, array)
 DefaultTest-findById(1) /app/controllers/drills_verify_controller.php,
 line 305
 DrillsVerifyController-test()
 call_user_func_array(array, array) /cake/dispatcher.php, line 280
 Dispatcher-_invoke(DrillsVerifyController, array, boolean)
 /cake/dispatcher.php, line 252
 Dispatcher-dispatch(NULL) /app/webroot/index.php, line 84

 0   1   2
 150 SELECT COUNT(*) AS count FROM default_tests AS DefaultTest
 WHERE DefaultTest.id = '1'

 Model-find(string, array) /cake/libs/model/model.php, line 1885
 Model-findCount(array, -1) /cake/libs/model/model.php, line 1631
 Model-exists() /cake/libs/model/model.php, line 1127
 Model-save(NULL, boolean) /app/controllers/drills_verify_controller.php,
 line 308
 DrillsVerifyController-test()
 call_user_func_array(array, array) /cake/dispatcher.php, line 280
 Dispatcher-_invoke(DrillsVerifyController, array, boolean)
 /cake/dispatcher.php, line 252
 Dispatcher-dispatch(NULL) /app/webroot/index.php, line 84

 0   1   1
 151 UPDATE default_tests SET id = '1', title = 'Tt_edit',
 modified = '2009-02-27 08:52:21' WHERE default_tests.id IN ('1')




 ***Live Server**
 SELECT DefaultTest.id AS DefaultTest__id, DefaultTest.firstname
 AS DefaultTest__firstname, DefaultTest.lastname AS
 DefaultTest__lastname, DefaultTest.nickname AS
 DefaultTest__nickname, DefaultTest.created AS
 DefaultTest__created, DefaultTest.height AS DefaultTest__height,
 DefaultTest.weight AS DefaultTest__weight, DefaultTest.modified
 AS DefaultTest__modified, DefaultTest.birthday AS
 DefaultTest__birthday, DefaultTest.notes AS DefaultTest__notes,
 DefaultTest.title AS DefaultTest__title,
 DefaultTest.initial_entry AS DefaultTest__initial_entry,
 DefaultTest.gender AS DefaultTest__gender FROM default_tests AS
 DefaultTest WHERE DefaultTest.id = '1' LIMIT 1

 Model-find(array, NULL, NULL, NULL)
 /cake/libs/model/datasources/dbo_source.php, line 252
 Model-call__(string, array) /cake/libs/overloadable_php5.php, line 59
 

Re: [CakePHP : The Rapid Development Framework for PHP] #6128: set::extract wrong parent node retrieved

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6128: set::extract wrong parent node retrieved
---+
Reporter:  francky06l  | Owner:   
Type:  Bug |Status:  closed   
Priority:  High| Milestone:  1.2.x.x  
   Component:  General |   Version:  1.2 Final
Severity:  Major   |Resolution:  wontfix  
Keywords:  extract |   Php_version:  n/a  
Cake_version:  1.2.1.8004  |  
---+
Changes (by nate):

  * status:  new = closed
  * resolution:  = wontfix

Comment:

 This is fundamentally the same issue as #6049.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6128#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] #6145: AuthComponent fails if the methods / actions of a controller contain upper characters

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6145: AuthComponent fails if the methods / actions of a controller contain 
upper
characters
+---
Reporter:  criticalsection  |  Type:  Bug   
  Status:  new  |  Priority:  High  
   Milestone:  1.2.x.x  | Component:  Auth  
 Version:  1.2 Final|  Severity:  Normal
Keywords:   |   Php_version:  n/a   
Cake_version:   |  
+---
 The CRUD-authorization of the AuthComponent does not map actions if the
 actions' names contain upper characters f.e. ToolsController::buildAcl

 The issue is in line 268 of auth.php:
 !in_array($controller-params['action'], $controller-methods)

 The comparison will fail cause the elements of the $controller-methods-
 array are lowercased but $controller-params['action'] isn't.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6145
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] #6137: created time was reset during update

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6137: created time was reset during update
+---
Reporter:  dq...@yahoo.com  | Owner:  mark_story
Type:  Test Case|Status:  closed
Priority:  High | Milestone:  1.2.x.x   
   Component:  PostgreSQL   |   Version:  1.2 Final 
Severity:  Critical |Resolution:  worksforme
Keywords:   |   Php_version:  PHP 5 
Cake_version:   |  
+---
Changes (by mark_story):

  * status:  assigned = closed
  * resolution:  = worksforme

Comment:

 Using all your code as supplied I cannot reproduce the error.  I do not
 get any SQL errors, nor does {{{::character varying}} appear anywhere in
 my sql statements.  As for the created time being reset, when you use
 {{{Model::create()}}} on an existing record you are asking the model to
 reset set any non-existant fields to their defaults.  Which in the case of
 your created and modified fields is {{{now()}}. If this is undesired then
 do not use create() and use set() instead.  If you do not wish to loose
 your created time on each save then remove the default value from it, or
 use set() instead.  If you would like to reopen with a diff against an
 existing test case please do so.  But as it stands I think the error is in
 your use of create().

-- 
Ticket URL: https://trac.cakephp.org/ticket/6137#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] #6145: AuthComponent fails if the methods / actions of a controller contain upper characters

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6145: AuthComponent fails if the methods / actions of a controller contain 
upper
characters
+---
Reporter:  criticalsection  | Owner:   
Type:  Bug  |Status:  closed   
Priority:  High | Milestone:  1.2.x.x  
   Component:  Auth |   Version:  1.2 Final
Severity:  Normal   |Resolution:  duplicate
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by gwoo):

  * status:  new = closed
  * resolution:  = duplicate

Comment:

 please search for tickets before reporting.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6145#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] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6146: [PATCH+TEST] Validation for cs+sk postal codes
---+
   Reporter:  sluniicko|  Owner:   
   Type:  Enhancement  | Status:  new  
   Priority:  Medium   |  Milestone:  1.3.x.x  
  Component:  Validation   |Version:  1.2 Final
   Severity:  Normal   |   Keywords:   
Php_version:  n/a  |   Cake_version:  8066 
---+
 Adds suport for validation of czech and slovak postal codes

-- 
Ticket URL: https://trac.cakephp.org/ticket/6146
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] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6146: [PATCH+TEST] Validation for cs+sk postal codes
+---
Reporter:  sluniicko| Owner: 
Type:  Enhancement  |Status:  new
Priority:  Medium   | Milestone:  1.3.x.x
   Component:  Validation   |   Version: 
Severity:  Normal   |Resolution: 
Keywords:   |   Php_version:  n/a
Cake_version:  8066 |  
+---
Changes (by sluniicko):

  * version:  1.2 Final =

-- 
Ticket URL: https://trac.cakephp.org/ticket/6146#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] #6147: Using console script to update a Postgres database fails with syntax error

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6147: Using console script to update a Postgres database fails with syntax 
error
-+--
Reporter:  chrisbdaemon  |  Type:  Bug   
  Status:  new   |  Priority:  Medium
   Milestone:  1.2.x.x   | Component:  PostgreSQL
 Version:  1.2 Final |  Severity:  Normal
Keywords:|   Php_version:  PHP 5 
Cake_version:  1.2.1.8004|  
-+--
 There seems to be a problem in schema updating for postgresql that causes
 postgres to throw a syntax error.

 Here is the column details (from the perspective of a database dump):

 {{{
 id int4 not null
 }}}

 and here is the entry in the CakePHP generated schema file:

 {{{
 'id' = array('type' = 'integer', 'null' = false, 'default' = NULL,
 'length' = 11, 'key' = 'primary'),
 'indexes' = array('PRIMARY' = array('unique' = true, 'column' = 'id'))
 }}}

 When I run 'schema run update' on the console script it attempts to
 execute this query:

 {{{
 ALTER TABLE tablename
 ALTER COLUMN id TYPE  serial NOT NULL,
 ADD PRIMARY KEY (id);
 }}}

 Which makes PostgreSQL complain about a syntax error near NOT

-- 
Ticket URL: https://trac.cakephp.org/ticket/6147
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] #6148: Unlink warnings on AJAX pages

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6148: Unlink warnings on AJAX pages
---+
Reporter:  rmckillen   |  Type:  Bug
  Status:  new |  Priority:  Low
   Milestone:  1.2.x.x | Component:  File System
 Version:  1.2 Final   |  Severity:  Minor  
Keywords:  |   Php_version:  PHP 5  
Cake_version:  1.2.1.8004  |  
---+
 On pages being delivered by AJAX, the following warnings appear:

 Warning (2):
 unlink(/web/php/app/tmp/cache/persistent/cake_core_core_paths)
 [function.unlink]: No such file or directory [CORE/cake/libs/file.php,
 line 292]

 Code

 unlink - [internal], line ??
 File::delete() - CORE/cake/libs/file.php, line 292
 FileEngine::read() - CORE/cake/libs/cache/file.php, line 171
 Cache::read() - CORE/cake/libs/cache.php, line 306
 Configure::corePaths() - CORE/cake/libs/configure.php, line 489
 Configure::buildPaths() - CORE/cake/libs/configure.php, line 591
 Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 695
 Configure::getInstance() - CORE/cake/libs/configure.php, line 137
 include - CORE/cake/bootstrap.php, line 43
 [main] - APP/webroot/index.php, line 81

 I took a fresh tmp directory out of the Cake tarball and double checked
 permissions to make sure it wasn't a problem with my tmp directory.

 There is a thread on the Google Group where others have experienced the
 same issue:
 http://n2.nabble.com/Cake-core-is-throwing-unlink-warnings-td2374269.html

-- 
Ticket URL: https://trac.cakephp.org/ticket/6148
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] #6148: Unlink warnings on AJAX pages

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6148: Unlink warnings on AJAX pages
+---
Reporter:  rmckillen| Owner:  
Type:  Test Case|Status:  closed  
Priority:  Low  | Milestone:  1.2.x.x 
   Component:  File System  |   Version:  1.2 Final   
Severity:  Minor|Resolution:  needmoreinfo
Keywords:   |   Php_version:  PHP 5   
Cake_version:  1.2.1.8004   |  
+---
Changes (by gwoo):

  * status:  new = closed
  * type:  Bug = Test Case
  * resolution:  = needmoreinfo

Comment:

 this is a duplicate of #5206. please search for tickets. Submit a test
 case that can duplicate the issue.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6148#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] #6149: Save HABTM data fails with alphanumeric primary keys which are not UUIDs

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#6149: Save HABTM data fails with alphanumeric primary keys which are not UUIDs
---+
Reporter:  milx|  Type:  Bug   
  Status:  new |  Priority:  Medium
   Milestone:  1.2.x.x | Component:  Model 
 Version:  1.2 Final   |  Severity:  Normal
Keywords:  |   Php_version:  n/a   
Cake_version:  1.2.1.8004  |  
---+
 If your related table uses alphanumeric primary keys which are not in UUID
 format, the HABTM data will be ignored completely and not saved.

 e.g. User-hasAndBelongsToMany-Language where Language is identified by
 the ISO standard 3-letter character code.

 I've tried to demonstrate by adding a new test case, and a possible fix to
 model::__saveMulti()

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