-
Bug
-
Resolution: Done
-
Major
-
3.3.0.M5
-
None
Project examples files that are provided by plugins using a plugin URL (e.g. platform:/plugin/plugin.id/...) fail to be refreshed. The only workaround is to delete the cached file from the workspace's .metadata.
The following logic in ProjectUtils.getProjectExamplesFile() is incorrect:
if (urlModified == 0) { if (file.exists()) { return file; } }
as '0' is the same as IRemoteFileInfo.NO_LAST_MODIFIED. If urlModified == IRemoteFileInfo.NO_LAST_MODIFIED, the file should always be updated.