Skip to content

TextSeparator = ", " for concatenating errors #2925

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

Closed
michaelcsikos opened this issue May 6, 2022 · 2 comments · Fixed by #3942
Closed

TextSeparator = ", " for concatenating errors #2925

michaelcsikos opened this issue May 6, 2022 · 2 comments · Fixed by #3942
Assignees

Comments

@michaelcsikos
Copy link

The standard validation error messages such as [Required] are proper sentences ending with a . and I think this is good practice. Csla.Blazor.PropertyInfo assumes error messages won't end with a . using ", " to concatenate errors, so you end up with:

image

Should TextSeparator = " " or perhaps be a public static string TextSeparator { get; set; } instead?

@rockfordlhotka
Copy link
Member

It seems like something someone could set, and perhaps the default should be " ".

Freelancingonupwork added a commit to Freelancingonupwork/csla that referenced this issue May 15, 2024
@rockfordlhotka rockfordlhotka moved this to In Progress in CSLA Version 9.0.0 May 15, 2024
rockfordlhotka added a commit to Freelancingonupwork/csla that referenced this issue May 17, 2024
rockfordlhotka added a commit to Freelancingonupwork/csla that referenced this issue May 20, 2024
rockfordlhotka added a commit that referenced this issue May 20, 2024
* Add DisplayIndex Property to Business Rules

* Test

* Update

* Text separator for concatenating errors

* Chnages

---------

Co-authored-by: Stefan Ossendorf <[email protected]>
Co-authored-by: Mayur Kasidariya <[email protected]>
Co-authored-by: Rockford Lhotka <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to Done in CSLA Version 9.0.0 May 20, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants