tothenew / Grails-Chargify-Plugin

Grails plugin for integration with Chargify
5 stars 1 forks source link

Cannot build under Grails 2.0.4 (needs @Validateable) #3

Open paulbarker opened 12 years ago

paulbarker commented 12 years ago

Trying to build a project using this plugin, I get the following build error:

The [updatePaymentInfo] action accepts a parameter of type [org.grails.plugins.chargify.Subscription] which does not appear to be a command object class. This can happen if the source code for this class is not in this project and the class is not marked with @Validateable.

Adding '@Validateable' and 'import grails.validation.Validateable' to these source files solves the problem:

There may be others that need it as well but these are the ones I've come across so far.

mfarid commented 12 years ago

Hi Paul

Thanks a lot for sharing your findings. i would share them with the plugin author so that he can update the plugin.

Thanks & Regards Mohd Farid

Sent from my Nokia phone -----Original Message----- From: Paul Barker Sent: 08/06/2012 10:19:28 pm Subject: [Grails-Chargify-Plugin] Cannot build under Grails 2.0.4 (needs @Validateable) (#3)

Trying to build a project using this plugin, I get the following build error:

The [updatePaymentInfo] action accepts a parameter of type [org.grails.plugins.chargify.Subscription] which does not appear to be a command object class. This can happen if the source code for this class is not in this project and the class is not marked with @Validateable.

Adding '@Validateable' and 'import grails.validation.Validateable' to these source files solves the problem:

There may be others that need it as well but these are the ones I've come across so far.


Reply to this email directly or view it on GitHub: https://github.com/IntelliGrape/Grails-Chargify-Plugin/issues/3