Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 267299 Details for
Bug 513778
Exception from landing page when starting client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix
rss.feed.exception.patch (text/plain), 1.48 KB, created by
Michael Rennie
on 2017-03-16 14:37:23 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Michael Rennie
Created:
2017-03-16 14:37:23 EDT
Size:
1.48 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/javascript/landing-new.js b/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/javascript/landing-new.js >index 78440ff..d93e385 100644 >--- a/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/javascript/landing-new.js >+++ b/bundles/org.eclipse.orion.client.ui/web/mixloginstatic/javascript/landing-new.js >@@ -1,6 +1,6 @@ > /******************************************************************************* > * @license >- * Copyright (c) 2011, 2015 IBM Corporation and others. >+ * Copyright (c) 2011, 2017 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials are made > * available under the terms of the Eclipse Public License v1.0 > * (http://www.eclipse.org/legal/epl-v10.html), and the Eclipse Distribution >@@ -25,7 +25,7 @@ > > function formHTML(newsFeedData, elementId, limit) { > var html = ""; >- var newsFeedEntries = newsFeedData.entries; >+ var newsFeedEntries = newsFeedData && Array.isArray(newsFeedData.entries) ? newsFeedData.entries : []; > // Limit for the number of items to display > var limit; > >@@ -55,7 +55,7 @@ > url: document.location.protocol + "//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=" + encodeURIComponent(url), > dataType: "json", > success: function(data) { >- callback(data.responseData.feed, elementId, 3); >+ callback(data.responseData ? data.responseData.feed : null, elementId, 3); > } > }); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 513778
: 267299