Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation when empty email submitted #158

Open
yaroslavbr opened this issue May 7, 2023 · 0 comments
Open

Error during installation when empty email submitted #158

yaroslavbr opened this issue May 7, 2023 · 0 comments

Comments

@yaroslavbr
Copy link
Contributor

yaroslavbr commented May 7, 2023

Summary
Error during installation when empty email submitted

Steps to reproduce

  • start installation process according oro documentation
  • execute: bin/console oro:install --env=dev --timeout=2000
  • wait till Administration setup step
  • tap Enter while Email field prompted (so just leave it empty)

Actual Result
Installation command breaks with an error:

In InstallCommand.php line 346:
                                                                    
  trim(): Argument #1 ($string) must be of type string, null given  

Screenshot from 2023-05-07 22-54-47

Expected Result
Validation for Empty email field should be applied. Something is done for valid url. Install command should not break.

Details about your environment

  • OroCommerce version: 5.2
  • PHP version: 8.2
  • Database PostgreSQL (from oro docker)

Additional information
While second run installation command it fails with other error:

 [ERROR] No result was found for query although at least one row was expected.  

The command '/usr/bin/php8.2' 'bin/console' 'oro:organization:update' 'default' '--organization-name=YARO' '--env=prod' terminated with an exit code: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant