DMTF / Redfish-Mockup-Server

A simple Python 3.4 program that can be copied into a folder at the top of any Redfish mockup and can serve Redfish requests on the specified IP/port.
Other
83 stars 37 forks source link

Bug: Server gets stuck in an infinite loop when adding a member with no Id. #98

Closed omnistat closed 10 months ago

omnistat commented 10 months ago

I've discovered that the mockup server will get stuck in an infinite loop (at line 136) if a POST request triggers adding a new member. This occurs under the following conditions:

I created a PR to fix this (#100). It should always generate a unique "Id" whenever any Member is added, but also maintains previous functionality.

mraineri commented 10 months ago

PR merged