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

Bug 418935

Summary: "Import from HTTP..." shows error message with html content
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: ClientAssignee: Grant Gayed <grant_gayed>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: grant_gayed, libingw, Michael_Rennie, snorthov
Version: 4.0Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot
none
screenshot showing json none

Description Grant Gayed CLA 2013-10-08 11:44:38 EDT
Created attachment 236225 [details]
screenshot

I20131007-2230

- select a folder, invoke "Import from HTTP..."
- enter a local url like "file:///c:/asdf" (possibly not a valid case)
- a marked-up error message is shown in a green status, see screenshot
Comment 1 Grant Gayed CLA 2013-10-25 12:11:35 EDT
Another case like this: bug 420403.
Comment 2 Michael Rennie CLA 2013-10-25 12:50:56 EDT
*** Bug 420403 has been marked as a duplicate of this bug. ***
Comment 3 Grant Gayed CLA 2015-05-01 14:00:27 EDT
Still happens in the latest.
Comment 4 libing wang CLA 2015-05-08 11:17:00 EDT
Reproduced today.
I think the server gives back two json objects as error.
Comment 5 Michael Rennie CLA 2017-01-10 15:44:10 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Comment 6 Grant Gayed CLA 2017-04-12 11:25:23 EDT
Reopening, now shows two json objects instead of html, which isn't much better.  Screenshot is attached in next comment.
Comment 7 Grant Gayed CLA 2017-04-12 11:26:01 EDT
Created attachment 267775 [details]
screenshot showing json
Comment 8 Steve Northover CLA 2017-04-12 11:54:51 EDT
Is is just that the error message is bad or is the feature not working?
Comment 9 Grant Gayed CLA 2017-05-02 12:10:38 EDT
Ran with the node server, the functionality works in general, but in the error case (an invalid URL) a green status is shown: "An unknown error occurred".
Comment 10 Michael Rennie CLA 2018-04-09 09:41:00 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. 

For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04114.html