Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 419981

Summary: Search page: "Cancel" message does not disappear if there is no hit in the crawler search.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, simon_kaegi
Version: 4.0Flags: simon_kaegi: review+
Target Milestone: 4.0 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Proposed fix patch
none
Second patch after Simon's first review none

Description libing wang CLA 2013-10-21 10:33:07 EDT
1. If there is no search match from crawler search, the cancel message stays there.

2. There are uncaught NPEs when initializing search page with no search parameters.
Comment 1 libing wang CLA 2013-10-21 10:36:49 EDT
Created attachment 236716 [details]
Proposed fix patch
Comment 2 libing wang CLA 2013-10-21 10:58:27 EDT
Created attachment 236717 [details]
Second patch after Simon's first review
Comment 3 libing wang CLA 2013-10-21 11:03:36 EDT
To verify:
1. Do a crawler search that hits nothing.
Before the fix : the cancel message stays.

2. Open search page from editor page.
Before the fix: there were some NPEs.(If you set the debugger to catch uncaught NPEs)

3.Switch to html5 file system.
Before the fix: there were some NPEs.(If you set the debugger to catch uncaught NPEs)