Discussion:
[Agilo for Trac] Bug in backlogView.js that prevents drag and drop of tickets in sprint view
Stephen Simmons
2014-09-26 22:26:41 UTC
Permalink
Hello,

When attempting to drag and drop tickets in the sprint backlog view, the
following JS message is sent to the console:

Uncaught TypeError: Cannot read property 'substring' of undefined
backlogView.js:82


Line 82 of backlogView.js in the most recent release currently looks like
this:

return parseInt($(element).attr('id').substring(9), 10);


This is fixed by doing something like the following instead (this can
replace line 82 in backlogView.js):

var hasValidTicketId = $(element).attr('id') && $(element).attr('id').length
0;
return hasValidTicketId ? parseInt($(element).attr('id').substring(9), 10) :
null;


This workaround is currently working for me and my team.


I assume this bug affects anyone who relies on the drag and drop feature,
so it could potentially be worth the immediate attention of the Agilo folks.
--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Stefano Rago
2014-10-06 08:30:24 UTC
Permalink
Hi Stephen,

thanks for the heads up and for sharing your solution.
This problem has already been discussed here:
https://groups.google.com/forum/#!searchin/agilo/prioritize$20backlog/agilo/CZo9HK_poEM/5j3QKbKZCDYJ

on that page you can find a temporary patch for the problem, but we're going to include a fix in our upcoming release.

Cheers,

Stefano Rago
Post by Stephen Simmons
Hello,
Uncaught TypeError: Cannot read property 'substring' of undefined backlogView.js:82
return parseInt($(element).attr('id').substring(9), 10);
var hasValidTicketId = $(element).attr('id') && $(element).attr('id').length > 0;
return hasValidTicketId ? parseInt($(element).attr('id').substring(9), 10) : null;
This workaround is currently working for me and my team.
I assume this bug affects anyone who relies on the drag and drop feature, so it could potentially be worth the immediate attention of the Agilo folks.
--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum
You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.
To unsubscribe from this group, send an email to
For more options, visit this group at
http://groups.google.com/group/agilo
---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
For more options, visit https://groups.google.com/d/optout.
Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany

stefano.rago-CKHYNj9aYvRx67MzidHQgQC/***@public.gmane.org
http://www.agilosoftware.com

Follow us on twitter: http://twitter.com/agiloforscrum, http://twitter.com/agilofortrac

Amtsgericht Charlottenburg: HRB 127146
CEO Marion Eickmann, Andrea Tomasini
--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Loading...