Project

General

Profile

Actions

Bug #2766

closed

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

Added by krileon over 12 years ago. Updated over 12 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


Files

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

Updated by nant over 12 years ago

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

Updated by krileon over 12 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.

Actions #3

Updated by beat over 12 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.

Actions

Also available in: Atom PDF