Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've found another bug in dba: the CVS version of the database administration module (that I presume will be fully compatible with drupal 4.7), doesn't show the table checkbox in the ?q=admin/database
page in HEAD/4.7beta1 version of Drupal.
Comment | File | Size | Author |
---|---|---|---|
#14 | dba_4.7_overview.patch_4.txt | 731 bytes | dww |
#11 | dba_4.7_overview.patch_3.txt | 29.81 KB | dww |
#6 | dba_4.7_overview.patch_2.txt | 30.78 KB | dww |
#5 | dba_4.7_overview.patch_1.txt | 27.46 KB | dww |
Comments
Comment #1
tfejos CreditAttribution: tfejos commentedThe same with 4.7 beta4. Checkbox and actions columns are completely missing.
Comment #2
dwwComment #3
aam CreditAttribution: aam commentedSee patch submitted on the following issue too: "4.7 port: convert database overview according to new forms api"
Comment #4
gregglesI don't know how to write the patch for this, but I'm pretty sure it's not a duplicate.
Comment #5
dwwactually, http://drupal.org/node/68500 is the one that's duplicate with this, and it's the newer issue, so i just marked it as such. i already added a needs-work patch and some comments there, but i'm moving back to the earliest issue...
here's my latest patch for this seemingly minor problem, which actually required fundamental re-design of dba.module for FAPI. ;)
it still doesn't work right for the "Check" operation on multiple tables, but otherwise it's pretty close...
Comment #6
dwwok, i got all the check stuff working now, too.
i think this is basically ready to go (it certainly works).
however, i'm a little nervous about some of the techniques employed. ;)
some close reviews would be appreciated.
Comment #7
dwwComment #8
Jeremy CreditAttribution: Jeremy commentedThe check boxes do appear to work, that part's good. However I intentionally got rid of all the links after the name of the table -- it was too ugly and confusing. I replaced it with a simple link on the table name which took you to a view of that table and allows further actions with subtabs. If you want to perform an action on a table from the overview page, you have to check the box at the left then click the appropriate button at the bottom of the page.
Please leave the simpler interface, do not restore the ugly 4.6 look.
Also, what happened to the 'select all' / 'select none' links?
Comment #9
dwwhi jeremy, welcome back! ;)
good points on both fronts...
a) i thought the missing "action" links were a bug, not a feature, but i can certainly take them back out.
b) the "check all" javascript wasn't working and JS isn't my strength, so i just commented out the links on the overview page instead of adding links that don't work. personally, i'd consider that outside the scope of this patch... we should probably just make another bug report to restore that JS stuff...
i'll re-roll without the action links in a little while. stay tuned.
Comment #10
Jeremy CreditAttribution: Jeremy commentedSounds like an excellent plan. I look forward to there finally being a 4.7 dba release.
Comment #11
dwwa) removed the action links and turned the table name into a link to the view page
b) fixed the JS (just had a mis-match with the form id). ;)
Comment #12
Jeremy CreditAttribution: Jeremy commentedExcellent! Please merge.
With all four of these patches merged, I think we're ready to fork to 4.7.
Comment #13
dwwcommitted to HEAD as revision 1.43.
as soon as i commit #40660, i'll make the branch, a 4.7.x-1.0 release, and i'll mark http://drupal.org/node/59073 fixed... stay tuned, we're almost there. ;)
Comment #14
dwwcrap. :( when i fixed the disagreement on the overview page's form_id, which was causing the JS select/deselect all stuff to not work, i ended up breaking the buttons entirely by leaving the name of the submit handler function wrong. grrr. sorry about that. i guess we'll need a 1.1 release sooner, rather than later. ;)
Comment #15
eaton CreditAttribution: eaton commentedJust tried it out on my 47 site. Works nicely. Hooray for the return of forms in dba!
Comment #16
dwwcommitted to DRUPAL-4-7 and HEAD.
thanks for the review, eaton! ;)
Comment #17
(not verified) CreditAttribution: commented