Dan Haywood created ISIS-1927:
---------------------------------
Summary: 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
Fix For: 1.16.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)