You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/04/29 06:53:00 UTC

[jira] [Closed] (ISIS-1927) Invoking an action returning a non-null Blob via RO results in exception

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

Andi Huber closed ISIS-1927.
----------------------------
    Resolution: Abandoned

closing this - probably outdated - can re-iterate if required

> Invoking an action returning a non-null Blob via RO results in exception
> ------------------------------------------------------------------------
>
>                 Key: ISIS-1927
>                 URL: https://issues.apache.org/jira/browse/ISIS-1927
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Viewer RO
>    Affects Versions: 1.16.2
>            Reporter: Daniel Keir Haywood
>            Priority: Minor
>
> Also as per Erik on users ml
> [https://lists.apache.org/thread.html/2055cf053e713d768c36d2cf25632c8bed74bf757a4be4d3ab540b05@%3Cusers.isis.apache.org%3E]
> the second issue he reports suggests that hitting an action returning a  non-null Blob via RO results in an exception in OidUtils. 
>  
> {code:java}
> public static String getOidStr(final ObjectAdapter objectAdapter) {
>   final Oid oid = objectAdapter.getOid();
>   if (!(oid instanceof RootOid)) {
>     throw new IllegalArgumentException("objectAdapter must be a root adapter");
>   }
>   return oid.enStringNoVersion();
> }{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)