This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 38039 - User tasks are not persistent38039
Summary: User tasks are not persistent38039
Status: CLOSED WORKSFORME
Alias: None
Product: contrib
Classification: Unclassified
Component: Tasklist (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 08:55 UTC by andrew
Modified: 2003-12-22 18:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2003-12-12 08:55:43 UTC
Enviroment:
current CVS trunk, linux, j2se 1.4.2_02.

Steps:
- create use task
- modify the task
- restart the IDE

Result:
task is in state as it was just after creating
(I have tried to change task short description
and "Done" field).

The submodule is unusable - P1.
Comment 1 _ pkuzel 2003-12-12 15:28:53 UTC
save() event provoked by markModified() may be missing. I remember
TaskList refactoring where I was wondering about senseless
implementations (because I overlooked they are subclassed). 

I'll look why UserTaskList.writeDocument() is not called anymore.
Comment 2 _ pkuzel 2003-12-12 17:24:15 UTC
My first estimate was wrong. It works for me. Only possible problem
you can observe is an IOException caused by read-only tasklist.ics but
then you would loss other settings too because it's located in
netbeans user dir folder.

So please try again, I tried after a commit that could fix it, and
look for possible exceptions. Reopen with new findings. Thank you.
Comment 3 andrew 2003-12-19 12:31:29 UTC
Hm.. I have tried with fresh userdir with the same 
result:
after restarting the IDE, user tasks list is empty.
Have I missed something in NB-building? I use this
user.build.properties file to build the IDE:

=============
moduleconfig=stable

config.modules.stable=${config.modules.slim}, \
ant, \
diff, \
extbrowser, \
vcscore, \
vcsgeneric, \
${local.config.libs}, \
${local.config.xml}, \
${local.config.vcsprofiles}, \
${local.config.tasklist}, \
${local.config.pmd}, \
treefs
=============
Comment 4 Tim Lebedkov 2003-12-19 18:44:06 UTC
Hi Andrew,

I was able to reproduce the error. Please try the current version from
the trunk. It should be fixed now

--Tim
Comment 5 andrew 2003-12-19 19:52:35 UTC
Can not verify:

- start with empty user dir
- add user task
- make it "Done"
- add "Percentage" column (optional, see below)
- restart the IDE

Result: 
- task takes place, but is not in "Done"
- added column is absent (regression?).
Comment 6 Tim Lebedkov 2003-12-22 18:14:14 UTC
Fixed now (I hope...)
Comment 7 andrew 2003-12-22 18:54:03 UTC
Tim,

Thanks a lot.
Verified by reporter... Hmm.. Do not see
"VERIFY" radio button for "CLOSED WORKSFORME" :-)