- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.4k
Closed
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorin progress 🚧mvvm-toolkit 🧰Issues/PRs for the Microsoft.Toolkit.Mvvm packageIssues/PRs for the Microsoft.Toolkit.Mvvm packageneeds attention 👋
Milestone
Description
Describe the bug
I am not sure if it is one bug or two. For that reason I will open only one ticket by today. If you think I should divide it I will open a second issue.
Steps to Reproduce
Steps to reproduce the behavior:
Issue 1:
- Create a new Project and use ObservableValidatorin yourViewModel
- Add two different Properties which are required. Make use of The field {0} is requiredand let the validator replace {0} by theDisplayName.
- Notice that both fields get the same message
Issue 2;
- Create a new Project and use ObservableValidatorin yourViewModel
- Do a class-level valididation
- The user will get every issue twice.
Expected behavior
The messages should not be reused and every field should get its own message as it was in preview4. Moreover if you perform a class-level-validation every message should be displayed only one time.
Screenshots
Issue 1
Environment
NuGet Package(s): 
Id                                  Versions                                 ProjectName                                                                                                                                                                                                                        
--                                  --------                                 -----------                                                                                                                                                                                                                        
MahApps.Metro                       {2.4.3}                                  MvvmToolkitValidationSample                                                                                                                                                                                                        
Microsoft.Toolkit.Mvvm              {7.0.0-build.848}                        MvvmToolkitValidationSample     
Package Version(s): 
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19042)
- [x] 20H2 (19042.804)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)
- [X] WPF 
Device form factor:
- [X] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio 
- [ ] 2017 (version: )
- [X] 2019 (version: 16.8.5) 
- [ ] 2019 Preview (version: )
Additional context
The shown sample is available here: https://github.com/timunie/MvvmToolkitValidationSample
/cc @Sergio0694
Metadata
Metadata
Assignees
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorin progress 🚧mvvm-toolkit 🧰Issues/PRs for the Microsoft.Toolkit.Mvvm packageIssues/PRs for the Microsoft.Toolkit.Mvvm packageneeds attention 👋


