smartdevicelink/sdl_server

Functional groupings and consumer friendly messages allow saving with an empty name field

Closed this issue · 0 comments

Bug Report

You are able to save a functional group and a consumer friendly message construct without a name. The policy server does not actually save these objects because a name is required, but the policy server UI allows this and it appears to be a successful operation.

Creating a functional group returns a 400 on the server side and creating a consumer friendly message returns a 200 on the server side. It should return 400 instead.

Reproduction Steps
  1. Go to the add functional group page
  2. Fill out data but not the name field
  3. Save the group
Expected Behavior

Saving is prohibited

Observed Behavior

The save is "successful" but the functional group isn't added.