[CONTROLLER-1556] DocumentedException fromXMLDocument problem Created: 11/Oct/16 Updated: 25/Jul/23 Resolved: 11/Oct/16 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | config |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Andrej Mak | Assignee: | Andrej Mak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6918 |
| Description |
|
fromXMLDocument method parses xml to Documented Exception. After this patch https://git.opendaylight.org/gerrit/#/c/46578/ it doesn't work correctly. Parsing of error-type uses enum method valueof(). After enum constant names change, error-type "rpc" isn't evaluated as ErrorType.RPC, but ErrorType.APPLICATION. |
| Comments |
| Comment by Andrej Mak [ 11/Oct/16 ] |