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

Can't delete discount. #411

Open
MariusOlbert opened this issue Mar 16, 2023 · 10 comments
Open

Can't delete discount. #411

MariusOlbert opened this issue Mar 16, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@MariusOlbert
Copy link

When I am trying to delete on discount on its own page it gives a message that it failed to delete entry. When I trying to delete discount on listing page it gives a message Item successfully processed but discount still there.
discount-delete
I am using Umbraco 11.2.0 and Vendr 3.0.10

@MariusOlbert MariusOlbert added the bug Something isn't working label Mar 16, 2023
@mattbrailsford
Copy link
Contributor

Hi Marius

Unfortunately I'm unable to replicate this. I've upgraded my demo install I use for development to 11.2.0 and I'm successfully able to delete discounts (and gift cards)

What database are you using? Are you seeing any error logs? Do you have any event handlers hooked up that could be causing any problems?

@MariusOlbert
Copy link
Author

I am using SQL EXPRESS and there is no errors related to it. I do not have any handlers hooked up to it.

@mattbrailsford
Copy link
Contributor

Ok, well then I'm not sure what else could be at play.

If you clone and run the demo store project, do you have the same issue? https://github.com/vendrhub/vendr-demo-store

@MariusOlbert
Copy link
Author

No I can't replicate on demo store. :(

@MariusOlbert
Copy link
Author

One more thing, I can delete on my local machine but can not on live site.

@mattbrailsford
Copy link
Contributor

So what is different between local and live?

@MariusOlbert
Copy link
Author

By the looks of it there is none. I even created new database and did a new import but on live it is not allowing to delete gift/discount and there are no errors in the logs.

@mattbrailsford
Copy link
Contributor

Are you sure all your local files are deployed correctly? The fact it works locally suggests it's something in your setup 🤔

@MariusOlbert
Copy link
Author

I have another vendr build and it works with no issues only different it is umbraco version. I will try to investigate further and compare in more detail. Thanks Matt, love vendr really fun to build with it

@mattbrailsford
Copy link
Contributor

No problem. Do let me know what you find. It's these kind of bugs that are really tricky to resolve when it works in one area and not another. Hopefully you can get to the bottom of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants