Giter Site home page Giter Site logo

Comments (4)

JonnyFunFun avatar JonnyFunFun commented on July 20, 2024

Fixed in 9d78b34

Please update your mashup accordingly!

from mashupslibrary.

simonjmartin avatar simonjmartin commented on July 20, 2024

Still getting the second of those issues:

Timestamp: 30/03/2012 14:08:33
Error: date.match(/((\d+)-/) is null
Source File: http://myserver/TargetProcess2/JavaScript/Mashups/Kanban%20Board%20Impending%20Doom/KanbanBoardImpendingDoom.js
Line: 59

which Firefox points to
date = new Date(Number(date.match(/((\d+)-/)[1]));

and in Chrome I get:
Uncaught TypeError: Cannot read property '1' of null
$.ajax.successKanbanBoardImpendingDoom.js:59
jQuery.Callbacks.mjQuery.js:48
jQuery.Callbacks.n.fireWithjQuery.js:48
vjQuery.js:48
jQuery.support.ajax.jQuery.ajaxTransport.send.djQuery.js:48
FBL.ns.handleStateChangefirebug-lite.js:18917

from mashupslibrary.

JonnyFunFun avatar JonnyFunFun commented on July 20, 2024

It looks and sounds like there is an issue with the format of the custom field from the REST API call. That line is what actually parses the format from the REST API to a JavaScript Date object. It looks like the former is malformed, causing it to not properly parse to a Date. Is the "Due Date" custom field set up as a date type and what is the locale setting on your server?

from mashupslibrary.

simonjmartin avatar simonjmartin commented on July 20, 2024

System Settings > Processes > All Practices > Custom Fields:
Label: "Due Date"
Entity Type: Feature
[User Story], [Task], [Bug]
Field Type: Date
Show in lists/Enabled for filter [Checked]

Server is UK (en-gb)

from mashupslibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.