Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
File downloads
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 21:09 UTC
Updated:
4 Nov 2011 at 13:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
torgospizzaAttached are two patches that do this. Two files being patched: uc_file.module and uc_file.pages.inc. Not a major change but it could use some testing...
It's rolled against both 2.4 and -dev, which appear the same.
Thanks for looking!
Comment #2
torgospizzaI realized my patch(es) don't include any submit button. Let me work on that and then I'll update the issue.
Comment #3
longwaveChanging component.
Comment #4
longwaveMarked #750016: Large numbers of file downloads for a user causes memory exhaustion in user edit form. as duplicate
Comment #5
longwavePatch attached based on the above. The form has validate and submit handlers now, and theme_uc_file_hook_user_file() has been removed as everything it does can be done in the form builder itself.
Comment #6
torgospizzaThank! Will test this out on a staging server soon.
Comment #7
tr commented#5: 885010-uc_file-user-admin.patch queued for re-testing.
Comment #8
torgospizzaAwesome, thanks for picking up the slack on this!
Comment #9
tr commentedCommitted! Should be ported to 7.x-3.x.
Should we do the same thing with the Ubercart roles administration - move it to a Roles tab (user/%/roles) that shows up only for the administrator? Seems to be a bit out of place where it currently is, now that the file administration has been moved.
Comment #10
longwavePorted and committed to 7.x: http://drupalcode.org/project/ubercart.git/commitdiff/d85720e
Agree that we should do the same thing with the roles admin, but that should be a new issue.