Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 513584
Collapse All | Expand All

(-)a/modules/orionode/lib/file.js (-1 / +1 lines)
Lines 165-171 Link Here
165
			n.forEach(function(item) {
165
			n.forEach(function(item) {
166
				names[decodeURIComponent(item)] = Object.create(null);
166
				names[decodeURIComponent(item)] = Object.create(null);
167
			});
167
			});
168
			return fileUtil.getProject(req.user.workspaceDir, fileRoot, filepath, names).then(function(project) {
168
			return fileUtil.getProject(req.user.workspaceDir, fileRoot, filepath, {names: names}).then(function(project) {
169
				return fileUtil.withStatsAndETag(project, function(error, stats, etag) {
169
				return fileUtil.withStatsAndETag(project, function(error, stats, etag) {
170
					if (error && error.code === 'ENOENT') {
170
					if (error && error.code === 'ENOENT') {
171
						res.sendStatus(204);
171
						res.sendStatus(204);
(-)a/modules/orionode/lib/fileUtil.js (-1 / +1 lines)
Lines 148-154 Link Here
148
				for(var i = 0, len = children.length; i < len; i++) {
148
				for(var i = 0, len = children.length; i < len; i++) {
149
					var c = children[i],
149
					var c = children[i],
150
						n = names[c.Name];
150
						n = names[c.Name];
151
					if(n && (c.Directory && n.isDirectory)) {
151
					if(n && (c.Directory && n.isDirectory || !c.Directory && !n.isDirectory)) {
152
						return resolve(filepath);
152
						return resolve(filepath);
153
					}
153
					}
154
				}
154
				}

Return to bug 513584