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

Installation issue- drupal 8.8.5 #1

Open
dhruva7 opened this issue Jul 3, 2020 · 11 comments
Open

Installation issue- drupal 8.8.5 #1

dhruva7 opened this issue Jul 3, 2020 · 11 comments

Comments

@dhruva7
Copy link

dhruva7 commented Jul 3, 2020

Hi I was trying to install the module, it was showing the following issue while trying to install.

Also the below rma workflow is not showing. Where I can add the workflow for the Commerce return item type entities

image

Error: Call to a member function getConfigDependencyName() on null in Drupal\Core\Entity\EntityDisplayBase->calculateDependencies() (line 325 of /home/dhruva/webapps/list/core/lib/Drupal/Core/Entity/EntityDisplayBase.php)
#0 /home/dhruva/webapps/list/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(384): Drupal\Core\Entity\EntityDisplayBase->calculateDependencies()

Thanks and regards

@dhruva7
Copy link
Author

dhruva7 commented Aug 10, 2020

There is another problem while going for the return request is:-

RuntimeException: The "customer_profile" plugin requires the "profile_scope" configuration key in Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase->validateConfiguration() (line 89 of /home/dhruva/webapps/ecommerce/modules/contrib/commerce/src/Plugin/Commerce/InlineForm/InlineFormBase.php).

@Danishkhurshid
Copy link

You can fix the installation problem by applying this patch on the core https://www.drupal.org/files/issues/2019-11-04/3062441-5.patch

@Danishkhurshid
Copy link

@dhruva7 For this issue i have raised a pull request.

@dhruva7
Copy link
Author

dhruva7 commented Sep 21, 2020

@Danishkhurshid thanks for the help dude, I have seen your pull request, is it solved. As I am also having the similar issue related to the return tab. The issue is with profile scope.
RuntimeException: The "customer_profile" plugin requires the "profile_scope" configuration key in Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase->validateConfiguration() (line 89 of /home/dhruva/webapps/iunoa/modules/contrib/commerce/src/Plugin/Commerce/InlineForm/InlineFormBase.php).

@Danishkhurshid
Copy link

@dhruva7 Yep. Since the PR hasn't been merged yet you can apply the pull request changes as a patch and It will work.

@dhruva7
Copy link
Author

dhruva7 commented Sep 22, 2020

Hi @Danishkhurshid , is your pull request working for drupal 8.9? or on your website as I am still getting the same error.

@Danishkhurshid
Copy link

@dhruva7 Try applying the pull request as patch. It is working for me.

@dhruva7
Copy link
Author

dhruva7 commented Sep 24, 2020

@Danishkhurshid bro, how did you manage the commerce return type entities missing workflow issue as I have uploaded in the screenshot?

Hi I was trying to install the module, it was showing the following issue while trying to install.

Also the below rma workflow is not showing. Where I can add the workflow for the Commerce return item type entities

image

Error: Call to a member function getConfigDependencyName() on null in Drupal\Core\Entity\EntityDisplayBase->calculateDependencies() (line 325 of /home/dhruva/webapps/list/core/lib/Drupal/Core/Entity/EntityDisplayBase.php)
#0 /home/dhruva/webapps/list/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(384): Drupal\Core\Entity\EntityDisplayBase->calculateDependencies()

Thanks and regards

@Danishkhurshid
Copy link

@dhruva7 oh! Actually we didn't require setting up the workflow for item entities. Our use case was pretty simple and we only have one order item type to work with. :) I will do some debugging around this.

@dhruva7
Copy link
Author

dhruva7 commented Sep 24, 2020

Thanks mate, also, there is another bug while accepting the return request- RuntimeException: The "customer_profile" plugin requires the "profile_scope" configuration key in Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormBase->validateConfiguration() (line 89 of /home/dhruva/webapps/iuooa/modules/contrib/commerce/src/Plugin/Commerce/InlineForm/InlineFormBase.php).

You are right, I think this module is perfect while need not to add any further edits.

@dhruva7
Copy link
Author

dhruva7 commented Sep 24, 2020

I think both the workflow is required. As in return page a customer have two options -1- Return Reason 2- Expected resolution.
If he selects only return reason than it will reload the same page and will happen nothing. In case we have added the expected resolution such as refund needed or exchange required than it shows the following errors.

Error: Call to a member function getEntity() on null in Drupal\commerce_rma\Plugin\views\field\CommerceReturnEditQuantity->viewsFormSubmit() (line 354 of /home/dhruva/webapps/iunoa/modules/commerce_rma-8.x-1.x/src/Plugin/views/field/CommerceReturnEditQuantity.php)

Notice: Undefined index: shipping_profile in Drupal\commerce_rma\Plugin\views\field\CommerceReturnEditQuantity->viewsFormSubmit() (line 352 of /home/dhruva/webapps/iunoa/modules/commerce_rma-8.x-1.x/src/Plugin/views/field/CommerceReturnEditQuantity.php)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants