Skip to content

Getting "AclNode::node() - Couldn't find Aros node" error when saving associated entities with aliases #165

@ricardoaranha96

Description

@ricardoaranha96

Complete error message: AclNode::node() - Couldn't find Aros node identified by "Array ( [Aros0.model] => Clients [Aros0.foreign_key] => 6 ) "

I am trying to save a Proposal entity associated with the User entity by the alias "Clients":

$this->belongsTo('Sellers', [
    'foreignKey' => 'seller_user_id',
    'className' => 'Users'
]);
$this->belongsTo('Clients', [
    'foreignKey' => 'client_user_id',
    'className' => 'Users',
]);

This user that I am trying to save already exists in the aros table but with the model "Users".

The Acl plugin is supposed to support this kind of configuration or is it a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions