[
https://issues.apache.org/jira/browse/ARIA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ran Ziv updated ARIA-248:
-------------------------
Summary: Applying tracked changes error handling is not robust (was: When
applying tracked changes fails no message is returned)
> Applying tracked changes error handling is not robust
> -----------------------------------------------------
>
> Key: ARIA-248
> URL: https://issues.apache.org/jira/browse/ARIA-248
> Project: AriaTosca
> Issue Type: Bug
> Reporter: Maxim Orlov
>
> When executing operations using {{ProcessExecutor}}, writes to the storage
> don't actually happen from the process running the operation, but rather from
> its parent process. The tracking of changes and information to store, as well
> as their transfer to the parent process, take place in the
> {{instrumentation}} module.
> When the {{instumentation}} module tries to apply tracked changes and fails
> for some reason, [it tries to log a
> message|https://github.com/apache/incubator-ariatosca/blob/master/aria/storage/instrumentation.py#L259]
> containing the attributes and instances it did manage to update.
> However, if one of those attributes is a
> [{{_STUB}}|https://github.com/apache/incubator-ariatosca/blob/master/aria/storage/instrumentation.py#L27],
> {{json.dumps}} fails to decode it and an error is raised.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)