APAR status
Closed as program error.
Error description
User deletes the content_author role and then upgrades, it will fail to upgrade as we try to use the role Error in www admin pod logs: Array to string conversion update.inc:224 [77.45 sec, 49.28 MB] [warning] (Currently using Removed core modules Array) [77.45 sec, 49.28 MB] [error] Array to string conversion update.inc:224 [77.45 sec, 49.28 MB] [warning] (Currently using Removed core themes Array) [77.45 sec, 49.29 MB] [error] Array to string conversion update.inc:224 [77.45 sec, 49.29 MB] [warning] (Currently using Missing or invalid modules Array) [77.45 sec, 49.29 MB] [error] Requirements check reports errors. Do you wish to continue? (y/n): y Drush command terminated abnormally due to an unrecoverable error. [82.9 sec, 22.6 MB] [error] Cache HIT cid: 8.4.12-dev-alias-path--id [82.9 sec, 55.09 MB] [debug] WATCHDOG: [ERROR] [php] Error: Call to a member function revokePermission() on null in user_role_revoke_permissions() (line 1022 of /web/platforms/devportal-10.x-10.0.5.4-20230630-1 013/core/modules/user/user.module)#0 /web/platforms/devportal-10 s/apim_profile/apim_profile.install(2812):user_role_revoke_permi #1 phar:///opt/drush/drush8/commands/core/drupal/update.inc(65): apim_profile_update_10001()
Local fix
Problem summary
When upgrading from versions that go from drupal 9 to drupal 10 and you have the content author role deleted, the upgrade will fail due to upgrade code assuming the role should exists and not deleted.
Problem conclusion
Added a check around the code to see if the role exists first before continuing. Fixed in 10.0.5.5 and 10.0.7.0
Temporary fix
Comments
APAR Information
APAR number
LI83050
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
2023-09-01
Closed date
2024-01-09
Last modified date
2024-01-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
[{"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","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
10 January 2024