This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | spring sample is not working | ||
---|---|---|---|
Product: | webservices | Reporter: | Lukas Jungmann <jungi> |
Component: | REST | Assignee: | Ayub Khan <ayubskhan> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | blaha, sustaining |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Lukas Jungmann
2008-10-16 12:05:06 UTC
This is a regression by switching to jersey 1.0. Previously for a request http://localhost:8080/CustomerDB/resources/customers/ (mime application/json) we used to get {customers:{"@uri":"http://localhost:8080/CustomerDB/resources/customers/","customer":[{"@uri":"http://localhost:8080/CustomerDB/resources/customers/1/","addressline1":"xyz","addressline2":"Suite 51","city":"Fort Lauderdale","creditLimit":"100000","customerId":"1","discountCode":{"@uri":"http://localhost:8080/CustomerDB/resources/customers/1/discountCode/"},"email":"jumbocom@gmail.com","fax":"305-777-4635","name":"JumboCom4","phone":"305-777-4632","state":"FL","zip":"33015"}, ... now we get {"@uri":"http://localhost:8080/CustomerDB/resources/customers/","customer":[{"@uri":"http://localhost:8080/CustomerDB/resources/customers/1/","addressline1":"xyz","addressline2":"Suite 51","city":"Fort Lauderdale","creditLimit":"100000","customerId":"1","discountCode":{"@uri":"http://localhost:8080/CustomerDB/resources/customers/1/discountCode/"},"email":"jumbocom@gmail.com","fax":"305-777-4635","name":"JumboCom4","phone":"305-777-4632","state":"FL","zip":"33015"}, Not just the spring sample, also customerdb sample, and all client stubs fails. Fixed in trunk Integrated into 'main-golden', will be available in build *200810181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c771ff3b8fde User: Ayub Khan <ayubskhan@netbeans.org> Log: Fix issue#150367 - spring sample is not working issues 1 and 2 from original report are still valid Hi Lukas, Which build did you try. trunk? rc1? This fix is only in the trunk. If trunk, which build? Also did you try to cleanup your userdir before trying this. Thanks Ayub Hi Lukas, Correction! Sorry for the last comment. Can you point me to the build you tried to test this. Also did you try to cleanup your userdir before trying this. Thanks Ayub trunk build from hudson[1], to be precise: netbeans-hudson-trunk-4099-java.zip built 20.10.2008 8:45:37 running on jdk6-u10-b33 on win vista + did equivalent to rm -rf ~/.netbeans* before running IDE [1]: http://deadlock.netbeans.org/hudson/job/trunk/ re deploy on save for samples: see issue 149789 for how to fix ;-) Sorry, earlier I missed 1&2 issues. Now fixing in trunk for issues 1&2. all parts here are v. in trunk now, transplant both cs to release65 clone, please. Thanks Integrated into 'main-golden', will be available in build *200810210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/db1a18e4b146 User: Ayub Khan <ayubskhan@netbeans.org> Log: Fix issue#150367 - spring sample is not working *** Issue 153274 has been marked as a duplicate of this issue. *** *** Issue 153274 has been marked as a duplicate of this issue. *** I am sorry, the fix http://hg.netbeans.org/main/rev/c771ff3b8fde somehow didn't make it into NB6.5. We are planning to put this fix into NB 6.5 patch2. it's fixed in trunk already, only not in 6.5 => TM=7.0M1 v. The fix was ported into release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/e2ec2f6b6bf3 http://hg.netbeans.org/release65_fixes/rev/02a4f420ca92 |