Grunt all step fails when building web client

Bug #1671165 reported by Kathy Lussier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned
2.11
Fix Released
High
Unassigned

Bug Description

Evergreen version: master, as of March 8

When installing Evergreen from git and building the web client, after running the grunt all step, we're getting the following errors:

PhantomJS 2.1.1 (Linux 0.0.0) ERROR
  TypeError: undefined is not a function (evaluating 'c.module("ngCookies",["ng"]).info({angularVersion:"1.6.3"})')
  at /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff/build/js/angular-cookies.min.js:7

PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 0 ERROR (0.363 secs / 0 secs)

Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.

bshum discovered that this can be fixed by changing angular-cookies": "^1.5.8" to angular-cookies": "~1.5.8" in bower.json.

Working branch in forthcoming.

Tags: pullrequest
Revision history for this message
Kathy Lussier (klussier) wrote :

Working branch at http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/kmlussier/lp1671165-keep-angular-cookies-at-1_5

Setting targets for 2.11 and 2.12, since it looks like angular-cookies is available in both releases.

Changed in evergreen:
milestone: none → 2.12-rc
tags: added: pullrequest
Kathy Lussier (klussier)
Changed in evergreen:
importance: Undecided → High
Revision history for this message
Ben Shum (bshum) wrote :

Pushed to master and backported (with a minor conflict tweak) to rel_2_11. All set, thanks Kathy.

Changed in evergreen:
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.