Closed Bug 1135159 Opened 9 years ago Closed 9 years ago

JS error on transonic publish page

Categories

(Marketplace Graveyard :: Curation Tools, defect, P1)

Avenir
x86
macOS

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mstriemer, Assigned: kngo)

References

Details

STR

1. Go to https://marketplace-dev.allizom.org/curate
2. Sign in with an account that has permissions
3. Click "Publish"

Expected results

The page loads correctly.

Actual results

The spinner is never hidden and there is a JS error.

Error info:

Uncaught Template render error: Template render error: TypeError: Cannot read property 'substring' of undefined

The error occurs in marketplace-core-modules [1] but the root cause it `color|hex2rgba('.4')` and similar in _macros/feed_item.html [2].

[1] https://github.com/mozilla/marketplace-core-modules/blob/8c5a2b4a69ff7ccec5b3a0c91f49e15dafa38527/helpers.js#L90
[2] https://github.com/mozilla/transonic/blob/ef505c2155fd15ce63bc3b1aec785e5fe7d07ed3/src/templates/_macros/feed_item.html#L41
Assignee: nobody → kngo
https://github.com/mozilla/transonic/commit/46c14717ccf751f2147166122652d3019b6faaf7
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Severity: normal → major
Priority: -- → P1
Verified as fixed in FF38(Win7) in marketplace-dev.allizom.org
Postfix screencast: http://screencast.com/t/N395kFEvvT7
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.