[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6547) Found minor bug with RESTeasy example in project examples
Brian Fitzpatrick (JIRA)
jira-events at lists.jboss.org
Thu Aug 12 11:06:49 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12544606#action_12544606 ]
Brian Fitzpatrick commented on JBIDE-6547:
------------------------------------------
Looks like the zip is at: http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/resteasy-examples/resteasySimple.zip
I've updated the sample I'm attaching (in the next comment) with the fix described above and added the ability to delete a record as well.
Snjeza, I don't feel comfortable going in and mucking about with your workspace. Do you mind updating the example when you get a chance? The changes are all in the CustomerResource.java file - in updateCustomer and the new deleteCustomer method.
> Found minor bug with RESTeasy example in project examples
> ---------------------------------------------------------
>
> Key: JBIDE-6547
> URL: https://jira.jboss.org/browse/JBIDE-6547
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: project-examples, Webservices
> Affects Versions: 3.2.0.M1
> Reporter: Brian Fitzpatrick
> Assignee: Brian Fitzpatrick
> Priority: Minor
> Fix For: 3.2.x
>
> Attachments: updated_resteasy_simple.zip
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> While testing the RESTeasy example currently in the project examples, I discovered a bug.
> In the com.restfully.shop.services.CustomerResource.java file, in the updateCustomer(...) method, the city is not getting picked up from the updated data. This is easily fixed by adding this line to the method:
> current.setCity(update.getCity());
> I will update the project example with this fix when I get a chance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list