Requisition editor should trim whitespace from critical fields

Description

When editing a requisition in the web UI, it's possible for leading or trailing whitespace to sneak into certain fields and get saved to the requisition. This can lead to very confounding silent failures of the requisition editor subsequent to the bad edit, or to operational problems down the road.

We should trim the values of the following fields in the ProvisioningService:

node.foreignId
node.parentForeignSource
node.parentForeignId (
interface.ipAddr (breaks editor)

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Ronny Trommer April 1, 2016 at 8:45 PM

seems to be fixed can we delete this branch? https://github.com/OpenNMS/opennms/tree/jira/NMS-6314

Jeff Gehlbach December 18, 2013 at 11:53 AM

Fix pushed to 1.12 branch.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created December 18, 2013 at 11:51 AM
Updated January 27, 2017 at 4:19 PM
Resolved December 18, 2013 at 11:53 AM

Flag notifications