Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.41k stars 578 forks source link

Milestone creation error #108

Closed quangbahoa closed 4 years ago

quangbahoa commented 4 years ago

Got some errors white create new milestone

snap.svg-min.js:19 Error: <rect> attribute width: A negative value is not valid. ("-695857.5833333334")
d @ snap.svg-min.js:19
snap.svg-min.js:19 Error: <rect> attribute width: A negative value is not valid. ("-73248.16666666666")
d @ snap.svg-min.js:19
(index):5 Uncaught SyntaxError: Invalid or unexpected token
    at eval (<anonymous>)
    at jquery-1.9.1.min.js:3
    at Function.globalEval (jquery-1.9.1.min.js:3)
    at e.fn.init.domManip (jquery-1.9.1.min.js:4)
    at e.fn.init.append (jquery-1.9.1.min.js:4)
    at Object._writeContent (jquery.nyroModal.custom.js:502)
    at Object.<anonymous> (jquery.nyroModal.custom.js:447)
    at i (jquery-1.9.1.min.js:3)
    at Object._contentLoading (jquery.nyroModal.custom.js:460)
    at Object._setCont (jquery.nyroModal.custom.js:328)

LT 2.0.8 PHP 7.4 Mariadb 10.2 Nginx 1.17

marcelfolaron commented 4 years ago

Is that happening every time you create a milestone? This looks like the end date was before the start date (which shouldn't be possible). Can you tell me what you filled into the form?

quangbahoa commented 4 years ago

Is that happening every time you create a milestone? This looks like the end date was before the start date (which shouldn't be possible). Can you tell me what you filled into the form?

Yea, I leave end date blank.

marcelfolaron commented 4 years ago

I see. Will get a fix out as soon as possible

quangbahoa commented 4 years ago

I think we should allow blank end date as infinite deadline for project.

marcelfolaron commented 4 years ago

I agree, that makes sense for projects but I believe Milestone s (by definition) should have an end date.

I am working on a Kanban and Gantt visualization for Projects as well. So that would apply there.

On Fri, Feb 21, 2020, 9:08 AM Le Duy Quang notifications@github.com wrote:

I think we should allow blank end date as infinite deadline for project.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Leantime/leantime/issues/108?email_source=notifications&email_token=ALG4EFXKQWFBZSJX6TBPEVDREADBDA5CNFSM4KYM3PPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTMZEY#issuecomment-589745299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFT4X2VI6QGDWKGIGX3READBDANCNFSM4KYM3PPA .

marcelfolaron commented 4 years ago

Fixed in V2.0.10