incorrect error message when unsetting resource type and flag together

Description

unseting resource type is invalid.

Qmgr: u r foo1 type
qmgr obj=foo1 svr=default: Invalid request
qmgr: Error (15004) returned from server

But when I try to unset both I get a different error 'Illegal attribute' (please note the order)

Qmgr: u r foo1 flag,type
qmgr obj=foo1 svr=default: Invalid request
qmgr: Error (15004) returned from server
Qmgr: l r
Resource foo1
type = float
flag = h

Qmgr: u r foo1 type,flag
qmgr obj=foo1 svr=default: Illegal attribute or resource value
qmgr: Error (15014) returned from server

if I give wrong attribute name it works fine
Qmgr: u r foo1 type,flagg
qmgr obj=foo1 svr=default: Invalid request
qmgr: Error (15004) returned from server

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Former user

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Components

Priority

Critical
Configure