-
Notifications
You must be signed in to change notification settings - Fork 11
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
PB-984: avoid duplicate errors #1092
base: develop
Are you sure you want to change the base?
Conversation
363f179
to
d3c26e7
Compare
@sommerfe : since you're the one that found the issue, can you quickly check if you manage to reproduce it ? I might need to make a more thorough check on the params, since those are an object too. |
30360ba
to
ccd9edc
Compare
web-mapviewer Run #3568
Run Properties:
|
Project |
web-mapviewer
|
Run status |
Passed #3568
|
Run duration | 04m 26s |
Commit |
629c9b1e0f: PB-984: more torough check on equality
|
Committer | Martin Künzi |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
21
|
Skipped |
0
|
Passing |
211
|
ccd9edc
to
9f4b60a
Compare
When I import a KML file i still get a warning that i have to close 4 times to make it disappear, then a different one is visible that i can close with one click so maybe there is still something missing |
Now i don't get any warnings or errors when importing a KML file, is this correct or should there still be some warnings ? |
If you import a KML through the menu, there should be no errors / warnings. (sorry for the late answer, I was sick on friday) |
be77afb
to
9895ec2
Compare
Issue : sometimes, errors and warning might get added multiple times, and as they are new object instances, the set had issue ensuring unicity Fix : we filter the errors and warnings received, ensuring we only add messages with a different message AND different parameters. PB-984: putting equality check in class for easier readability can't filter aset
- We now dive into the params to check that they have the same length, the same keys, and the same values.
small issue with filtering
6907b89
to
629c9b1
Compare
Issue : sometimes, errors and warning might get added multiple times, and as they are new object instances, the set had issue ensuring unicity
Fix : we filter the errors and warnings received, ensuring we only add messages with a different message AND different parameters.
Test link