YunoHost-Apps / YunoHost-Apps/phpldapadmin_ynh
error on creating new entry
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When creating a new entry phpldapadmin shows an error.
Unrecognized error number: 8192: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
Might be associated to this issue: https://github.com/leenooks/phpLDAPadmin/issues/237
Context
- Hardware: Virtualbox VM
- YunoHost version: 11.2.5
- I have access to my server: all
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
- If yes, please explain: Testing environment, slapd tweaked to allow full access
- Using, or trying to install package version/branch: phpLDAPadmin 1.2.6.6~ynh4
Steps to reproduce
- adapt the slapd configuration to give write permission to a user able to login
- add an entry - in my case
objectClass: inetOrgPerson, mailAccount, userPermissionYnh
ou=alias
rdn=cn
Expected behavior
show the confirmation page after hitting the "create object" button
Logs
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by creating the described inetOrgPerson entry with the stated slapd permissions and phpLDAPadmin 1.2.6.6~ynh4. Start at the create-object flow and inspect the handling of the preg_match() error, using linked issue 237 for context. Done means the object is created and the confirmation page appears without the deprecation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100