Giter VIP home page Giter VIP logo

Comments (3)

vankeisb avatar vankeisb commented on September 28, 2024

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.

jpsantos-tests avatar jpsantos-tests commented on September 28, 2024

Hi Rémi,

thanks for your prompt response, will do as advised until the new beta is out.

cheers,
Pierre

from stripes.

jpsantos-tests avatar jpsantos-tests commented on September 28, 2024

Hi,

closing the issue as 1.7.0-beta4 is out.

cheers,
Pierre

from stripes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.