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.
It is not possible to modify record. To reproduce: - Create Web Project with GF as a target server (bug 217965 - register GlassFish in Services view) - Use RESTful from Web Service from Database. - Select MANUFACTURER table in the wizard. - use Jersey specific features - finish the wizard - open new file wizard - create "Web Services|Jersey Cross-Origin..." - deploy project - open new project wizard - select "HTML/JavaScript|HTML 5 Application" - finish the wizard with defaults - right-click Site Root node and choose "New|RESTful JavaScript Client" - click Browse to select "REST Project Resource" - choose previously created web service - select TableSorterUI and click Next - click Finish - run generated html file - click some manufacturerid to show record - change name to something different and click Save - it fails with the following in Browser Log: Failed to load resource: Connection refused: connect (12:33:38:574 | error, network) at http://localhost:8080/WebApplicationMFJersey/webresources/gg.manufacturer/ changing name from: Happy End Searching to: Happy End Searching1 (12:35:25:126) at public_html/RestClient.js:188 Uncaught TypeError: Cannot call method 'parent' of undefined (12:35:25:351 | error, javascript) caused by public_html/RestClient.js:205:31 (views.ModelView.Backbone.View.extend.save) http://code.jquery.com/jquery-1.7.2.min.js:3:4816 (f.event.dispatch) http://code.jquery.com/jquery-1.7.2.min.js:3:709 (f.event.add.h.handle.i) Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (12:35:25:670 | error, network) at http://localhost:8080/WebApplicationMFJersey/webresources/gg.manufacturer/19985678 Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (12:35:25:671 | error, network) at http://localhost:8080/WebApplicationMFJersey/webresources/gg.manufacturer/19985678 -------------- Product Version = NetBeans IDE Dev (Build 201209070001) (#21bdda049506) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01; Oracle Corporation
web-main#e8e3edf38ef7
Integrated into 'main-golden', will be available in build *201209140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e8e3edf38ef7 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#217988 - Cannot modify record
It still fails. changing name from: Fast Boards to: Fast Boards9 (09:13:52:968) at public_html/r/RestClient.js:191 Uncaught TypeError: Cannot call method 'parent' of undefined (09:13:53:146 | error, javascript) caused by public_html/r/RestClient.js:208:31 (views.ModelView.Backbone.View.extend.save) http://code.jquery.com/jquery-1.7.2.min.js:3:4816 (f.event.dispatch) http://code.jquery.com/jquery-1.7.2.min.js:3:709 (f.event.add.h.handle.i)
I am sorry. It works. The record is successfully modified. I saw messages in browser log and thought it failed.
(In reply to comment #4) > I am sorry. It works. The record is successfully modified. I saw messages in > browser log and thought it failed. So why it is still reopened ?
I thought you will comment what messages in browser log mean and possibly fix it.