You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have a Vendure setup using the Multivendor Plugin initially available in Github. We have done modifications to the plugin, however none of those seem to be the reason for this impact in the experience. This bug relates to two scenarios that are happening when I log in as a Seller, which would have the following permissions on it's own channel:
When logging in as this Seller's Administrator, if I enter the orders page, I get the following error:
If I then refresh the page the error disappears and I can then see the orders.
The second scenario happens when entering the Product Detail page. It doesn't log any error in the console, however when I enter the page of a product, or even when clicking the "Create New Product" button. The card with the additional fields doesn't show, only after refreshing the page can I see the additional fields card.
This behaviour only seems to happen when I enter for the first time in the session. However it's not very nice to have to tell the sellers that they have to refresh the page when this happens.
To Reproduce
Steps to reproduce the behavior:
Create a Vendure setup and add the Multivendor Plugin
Create a seller channel and administrator with the permissions mentioned above
Enter the seller's administrator account
Go to the orders page and see the error
Go to the Products section and click the button "Create New Product"
See that the additional fields are not there (Previously add custom fields to the product entity in the configuration)
Refresh the page to see the additional fields card
Expected behavior
When a seller's administrator logs in, it should be able to go to the product's page and see the additional fields card without having to refresh the page. Furthermore, the administrator should be able to go the order's page and see the list of orders, without having to refresh the page.
Environment (please complete the following information):
@vendure/core version: 2.3.0
Nodejs version 22.11.0
Database (mysql/postgres etc): postgres
The text was updated successfully, but these errors were encountered:
margamorais
changed the title
Error when loading Orders and Custom Fields in Product View when logging in as another user than the SuperAdmin
[Admin UI, Multivendor Plugin] Error when loading Orders and Custom Fields in Product View when logging in as another user than the SuperAdmin
Jan 13, 2025
I’m not a Vendure expert, but I’ve been working with Vendure for the last 2 years. I have a Vendure setup using the Multi-vendor plugin as well. I tried to follow your steps to reproduce the same error, but I couldn’t replicate it.
Above is my Administrator's roles setup.
Here is the order list page when logged in as a seller administrator.
My @vendure/core version is 3.0.6. You might want to consider updating yours and trying again. 😊
Describe the bug
We have a Vendure setup using the Multivendor Plugin initially available in Github. We have done modifications to the plugin, however none of those seem to be the reason for this impact in the experience. This bug relates to two scenarios that are happening when I log in as a Seller, which would have the following permissions on it's own channel:
When logging in as this Seller's Administrator, if I enter the orders page, I get the following error:
If I then refresh the page the error disappears and I can then see the orders.
The second scenario happens when entering the Product Detail page. It doesn't log any error in the console, however when I enter the page of a product, or even when clicking the "Create New Product" button. The card with the additional fields doesn't show, only after refreshing the page can I see the additional fields card.
This behaviour only seems to happen when I enter for the first time in the session. However it's not very nice to have to tell the sellers that they have to refresh the page when this happens.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When a seller's administrator logs in, it should be able to go to the product's page and see the additional fields card without having to refresh the page. Furthermore, the administrator should be able to go the order's page and see the list of orders, without having to refresh the page.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: