Skip to content

Csla.DataPortalException.BusinessException in 5.3.0 #1763

Discussion options

You must be logged in to vote

Interesting. Not intentional.

The way the data portal invokes methods is entirely different in version 5, because we added the ability to inject parameter values and support for the data portal operation attributes (Create, Fetch, Update, etc.).

The BusinessException method tries to strip out DataPortalException and CallMethodException exceptions to find the underlying exception. If you look at the code it is pretty simplistic, and perhaps there's some intermediate exception in the way?

Can you provide the entire stack trace (exception tree) from your test?

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@ajohnstone-ks
Comment options

@rockfordlhotka
Comment options

@rockfordlhotka
Comment options

@ajohnstone-ks
Comment options

Answer selected by ajohnstone-ks
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants