Skip to content

Commit

Permalink
REGRESSION User profile plugin
Browse files Browse the repository at this point in the history
Enable the User - Joomla plugin and set the first field to be required
Enable user registration
Try to register a user on the front end and you will see that field Address 1 is displayed as optional - it should be displayed as required.
Try to register without completing field Address 1 and it will fail saying that Address 1 is required

This has been a long standing recurring bug. This instance has come from
Fix form data lost when user registration failed #19145

Reverting that PR resolves this issue but then of course it means that the issue being fixed in #19145 had returned
  • Loading branch information
brianteeman committed Feb 8, 2018
1 parent e4c2ac1 commit c4497ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_users/views/registration/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class UsersViewRegistration extends JViewLegacy
public function display($tpl = null)
{
// Get the view data.
$this->form = $this->get('Form');
$this->data = $this->get('Data');
$this->form = $this->get('Form');
$this->state = $this->get('State');
$this->params = $this->state->get('params');

Expand Down

0 comments on commit c4497ce

Please sign in to comment.