Closed rahlvers closed 6 years ago
Are there any pop-up errors implemented in the web client? Any errors coming from services should be passed through to the end user.
1.Are there any pop-up errors implemented in the web client? Yes @rahlvers . Error messages are shown in the alert boxes. 2.Any errors coming from services should be passed through to the end user. Only few service calls are sending the error message's as a response according to my observation.
We will look into the issue and update .
Note that the Redfish Interface Emulator master branch was updated last Thursday. Any testing of the client should be done with an updated version of the Swordfish API Emulator that is based upon the updated Redfish Interface Emulator.
Running with an updated Swordfish API Emulator, I still see exactly the same problem that is being reported above.
The client appears to make a change (one that cannot succeed), and fails to report a 405 "Method Not Allowed" error situation.
Here is a sequence that shows the issue. The images below are from the current versions of the client and the emulator.
Initial state; shows the StorageServices collection:
Editing the collection "Name" property to say "ChangedName":
The change appears to have been accepted without any error after clicking on the Save icon:
Clicking on a different resource (Chassis):
Go back to StorageServices and see that the collection's Name property was not actually changed, because it now says "Storage Service Collection" again, instead of "ChangedName":
This is what happens when the Chrome Restlet tool is used to attempt to PATCH the Name property on the StorageServices collection:
The issue is that the client is not reporting the 405 "Method Not Allowed" error, and it looks like the operation succeeded, when it has actually failed. The user only discovers the problem by going to a different resource (like Chassis) and then returning to the StorageServices collection.
Note that the client shows this same behavior this for ALL of the Redfish and Swordfish collections, not just the StorageServices collection.