Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confliting with LdapRecord-Laravel package #56

Open
anchan42 opened this issue Jul 30, 2024 · 1 comment
Open

Confliting with LdapRecord-Laravel package #56

anchan42 opened this issue Jul 30, 2024 · 1 comment

Comments

@anchan42
Copy link

This code:

use App\Models\CostCenter;
$cc=CostCenter::first();
$cc->desc = "TEST CENTER";
$cc->save;
$cc->editor;

Return error: LdapRecord\ContainerException The LDAP connection [mysql] does not exist.

However, the update_by column get updated correctly.

@anchan42
Copy link
Author

anchan42 commented Aug 1, 2024

Errors when run ide helper:

Error resolving relation model of App\Models\CostCenter:creator() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\CostCenter:destroyer() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\CostCenter:editor() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\TopLevel:creator() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\TopLevel:destroyer() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\TopLevel:editor() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\User:creator() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\User:destroyer() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\User:editor() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\WorkStation:creator() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\WorkStation:destroyer() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()
Error resolving relation model of App\Models\WorkStation:editor() : Call to undefined method LdapRecord\Query\Model\ActiveDirectoryBuilder::getKeyName()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant