Project

General

Profile

Actions

Bug #4102

closed

Name fields set as read only cause their values to be lost on frontend profile update

Added by krileon almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08 July 2013
Due date:
% Done:

100%

Estimated time:

Description

If name display is set to First and Last, but Last is set to Read Only and you save profile edit on frontend then the Last Name value is lost. It should pull existing name, populate, then replace first and last name.

https://www.joomlapolis.com/forum/154-advanced-members-support/221831-name-field-changes-upon-front-end-profile-edit?start=6

Actions #1

Updated by krileon almost 11 years ago

If issue is simple provide a quickfix to the attached forum topic.

Actions #2

Updated by krileon almost 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Name won't save if the name is null. So this issue only affects first, middle, or last name usage as 1 of 3 could be read only. However the read only fields value is not in POST so it causes the value to be lost entirely. The cbGetParam usage just needs to set the defaults to the current values to avoid this from happening.

Actions #3

Updated by beat over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF