et-nik / et-nik/gameap

User saving with an error

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
PHP
Stars
117
Forks
27
PR merge metrics
No merged PRs in 30d

Description

User saving saving happens with an error "The password confirmation does not match.".

Works fine if replace rules from `'sometimes|string|min:6|confirmed'` to `'nullable|sometimes|string|min:6'`.

I guess it is a [sofa/eloquence-validable](https://github.com/jarektkaczyk/eloquence-validable) bug.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce user saving with the validation rule `'sometimes|string|min:6|confirmed'` and compare it with the reported nullable variant. Start by tracing the user save validation and inspect the linked sofa/eloquence-validable package behavior. Done means the intended password confirmation validation works without causing the save error, with a regression check for both rule forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.