Polymer 404 issues when run in Dartium #18316
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
closed-duplicate
Closed in favor of an existing report
Milestone
This issue was originally filed by [email protected]
What steps will reproduce the problem?
<link rel="import" href="packages/polymer_ui_elements/polymer_ui_icon_button/polymer_ui_icon_button.html">
<link rel="import" href="packages/polymer_ui_elements/polymer_ui_toolbar/polymer_ui_toolbar.html">
<link rel="import" href="packages/polymer_elements/polymer_flex_layout/polymer_flex_area.html">
<header>
<polymer-ui-toolbar>
<polymer-ui-icon-button icon="refresh"></polymer-ui-icon-button>
<polymer-ui-icon-button icon="add"></polymer-ui-icon-button>
<polymer-flex-area flex> </polymer-flex-area>
<polymer-ui-icon-button icon="refresh"></polymer-ui-icon-button>
<polymer-ui-icon-button icon="add"></polymer-ui-icon-button>
</polymer-ui-toolbar>
</header>
What is the expected output? What do you see instead?
The expected output for both should be a toolbar with pairs of icons at each end of the toolbar, and the toolbar would be located above the default content.
The actual output is different between Dartium and the build output. The built "Run in browser" version works fine. The "Run in Dartium" one results in a bunch of 404 errors with various polymer CSS files. Output is in the attached PolymerDart404Errors.txt file. An example error:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:3030/PolyTest/web/polymer_ui_icon.css
What version of the product are you using? On what operating system?
Dart Editor 1.3.3 build 35121. Clean Windows 7 SP1 x64 VM, with Java 1.7u51 x64. Also happens on Windows 8.
Please provide any additional information below.
These errors did NOT occur on Dart Editor 1.1.3, using the same (latest) versions of polymer, polymer_elements, and polymer_ui_elements. I was able to tweak the CSS paths in the polymer code to get "Run in Dartium" to work, but made the "pub build" fail with invalid path errors.
Attachment:
PolymerDart404Errors.txt (1.71 KB)
The text was updated successfully, but these errors were encountered: