You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2019/05/17 16:28:00 UTC

[jira] [Updated] (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 ]

Dan Haywood updated ISIS-1927:
------------------------------
    Fix Version/s:     (was: 1.18.0)
                   2.0.3

> 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
>    Affects Versions: 1.16.2
>            Reporter: Dan Haywood
>            Priority: Minor
>             Fix For: 2.0.3
>
>
> 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
(v7.6.3#76005)