Project

General

Profile

Bug #2766

Image fields on registration upload with missing userid and before registration is successful

Added by krileon about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
15 September 2011
Due date:
% Done:

100%

Estimated time:
6:00 h

Description

When an image field is placed on the registration page it is uploaded before registration completes (if the field validates) which is giving the images a userid of 0 (e.g. 0_xyz.png). However, if registration fails this image is not being removed.

https://www.joomlapolis.com/forum/153-professional-member-support/176328-image-uploads

cb.core.patch (8.53 KB) cb.core.patch krileon, 26 October 2011 04:19 PM
cb.tables.patch (1011 Bytes) cb.tables.patch krileon, 26 October 2011 04:19 PM
comprofiler.class.php.patch (1.66 KB) comprofiler.class.php.patch krileon, 26 October 2011 04:19 PM
plugin.class.patch (1.72 KB) plugin.class.patch krileon, 26 October 2011 04:19 PM

History

#1 Updated by nant almost 9 years ago

  • Status changed from New to Assigned
  • Assignee set to krileon
  • Target version set to CB 1.7.1

#2 Updated by krileon almost 9 years ago

Extended API for fields to have a commit and rollback function. Both triggered as needed inside of the saveSafely function of user class object.

#3 Updated by beat almost 9 years ago

  • Status changed from Resolved to Closed
  • Estimated time set to 6:00 h

Fixed in r1583 .

Thank you Kyle for the implementation of this idea we discussed. Looks really cool.

Also available in: Atom PDF