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

ManyToMany generation doesn't work #53

Closed
htuscher opened this issue Jan 10, 2023 · 0 comments
Closed

ManyToMany generation doesn't work #53

htuscher opened this issue Jan 10, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@htuscher
Copy link

PHP Version

8.1

Shopware Version

6.4.18.0

Actual behaviour

The generation of a ManyToManyAssociationField fails.

bin/console frosh:make:definition Onedrop\\Test\\Entity\\PartyDefinition

 New property name (press <return> to stop adding fields):
 > participants

 Field type [StringField]:
 > ManyToManyAssociationField

 Reference Class:
 > Shopware\Core\Checkout\Customer\CustomerDefinition


In EntityLoader.php line 109:
                                                                           
  Warning: Undefined property: PhpParser\Node\Expr\ClassConstFetch::$args  
                                                                           

frosh:make:definition <namespace>

Expected behaviour

It should generate a ManyToMany Definition and reference that properly.

Steps to Reproduce?

Try to generate a ManyToManyAssociationField with reference to CustomerDefinition.

@htuscher htuscher added the kind/bug Something isn't working label Jan 10, 2023
@shyim shyim closed this as completed in 12c79fa Feb 22, 2023
shyim added a commit that referenced this issue Feb 22, 2023
github-actions bot pushed a commit that referenced this issue Feb 22, 2023
shyim added a commit that referenced this issue Feb 22, 2023
…f7264e0bdb0488c4a4940c9c0dd70bbf7

fix: customer entity loading, fixes #53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant