LibrePlan / libreplan

LibrePlan - Open Web Planning
https://www.libreplan.dev
GNU Affero General Public License v3.0
287 stars 170 forks source link

Adding dependency launches infinite looping or something similar... #440

Closed kwoot closed 6 years ago

kwoot commented 14 years ago

(Original Bugzilla Bug ID: 296)

Date: 2010-02-13 22:56:17 From: Xavi Castaño \<xcastanho@igalia.com> To: Javier Morán \<jmoran@igalia.com> Version: navalplan-1.0 (1.0.x) Last updated: 2011-01-18 17:52:53


(Note: this issue was migrated automatically with bugzilla2github.py tool )

kwoot commented 6 years ago

Bugzilla Comment ID: 690 Date: 2010-02-13 23:21:16 From: Oscar González \<ogonzalez@igalia.com>

commit bab66fa26bbbb5edbe6f250e0bd1dba7e676f906 Author: Óscar González Fernández ogonzalez@igalia.com Date: Sat Feb 13 23:15:19 2010 +0100

ItEr47S04ValidacionEProbasFuncionaisItEr46S04: [Bug #290] Fixing bug.

Instead of throwing an exception a message is shown. It's pending
formatting it better.
kwoot commented 6 years ago

Bugzilla Comment ID: 689 Date: 2010-02-13 22:56:58 From: Xavi Castaño \<xcastanho@igalia.com>

Problem only appear with that task. I try with other and I am able to add dependency.

kwoot commented 6 years ago

Bugzilla Comment ID: 688 Date: 2010-02-13 22:56:17 From: Xavi Castaño \<xcastanho@igalia.com>

(Maybe this problem is related to null pointer exception I sent last Friday but probably not...)

To reproduce problem:

kwoot commented 6 years ago

Bugzilla Comment ID: 692 Date: 2010-02-13 23:22:07 From: Oscar González \<ogonzalez@igalia.com>

Last comment was added mistakenly.

kwoot commented 6 years ago

Bugzilla Comment ID: 693 Date: 2010-02-13 23:54:02 From: Oscar González \<ogonzalez@igalia.com>

I couldn't reproduce it. There is a similar problem but only happens when there are dependency loops. Besides it produces an StackOverflowError.

kwoot commented 6 years ago

Bugzilla Comment ID: 703 Date: 2010-02-15 09:35:14 From: Xavi Castaño \<xcastanho@igalia.com>

I am able to reproduce in my system. Please, before closing this bug. It is important try to use my version or my instalation to check it.

kwoot commented 6 years ago

Bugzilla Comment ID: 708 Date: 2010-02-15 11:37:11 From: Xavi Castaño \<xcastanho@igalia.com>

There is a similar problem but only happens when there are dependency loops. Besides it produces an StackOverflowError.

I found out that I had a loop when I tried to assign this dependency, but in my case not StackOverflowError was shown, only processing... and sometimes "Segmentation fault".

Is there any way to know you are coming back to the same task for a second time and then show a message saying that it is impossible to add this dependency due to loops?.

kwoot commented 6 years ago

Bugzilla Comment ID: 815 Date: 2010-02-21 17:47:41 From: Oscar González \<ogonzalez@igalia.com>

commit 07cac13e47c7d1846ec35274fc6ac6bc300fc837 Author: Óscar González Fernández ogonzalez@igalia.com Date: Sun Feb 21 17:32:57 2010 +0100

ItEr48S04ValidacionEProbasFuncionaisItEr47S04: [Bug #296] Fixing bug.

Detecting if adding a dependency provokes an infinite loop, in that
case nothing is done. It could be improved showing a message to the
user.