In the web GUI on openNMS, you can add a group name with a space in it, i.e. "Web Admins". However, if you go to add the group to a Destination Path, it truncates everything after the space when it puts it in the destinationPaths.xml config file. So, for example, I added the group Web Admins to a Destination Path, and it shortened it to Web. Therefore, no notifications were sent as that group did not exist.
Steps to reproduce:
1. Create a new group (in configuration or webGUI) containing a space in the name. 2. Add the group to a Destination path with the webGUI 3. Open the destinationPaths.xml file, you will see that it will show only the part before the space in the <name> attribute.
Suggested fixes:
1. Have the webGUI not truncate group names when they are put into destinationPaths.xml. 2. Provide a error message when you try to add a group with a space in the name, disallowing it.
Environment
Operating System: Linux
Platform: PC
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Former user September 8, 2010 at 3:03 PM
You can now add groups with a space in their name to a destination path. Fixed in commit 6ba8fe5bc533c480e4c5c5e62e0b593d78686e66 and should be in the next release. Thanks.
In the web GUI on openNMS, you can add a group name with a space in it, i.e. "Web Admins". However, if you go to add the group to a Destination Path, it truncates everything after the space when it puts it in the destinationPaths.xml config file. So, for example, I added the group Web Admins to a Destination Path, and it shortened it to Web. Therefore, no notifications were sent as that group did not exist.
Steps to reproduce:
1. Create a new group (in configuration or webGUI) containing a space in the name.
2. Add the group to a Destination path with the webGUI
3. Open the destinationPaths.xml file, you will see that it will show only the part before the space in the <name> attribute.
Suggested fixes:
1. Have the webGUI not truncate group names when they are put into destinationPaths.xml.
2. Provide a error message when you try to add a group with a space in the name, disallowing it.