Problem/Motivation

Following installing and enabling 'Cloud 8.0.0-beta1', drush command output the following error message:
"Base route not available for route entity.field_config.aws_cloud_stack_field_edit_form"

Steps to reproduce

Enabled Cloud 8.0.0-beta1

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork cloud-3553715

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

robertmartin1961 created an issue. See original summary.

robertmartin1961’s picture

Version: 8.0.0-beta1 » 7.0.0
baldwinlouie’s picture

Status: Active » Postponed (maintainer needs more info)

@robertmartin1961

Can you supply a little bit more information about this bug? Did a `drush cr` resolve the issue?

I tried to reproduce using 7.0.0 and 8.0.0-beta1. I was not able to reproduce the issue.

`drush status` for Cloud module 8.0.0-beta1

Baldwin-16-MBpro:contrib baldwin$ ddev drush status
Drupal version   : 11.3.3                                     
Site URI         : https://co-debug.ddev.site                 
DB driver        : mysql                                      
DB hostname      : db                                         
DB port          : 3306                                       
DB username      : db                                         
DB name          : db                                         
Database         : Connected                                  
Drupal bootstrap : Successful                                 
Default theme    : olivero                                    
Admin theme      : claro                                      
PHP binary       : /usr/bin/php8.3                            
PHP config       : /etc/php/8.3/cli/php.ini                   
PHP OS           : Linux                                      
PHP version      : 8.3.25                                     
Drush script     : /var/www/html/vendor/bin/drush.php         
Drush version    : 13.7.1.0                                   
Drush temp       : /tmp                                       
Drush configs    : /var/www/html/vendor/drush/drush/drush.yml 
Install profile  : standard                                   
Drupal root      : /var/www/html/docroot                      
Site path        : sites/default                              
Files, Public    : sites/default/files                        
Files, Private   : /var/www/files                             
Files, Temp      : /tmp                                       
Drupal config    : sites/default/files/sync                   

Baldwin-16-MBpro:contrib baldwin$ ddev drush pm-list | grep cloud
  Cloud                                   Cloud (cloud)                                                                     Enabled    8.0.0-beta1     
  Cloud                                   Cloud Budget (cloud_budget)                                                       Disabled   8.0.0-beta1     
  Cloud                                   Cloud Orchestrator Worker (cloud_cluster_worker)                                  Disabled   8.0.0-beta1     
  Cloud                                   Cloud Dashboard (cloud_dashboard)                                                 Disabled   8.0.0-beta1     
  Cloud service providers                 AWS Cloud (aws_cloud)                                                             Disabled   8.0.0-beta1     
  Cloud service providers                 Cloud Orchestrator (cloud_cluster)                                                Disabled   8.0.0-beta1     
                                          Bootstrap for Cloud (bootstrap_cloud)                                             Disabled   7.0.0-beta1     
Baldwin-16-MBpro:contrib baldwin$ 

`drush status` for Cloud module 7.0.0

 
Baldwin-16-MBpro:contrib baldwin$ ddev drush status
Drupal version   : 10.6.3                                     
Site URI         : https://co-debug.ddev.site                 
DB driver        : mysql                                      
DB hostname      : db                                         
DB port          : 3306                                       
DB username      : db                                         
DB name          : db                                         
Database         : Connected                                  
Drupal bootstrap : Successful                                 
Default theme    : olivero                                    
Admin theme      : claro                                      
PHP binary       : /usr/bin/php8.3                            
PHP config       : /etc/php/8.3/cli/php.ini                   
PHP OS           : Linux                                      
PHP version      : 8.3.25                                     
Drush script     : /var/www/html/vendor/bin/drush             
Drush version    : 12.5.3.0                                   
Drush temp       : /tmp                                       
Drush configs    : /var/www/html/vendor/drush/drush/drush.yml 
Install profile  : standard                                   
Drupal root      : /var/www/html/docroot                      
Site path        : sites/default                              
Files, Public    : sites/default/files                        
Files, Private   : /var/www/files                             
Files, Temp      : /tmp         
                              
Baldwin-16-MBpro:contrib baldwin$ ddev drush pm-list | grep cloud
  Cloud                                   Cloud (cloud)                                                                     Enabled    7.0.0           
  Cloud                                   Cloud Budget (cloud_budget)                                                       Disabled   7.0.0           
  Cloud                                   Cloud Orchestrator Worker (cloud_cluster_worker)                                  Disabled   7.0.0           
  Cloud                                   Cloud Dashboard (cloud_dashboard)                                                 Disabled   7.0.0           
  Cloud service providers                 AWS Cloud (aws_cloud)                                                             Enabled    7.0.0           
  Cloud service providers                 Cloud Orchestrator (cloud_cluster)                                                Disabled   7.0.0           
                                          Bootstrap for Cloud (bootstrap_cloud)                                             Disabled   6.0.8           
Baldwin-16-MBpro:contrib baldwin$ 
yas’s picture

Version: 7.0.0 » 8.x-dev
Assigned: Unassigned » yas
Status: Postponed (maintainer needs more info) » Needs work

@robertmartin1961 @baldwinlouie

I'll take this issue and work on a fix for 8.x-dev.

yas’s picture

Status: Needs work » Needs review

The fix is ready in merge request !2381: https://git.drupalcode.org/project/cloud/-/merge_requests/2381

It removes the invalid AWS Cloud Field UI base route declarations and adds regression coverage for route rebuilding with Field UI and Configuration Translation enabled.

I will merge it after the test pipeline passes.

yas’s picture

Status: Needs review » Reviewed & tested by the community

Pipeline #940489 passed all 2,259 tests, so I’m moving this issue to RTBC: https://git.drupalcode.org/project/cloud/-/pipelines/940489

yas’s picture

I’ll merge the MR into 8.x and close this issue as Fixed.

  • yas committed 58e90320 on 8.x
    Issue #3553715 by yas: Fix invalid AWS Cloud field UI base routes
    
yas’s picture

Status: Reviewed & tested by the community » Fixed

Merged into 8.x. Closing this issue as Fixed.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

yas’s picture

Version: 8.x-dev » 9.x-dev
Status: Fixed » Needs work

The fix was merged into 8.x, but it was not ported to 9.x. I am reopening this issue and preparing a clean 9.x merge request from the canonical 9.x branch.

yas’s picture

Status: Needs work » Needs review

The clean 9.x port is ready in MR !2388.

  • Removes invalid AWS Cloud Field UI base route declarations from both legacy annotations and PHP attributes.
  • Adds functional regression coverage for route rebuilding with Field UI and Configuration Translation enabled.

Please review the MR. Once the pipeline passes, I will move this issue to RTBC.

yas’s picture

Status: Needs review » Reviewed & tested by the community

Pipeline #942273 passed all automated checks, including the regular and next-major PHPUnit suites (3,025 tests reported). Moving this issue to RTBC.

The fix is already in 8.x. I’ll merge MR !2388 into 9.x; and close this issue as Fixed.

  • yas committed 44071616 on 9.x
    Issue #3553715 by yas: Port invalid AWS Cloud field UI base route fix to...
yas’s picture

Status: Reviewed & tested by the community » Fixed

MR !2388 has been Squash merged into 9.x as commit 44071616. The fix is now available in both 8.x and 9.x. Closing this issue as Fixed.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

ai_yas changed the visibility of the branch 9.x to hidden.

Status: Fixed » Closed (fixed)

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