HomePhorge

(PUP-3002) Improve error message for invalid parameter name
a569f7dcecddUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3002) Improve error message for invalid parameter name

The error message emitted when an attribute operation used
an attribute name that was invalid did not read well and caused
confusion since it did not clearly indicate that part of the message was
the name of the parameter - e.g. "invalid parameter hash" which can be
read as an invalid "parameter hash" (confusing when actually setting all
parameters from a hash and having a parameter named 'hash' in the hash).

The message is now changed to say "Invalid parameter: '<name>'". As a
consequence spec tests are updated to match this message.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5f223761454c: Merge branch 'stable'
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUa569f7dcecdd: (PUP-3002) Improve error message for invalid parameter name (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Jan 19 2015, 4:49 PM