Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352535 - Section change fast from text to table generated a Javascript exception
Summary: Section change fast from text to table generated a Javascript exception
Status: RESOLVED DUPLICATE of bug 349649
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 03:06 EDT by Alex Mising name CLA
Modified: 2011-07-21 06:16 EDT (History)
0 users

See Also:


Attachments
Test project to replication the error (65.11 KB, application/zip)
2011-07-20 03:11 EDT, Alex Mising name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Mising name CLA 2011-07-20 03:06:36 EDT
Build Identifier: 20100917-0705

Hallo to all,

i have a problem with change section.
At the binning of an editor is a combo box. Under this is a section. The section has a table or text field. 
With the combo box you can change the section. When I switch die section very fast with the arrow keys and all section from the same type, it is not a problem, but when the types are different. It coms a Javascript exception: TypeError: this._rows is null. The problem is in all Browsers.

Eclipse: 3.6 64bit
RAP 1.4

Thanks
Alexander


Reproducible: Always
Comment 1 Alex Mising name CLA 2011-07-20 03:11:38 EDT
Created attachment 199955 [details]
Test project to replication the error

Test project to replication the error
Comment 2 Ivan Furnadjiev CLA 2011-07-20 04:16:04 EDT
Alex, my investigation shows that the javascript error is in the same place (Table.js#_sendResolveItemsRequest) like in bug 349649. That's why I will mark this bug as duplicate of bug 349649. Could you try the patch attached there - attachment 198189 [details]?

*** This bug has been marked as a duplicate of bug 349649 ***
Comment 3 Alex Mising name CLA 2011-07-20 08:58:30 EDT
I do the code snippit in the js-file, but it has no effect.
Comment 4 Ivan Furnadjiev CLA 2011-07-20 09:08:17 EDT
Did you apply the patch correctly? Are you running your application in "debug" mode (set client library variant to debug in you launch configuration)?
Comment 5 Ivan Furnadjiev CLA 2011-07-20 09:12:46 EDT
In "debug" mode the patched Table.js will be used. In "standard" mode, precompiled compressed client.js file is used. If you want to test your application in "standard" mode you have to rebuild the client.js. See https://github.com/ralfstx/rap-clientbuilder.
Comment 6 Ivan Furnadjiev CLA 2011-07-20 10:05:02 EDT
Alex, with the patch (attachment 198189 [details]) for bug 349649 applied I can't reproduce this error anymore.
Comment 7 Alex Mising name CLA 2011-07-21 05:39:15 EDT
Ivan,
thanks for your help. It was my first time to path rap.
Comment 8 Ivan Furnadjiev CLA 2011-07-21 05:44:30 EDT
(In reply to comment #7)
Can you confirm now that the patch (attachment 198189 [details]) for bug 349649 solves your problem?
Comment 9 Alex Mising name CLA 2011-07-21 06:13:31 EDT
(In reply to comment #8)
> (In reply to comment #7)
> Can you confirm now that the patch (attachment 198189 [details]) for bug 349649 solves
> your problem?

Yes, it solved my problem.
Comment 10 Ivan Furnadjiev CLA 2011-07-21 06:16:19 EDT
(In reply to comment #9)
> Yes, it solved my problem.

*** This bug has been marked as a duplicate of bug 349649 ***