Actions
Bug #6680
closedBad RegEx in Groups causes Server to not respond
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When creating a dynamic group with a wrong regex syntax (in our Case this was '*Dell*'), there is a Browser-Popup, that the server cannot be contacted, and the webapp logs show following error:
[2015-05-28 14:43:56] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /ajax_request/F489057879936U5AHHI-90/ java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 *Dell* ^ [2015-05-28 14:43:57] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /ajax_request/F489057879936U5AHHI-90/ java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 *Dell* ^
This should be handled with a more user-friendly error message...
We used rudder-*-3.0.4.release-1.SLES.11 packages on a SLES11 SP3.
Updated by Matthieu CERDA over 9 years ago
- Assignee set to François ARMAND
- Priority changed from N/A to 2
Thank you Janos.
Giving this ticket to FAR!
Updated by François ARMAND over 9 years ago
Oh yes, that's not a good one.
Thanks for reporting.
Updated by François ARMAND over 9 years ago
- Target version set to 2.10.14
Ok, it can be reproduced and is present since 2.10.
Updated by François ARMAND over 9 years ago
- Status changed from New to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/869
Updated by François ARMAND over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|5abdb25ba5f860cb7a25fd7502597f1430fc0554.
Updated by Vincent MEMBRÉ over 9 years ago
Applied in changeset rudder|fb657bb11244fead451de946fb0b7f557629812c.
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
Actions