#6024: Creating ARO/ACO with MSSQL
---------------------------+------------------------------------------------
Reporter: mfilipe | Type: Bug
Status: new | Priority: Medium
Milestone: 1.2.x.x | Component: ACL (Access Control List)
Version: 1.2 Final | Severity: Normal
Keywords: ACL MSSQL | Php_version: PHP 5
Cake_version: 1.2.1.8004 |
---------------------------+------------------------------------------------
I am with trouble to create ARO/ACO in ACL. When I try create with
cake/console/cake returns this:
{{{
$ cake/console/cake acl create aco root Budgets
...
Warning: mssql_query(): message: Conversion failed when converting the
varchar value 'NULL' to data type int. (severity 16) in
/home/michel/Workspace/svn_bhdesign/vision/trunk/cakephp/cake/libs/model/datasources/dbo/dbo_mssql.php
on line 173
...
Query: INSERT INTO [acos] ([parent_id], [model], [foreign_key], [alias],
[lft], [rght]) VALUES (NULL, 'NULL', 'NULL', 'Budgets', 1, 2)
Error: There was a problem creating a new Aco 'Budgets'.
}}}
What is very strange is that if I create using model with id it works. For
example:
{{{
$ cake/console/cake acl create aro Group.1 Users.1
}}}
The full paste is at http://paste.milk-it.net/1033
--
Ticket URL: <https://trac.cakephp.org/ticket/6024>
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---