IBM Support

LI82398: PASSWORD RESET FAILS FOR PORTAL SITES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • While trying to reset a password for an existing Portal user,
    after submitting the new password the portal site throws the
    following error : The website encountered an unexpected error.
    Please try again later.
    
    In the portal-www web container logs, it will also show the
    following error messages :
    
    20210913T07:11:57.138UTC | [   php-fpm stderr]   814
    742e92:5aceb9:2968aa 2021-09-13 07:11:57: WARNING: [pool www]
    child 510279 said into stderr: "NOTICE: PHP message: Error: Call
    to undefined method Drupal\Core\Session\AccountProxy::isNew() in
    /web/platforms/devportal-9.x-10.0.3.0-ifix1-20210819-1021/modul
    es/password_policy/password_policy.moduleon line 193 #0 /web/pla
    0819-1021/modules/auth_apic/src/Form/ApicUserPasswordResetForm.
    php(220):_password_policy_user_profile_form_validate()"
    -- | --
     | 20210913T07:11:57.043UTC | [     nginx stderr]   813
    742e92:5aceb9:7af4b6 2021-09-13 07:11:57: [error] 61084#61084:
    *2457112 FastCGI sent in stderr: "PHP message: Error: Call to
    undefined method Drupal\Core\Session\AccountProxy::isNew() in /
    web/platforms/devportal-9.x-10.0.3.0-ifix1-20210819-1021/module
    s/password_policy/password_policy.moduleon line 193 #0 /web/plat
    0819-1021/modules/auth_apic/src/Form/ApicUserPasswordResetForm.
    php(220):_password_policy_user_profile_form_validate()
     | 20210913T07:11:57.036UTC | [   php-fpm stderr]   814
    742e92:5aceb9:2968aa 2021-09-13 07:11:57: WARNING: [pool www]
    child 510279 said into stderr: "WATCHDOG: [ERROR] [php] Error:
    Call to undefined method
    Drupal\Core\Session\AccountProxy::isNew() in
    _password_policy_user_profile_form_validate() (line 193 of /web
    /platforms/devportal-9.x-10.0.3.0-ifix1-20210819-1021/modules/p
    assword_policy/password_policy.module)#0 /web/platforms/devporta
    dules/auth_apic/src/Form/ApicUserPasswordResetForm.php(220):_pas
    

Local fix

  • N/A
    

Problem summary

  • An error is shown when developer portal users attempt to reset
    their password using the "forgot password" flow.
    This was due to an incompatibility with Drupal 9 in the password
    policy module.
    

Problem conclusion

  • Fix targeted at 10.0.1.5, 10.0.4 and 2018.4.1.18.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI82398

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    A0X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-10-29

  • Closed date

    2021-11-09

  • Last modified date

    2021-11-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X"}]

Document Information

Modified date:
10 November 2021