GNOME Bugzilla – Bug 136507
Add/update of a Project with same name to a database has usability issues.
Last modified: 2004-12-22 21:47:04 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.
Attached is my patch to make the database project list a bit more friendly. I'm happy with this.
Created attachment 26226 [details] [review] Makes the project list a bit more usable in the Open Database... dialog.
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?
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.
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.
Commited, with a few tweaks. Please don't close bugs before the fix is committed.
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