Comments (3)
Hi Pierre,
Although I haven't tried it myself, it definitely looks like the bug
described by Juan Pablo. I can't merge his fix right now because a test is
failing, but I guess it'll be fixed soon. I'll do another release then.
In the meantime, if this is a blocker for you, maybe you can just do the
validation logic right inside your even handler method (ie add errors to
the ActionBeanContext and/or return a Resolution of your own) ?
HTH
Rémi
2016-06-15 16:12 GMT+02:00 currupipi-smith [email protected]:
Hi,
relatively new to github and Stripes, which btw rocks. Using latest
Stripes' beta, noticed that if a Restactionbean implements
ValidationErrorHandler where the validation method returns my resolution,
it gets ignored. I've noticed PR #56
#56 which seems
related, but I don't know Stripes internals that well, so i don't really
know.How can I return a custom resolution on an error when executing a
RestActionBean, how may I proceed?Many thanks in advance,
pierre—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#60, or mute the
thread
https://github.com/notifications/unsubscribe/AAbwwgdMrIIIuQLmu9-y1HwbO-r3j370ks5qMAhIgaJpZM4I2Zk3
.
from stripes.
Hi Rémi,
thanks for your prompt response, will do as advised until the new beta is out.
cheers,
Pierre
from stripes.
Hi,
closing the issue as 1.7.0-beta4 is out.
cheers,
Pierre
from stripes.
Related Issues (20)
- DMF bug with jetty9 HOT 2
- Doclint for Javadoc fails on JDK 8
- Action/Bean separation HOT 10
- Async actions do not work with tomcat HOT 7
- StripesRequestWrapper asumes that a request with json content-type should always have a body HOT 8
- Annotations missing for some http verbs HOT 1
- Stripes 1.6.0 will not run in a WebSphere Liberty HOT 10
- LocalizationUtility.LocalizationUtility ignores actionPath HOT 4
- Javadoc API is not available! HOT 6
- Better REST support
- Update AnnotatedActionClassResolver to support Java 8 Default Methods
- Project Wiki and documentation website seems no avaiable HOT 3
- StripesRequestWrapper ignores request's body when there is a "Transfer-Encoding: chunked" header instead of "Content-Length" when deciding to build the JsonContentTypeRequestWrapper HOT 1
- Upgrade jackson dependencies and publish a new beta HOT 2
- About the official website HOT 3
- Can please someone tell me what happened to the security folder under stripes ? HOT 5
- Upgrade stripes to Jakarta EE 9+ HOT 3
- Remove jakarta.mail Dependency
- Update upgrading.txt file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stripes.