After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 136507 - Add/update of a Project with same name to a database has usability issues.
Add/update of a Project with same name to a database has usability issues.
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
unspecified
Other Linux
: Normal trivial
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks: 136736
 
 
Reported: 2004-03-07 23:54 UTC by Lincoln Phipps
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Makes the project list a bit more usable in the Open Database... dialog. (4.36 KB, patch)
2004-04-02 02:49 UTC, Lincoln Phipps
none Details | Review
This fixes this usability issue - once its committed. (7.55 KB, patch)
2004-04-17 10:48 UTC, Lincoln Phipps
none Details | Review

Description Lincoln Phipps 2004-03-07 23:55:00 UTC
Planner adds the Project to the database and increments
a hidden ID but never shows you this. 

It needs to either,
a) show the revision (though you can sort of guess as its top-down)

or

b) update the existing project copy in the database replacing 
the data (this may be hard if it has to drop rows !).

It also needs to have the ability to delete a particular 
revision if either is done.
Comment 1 Lincoln Phipps 2004-04-02 02:47:48 UTC
Attached is my patch to make the database project list a bit more friendly.
I'm happy with this.

Comment 2 Lincoln Phipps 2004-04-02 02:49:13 UTC
Created attachment 26226 [details] [review]
Makes the project list a bit more usable in the Open Database... dialog.
Comment 3 Richard Hult 2004-04-02 09:02:15 UTC
Does saving a project add a project each time? That should be a bug, shouldn't it? 

The patch looks great, maybe we shouldn't turn off word wrapping for the label
though?
Comment 4 Lincoln Phipps 2004-04-02 11:12:53 UTC
OK - re: the word wrapping. It was a lazy way of making the dialog width scale
wide enough. You can tweak that back ON so that it wraps.

The Save works OK - it correctly increments the revision. If you Save to a
Database then it creates a new entry with a new ID (same name/phase) and
revision = 1. When I logged the bugzilla I didn't know about this field as I
couldn't see the revision field - but my patch now makes this obvious and I'm
happy about its behaviour for the moment.

For my next feature - I'll be adding a Project Delete option but only after you
commit the current tranche of changes else my sandbox gets too out of step with
main cvs.
Comment 5 Lincoln Phipps 2004-04-17 10:48:31 UTC
Created attachment 26742 [details] [review]
This fixes this usability issue - once its committed.

This patch closes  this bugzilla. Still have other things to do on Database but
nothing more on this bug at this time.
Comment 6 Richard Hult 2004-04-17 15:02:36 UTC
Commited, with a few tweaks. 

Please don't close bugs before the fix is committed.
Comment 7 Lincoln Phipps 2004-04-17 15:50:07 UTC
Oops. Sorry - yes won't do this. Was playing with bugzilla blocks/depends on
stuff and wanted to see what it was doing.

The Bugzilla Dependency Graph is broken as it has a broken link to....
http://www.research.att.com/~north/cgi-bin/webdot.cgi/http://bugzilla.gnome.org/data/webdot/MZCKjGOnyc.dot.gif