| Summary: | Sites Page broken in latest build | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Ken Walker <ken_walker> |
| Component: | Releng | Assignee: | Ken Walker <ken_walker> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | mamacdon |
| Version: | 2.0 | ||
| Target Milestone: | 2.0 RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ken Walker
Hmm, self hosting seems fine - will download and try the build locally Download exhibits the problem - sites page is non-functional The built-sites page is missing entire modules. Here's the list of what it's missing (taken from the 0.2M2 build log)
> [java] orion/i18n!orion/sites/nls/messages
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/sites/nls/messages.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/sites/nls/root/messages.js
> [java] i18n!orion/sites/nls/messages
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/sites/siteClient.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/treeModelIterator.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/explorers/explorerNavHandler.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/section.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/webui/treetable.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/explorers/explorer.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/sites/siteUtils.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/sites/siteCommands.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././orion/sites/sitesExplorer.js
> [java] /opt/public/eclipse/e4/orion/I201301272230/optimization/././sites/sites.js
Somehow it even managed to omit the "sites" module from the built version of "sites"!
(In reply to comment #3) This wasn't quite right. Some of the dependencies are just in a different order. The correct list of missing modules is > [java] /opt/public/eclipse/e4/orion/xxx/optimization/././orion/sites/siteCommands.js > [java] /opt/public/eclipse/e4/orion/xxx/optimization/././orion/sites/siteUtils.js > [java] /opt/public/eclipse/e4/orion/xxx/optimization/././orion/sites/sitesExplorer.js > [java] /opt/public/eclipse/e4/orion/xxx/optimization/././sites/sites.js The build process used a 1.0 version of requirejs to concatenate and minify each page. Apparently that version had a bug that made it omit certain dependencies -- we found built-edit.js having a similar problem as built-sites. Upgrading to requirejs 2.x seems to have fixed it. |