Skip to content

Issue with logs/{info,error} pages - Cannot read property 'iso' of undefined #1112

Closed
@rizzla22

Description

@rizzla22

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • You're running version >=1.3.3 of Parse Dashboard.

Environment Setup

Google app engine is where parse server is - dashboard is running locally

Steps to reproduce

Open up dashboard and navigate to logs page, this error appears.

Logs/Trace

dashboard.bundle.js:formatted:16049 TypeError: Cannot read property 'iso' of undefined
    at au (dashboard.bundle.js:formatted:51414)
    at Qa (dashboard.bundle.js:formatted:14861)
    at Di (dashboard.bundle.js:formatted:15505)
    at Go (dashboard.bundle.js:formatted:17128)
    at Vo (dashboard.bundle.js:formatted:17152)
    at Is (dashboard.bundle.js:formatted:17554)
    at Ns (dashboard.bundle.js:formatted:17508)
    at xs (dashboard.bundle.js:formatted:17435)
    at $o (dashboard.bundle.js:formatted:17368)
    at Object.enqueueSetState (dashboard.bundle.js:formatted:14416)

Clicking on the first error link brings me to this nugget of code here on line 51414

, au = function(e) {
        var t, n, r, a = e.text, i = void 0 === a ? "" : a, o = e.timestamp, s = (t = i,
        n = ru(),
        {
            time: r = t.match(n) ? t.match(n)[0] : "",
            content: t.replace(r, ""),
            error: nu(t)
        }), c = [eu.a.entry, s.error ? eu.a.error : ""];
        return l.a.createElement("li", {
            className: c.join(" ")
        }, l.a.createElement("span", {
            className: eu.a.time
**line 51414 ========>>>>>   }, o.iso** || o, " - "), l.a.createElement("span", {
            className: eu.a.content
        }, s.content))
    }

Aside from that everything is great, would love a solution to this though

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:wont-fixWon’t be fixed with a clearly stated reason

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions