Problem/Motivation

After enabling the private message module, none of the default settings on the Account settings form are being saved. For example, I cannot change the 'Who can register accounts?' setting.

Proposed resolution

Change the way the custom submit handler private_message_user_admin_settings_submit is added. It should be added to the top level of the form so that the default submit handler for the form still runs. See https://www.drupal.org/node/2252165#comment-9437863

Remaining tasks

Please review/test.

Comments

rvillan created an issue. See original summary.

rvillan’s picture

rvillan’s picture

In case anyone needs it for the current stable version (8.x-1.0-beta18).

PhilippVerpoort’s picture

Priority: Normal » Major
Status: Active » Needs review

I can confirm the issue, as well as that the patch presented in #3 solves the issue.

I suggest merging this patch into the next commit.

I'm changing the status of this issue to CNR.

socialnicheguru’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm this fix...

hsponner’s picture

Patch #3 works also for -dev, thanks

  • edutrul committed 9492461 on 8.x-1.x authored by rvillan
    Issue #2905184 by rvillan, PhilippVerpoort, SocialNicheGuru, hsponner:...
edutrul’s picture

Status: Reviewed & tested by the community » Fixed

Really thanks and great job rvillan, PhilippVerpoort, SocialNicheGuru, hsponner patch works as expected!
I've just pushed! closing as resolved

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.