bug fix: error message fix
- Error messages on web pages have been corrected. before - Share Type %(id)s already exists. (HTTP 409) after - Share Type name already exists. (HTTP 409) - The issue suggested a hash as a solution, but I think it is more intuitive to print the name as a string. Closes-Bug: #2069782 Change-Id: Ie3ef6a1da24abe000b9239c3d3fb22cace4ca9fc Signed-off-by: Youngjun <yj.yoo@okestro.com> (cherry picked from commit528a64448f
) (cherry picked from commitf83bccc146
) (cherry picked from commit5490dcab9a
) (cherry picked from commit6dad1afca5
) (cherry picked from commit10ae1a2f87
)
This commit is contained in:

committed by
Goutham Pacha Ravi

parent
ab04a65fa9
commit
56dfe36294
@ -214,7 +214,7 @@ class ShareTypesController(wsgi.Controller):
|
||||
self._notify_share_type_error(context, 'share_type.create',
|
||||
notifier_err)
|
||||
|
||||
raise webob.exc.HTTPConflict(explanation=err.message)
|
||||
raise webob.exc.HTTPConflict(explanation=err.msg)
|
||||
except exception.NotFound as err:
|
||||
notifier_err = dict(share_types=share_type,
|
||||
error_message=err.message)
|
||||
|
Reference in New Issue
Block a user