| Summary: | [prefs] 404 on /prefs/user/plugins when opening index.html | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | Client | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | ahunter.eclipse, antonm, curtis.windatt.public, eclipse, simon_kaegi, Szymon.Brandys |
| Version: | 0.2 | ||
| Target Milestone: | 9.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Tomasz Zarna
(In reply to comment #0) > I haven't noticed any side effects. Well, this is not quite true. Opening the welcome page takes a little longer on my box comparing to Szymon. Refreshing with Ctrl+Shift+R and doing localStorage.clear() didn't help. This is expected but we might see if there is something we can do to prevent a console message. I am seeing this on my instance of Orion as well (http://develop.cloudfier.com/). Is this really expected? What is involved? How to address it? Cheers. Note that in my case, the site never loads. It seems that is not expected in this report, so there may be something else at play. The 401 and 404 on /prefs/user/plugins is expected and does no harm. If you have no extra plugins installed then you get a 404 attempting to get the plugins preference. We should be able to suppress it. I believe the 401 is a timing issue that we haven't authenticated yet and we are trying to get the plugin list too early. If no user is logged in then 401 on getting plugins is correct. If you have seeing problems with the site not loading at all I think you are seeing something else and these messages are unrelated. I am marking this major as it is becoming increasingly irritating to keep seeing the 404 errors in the console when trying to debug the Orion client. When I toggle on the console in Chrome it should be clean of anything at all times. GET http://localhost:8080/prefs/user/cm/configurations 404 (Not Found) GET http://localhost:8080/prefs/user/common-nav 404 (Not Found) GET http://localhost:8080/prefs/user/sectionsOrder 404 (Not Found) If there are no user preferences, can we not just return an empty list and not a 404? (In reply to Anthony Hunter from comment #6) > If there are no user preferences, can we not just return an empty list and > not a 404? We now return an empty JSON Object. We walked the client code and there are no issues with the change. Fixed with commit http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=70521691731f26c0f76dbeac4dc6ddb708f04d19 |