Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
ACL broken for any one else in 1.1.14.4797?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
cherrio  
View profile  
 More options Apr 11 2007, 6:13 am
From: "cherrio" <cher...@gmail.com>
Date: Wed, 11 Apr 2007 10:13:18 -0000
Local: Wed, Apr 11 2007 6:13 am
Subject: ACL broken for any one else in 1.1.14.4797?
Hey guys,

had a few minor problems upgrading (because I had customized Session
component, my own fault :-D), but I think this one is not my fault. I
get the following error when trying to delete an Aro entry,

Fatal error: Call to undefined function: getfieldvalue() in
D:\eclipseworkspaces\main_branch\cake\libs\controller\components\dbacl
\models\aclnode.php
on line 113

Checking out this line shows it expects the class DataSource to have a
method getfieldvalue(), which it does not appear to have...

This is the code that makes the ACL/Aro call, it is in my
users_controller.php,

       function delete($id) {
               if($this->User->del($id)) {

                       $aro = new Aro();
                       // delete the corresponding ARO
                       $aro->delete($id);

                       $this->Session->setFlash('The User deleted: id
'.$id.'');
                       $this->redirect('/users/index');
               }
       }

I would be grateful if someone else could try this out before making a
fool of myself and open a bug report.

thanks,
Rob


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cherrio  
View profile  
 More options Apr 11 2007, 3:03 pm
From: "cherrio" <cher...@gmail.com>
Date: Wed, 11 Apr 2007 12:03:16 -0700
Local: Wed, Apr 11 2007 3:03 pm
Subject: Re: ACL broken for any one else in 1.1.14.4797?
After talking with gwoo on Irc he has suggested a fix,

on ACLnode.php line 113, change the line,
$idList = DataSource::getFieldValue(...

to
$idList = Set::extract(...

gwoo has updated the branch.
:)

On Apr 11, 11:13 am, "cherrio" <cher...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Damien  
View profile  
 More options Apr 11 2007, 5:49 pm
From: "Damien" <uk.dam...@gmail.com>
Date: Wed, 11 Apr 2007 14:49:44 -0700
Local: Wed, Apr 11 2007 5:49 pm
Subject: Re: ACL broken for any one else in 1.1.14.4797?

> gwoo has updated the branch.
> :)

Forgive my "noobness", but would I get hold of the updated branch?

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google