Difficulties in upgrading drupal portal from 9.3 to 10.1

Dear team,

I have upgraded a drupal 9.3 site (with apigee kickstart distribution) to drupal 10.1 and apigee kickstart 3.0 and encountered many difficulties. Most of them I successfully fixed. But I'm left with some that I would appreciate your advice. 

  • I keep getting when using drush the error - The "apidoc" entity type does not exist. Or  the warning - Undefined array key "apidoc" ContentModerationRouteSubscriber.php:95
  • A custom view based on apigee api catalog that throws the following warning: Undefined array key "id" in Drupal\views\Plugin\views\display\DisplayPluginBase ->getHandlers() (line 875)
  • URL Redirect is not working and I cant redirect users after login.

More info:
drupal: 10.1.8
php: 8.1.26
drush: 11.6
apigee is running on private cloud

Thank you in Advance for any help!

3 REPLIES 3

@injo 

It appears that your custom modules are still utilizing old apidoc type content, which has been converted to node. See https://github.com/apigee/apigee-api-catalog-drupal/pull/84 for more information.

I hope tweaking your custom module according to apidoc type as node this will resolve your #1 and #2.

I am not sure what exact issue you are facing here:

  • URL Redirect is not working and I cant redirect users after login.



 

@shishir21 
Thank you for your answer. I double-checked after reading your advice and since I upgraded from Apigee kickstart 2.0 to 3.0 it was already a node. So it seems to be something else. The site itself looks as before the upgrade, but the logs show a different story. If you have any other ideas... please share....

@injo 

Could you please create a issue at Github (https://github.com/apigee/apigee-api-catalog-drupal) to investigate more on this issue.