Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add a test case for invisible validation issue.#18321

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
dereuromark wants to merge1 commit into5.x
base:5.x
Choose a base branch
Loading
from5.x-validation-assoc-buildrules

Conversation

dereuromark
Copy link
Member

@dereuromarkdereuromark commentedApr 11, 2025
edited
Loading

Is this a valid test case for the scenario in#18241 ?
It does not show any error messages that we can display the user in the form or give back via flash message.
But I think somehow we should be able to do that, otherwise domain rule validation is even less useful compared to normal validation.

NOTE: DO NOT MERGE, this requires still some of of fix and assert.

@dereuromarkdereuromark added this to the5.2.2 milestoneApr 11, 2025
@markstorymarkstory modified the milestones:5.2.2,5.2.3,5.2.4Apr 18, 2025
@markstorymarkstory modified the milestones:5.2.4,5.2.5May 17, 2025
@LordSimalLordSimal marked this pull request as draftMay 30, 2025 13:31
@LordSimal
Copy link
Contributor

I converted it to a draft so it can't be mistakenly merged

dereuromark reacted with thumbs up emoji

@markstorymarkstory modified the milestones:5.2.5,5.2.6Jun 21, 2025
@dereuromark
Copy link
MemberAuthor

I didnt get any feedback on this since April.
How can we proceed here, is the general consensus that we want to fix this for 5.next?

$this->assertFalse($result);

// There should be errors here, due to comment not being savable.
debug($article->getErrors());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yeah this doesn't look right to me. If the save failed there should be an error available. Without that the developer and end user have no idea what is wrong.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@markstorymarkstorymarkstory left review comments

Assignees
No one assigned
Projects
None yet
Milestone
5.2.6
Development

Successfully merging this pull request may close these issues.

3 participants
@dereuromark@LordSimal@markstory

[8]ページ先頭

©2009-2025 Movatter.jp