Hi all,

I had random exceptions about serialization with the Entry class. I've
noticed all its properties are private. Also, FieldEntry extends from Entry,
so when I want to do something like this to delete a FieldEntry:

        $classFieldACEs = $acl->getClassFieldACEs( $field );

        // $classFieldACE is the ACE I want to delete
        foreach ( $classFieldACEs as $index => $classFieldACE )
        {
            if ( $ace->getId() === $classFieldACE->getId() )
            {
                $acl->deleteClassACE( $index );

                break;
            }
        }

Here I get an "Property
Symfony\Component\Security\Acl\Domain\FieldEntry::$id does not exist"
exception.

Should we change the visibility of these properties to protected?



Thanks in advance!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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/symfony-devs?hl=en

Reply via email to