Jörg Rade created ISIS-3035:
-------------------------------

             Summary: [Wish]
                 Key: ISIS-3035
                 URL: https://issues.apache.org/jira/browse/ISIS-3035
             Project: Isis
          Issue Type: Improvement
    Affects Versions: 2.0.0-M7
            Reporter: Jörg Rade
             Fix For: 2.0.0-RC1


I have an issue with a (kind of) swallowed exception. 
IsisInteraction.executeInternal stumbles over an
{code:java}
org.springframework.dao.IncorrectResultSizeDataAccessException: More than one 
result was returned from Query.getSingleResult(); nested exception is 
javax.persistence.NonUniqueResultException: More than one result was returned 
from Query.getSingleResult(){code}
The (Wicket) UI shows:
{code:java}
[object not found]: object not found (incorrect result size data access 
exception): More than one result was returned from Query.getSingleResult() 
{code}
Console shows:
{code:java}
2022-05-03 12:08:07.051 ERROR 22432 — [nio-8080-exec-4] 
o.a.i.c.i.s.IsisInteraction : failed to execute an interaction
{code}
 
I would prefer to have the stacktrace logged to console as well.

c.f. https://the-asf.slack.com/archives/CFC42LWBV/p1651573266998419



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

Reply via email to