[ 
https://issues.apache.org/jira/browse/ARIA-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ran Ziv updated ARIA-216:
-------------------------
    Description: 
Using the service-template model directly, when creating an instance whose 
description  is of type `dict`, the following error message will appear:

{code}
"'str' object has no attribute 'items'"
{code}

Instead, one would expect a {{SQL Storage error: ...}} message.

  was:
Using the service-template model directly, when creating an instance whose 
description  is of type `dict`, the following error message will appear:

{code}
"'str' object has no attribute 'items'"
{code}

Instead, one would expect a `SQL Storage error: ...` message.


> Creating a service-template model with incorrect description type results in 
> a bad error message
> ------------------------------------------------------------------------------------------------
>
>                 Key: ARIA-216
>                 URL: https://issues.apache.org/jira/browse/ARIA-216
>             Project: AriaTosca
>          Issue Type: Bug
>            Reporter: Ran Ziv
>            Assignee: Ran Ziv
>            Priority: Trivial
>
> Using the service-template model directly, when creating an instance whose 
> description  is of type `dict`, the following error message will appear:
> {code}
> "'str' object has no attribute 'items'"
> {code}
> Instead, one would expect a {{SQL Storage error: ...}} message.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to