What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
halp how can I deal with ```Spryker\Zed\Oms\Business\Exception\LockException - Exception: State mach
halp
how can I deal with
Spryker\Zed\Oms\Business\Exception\LockException - Exception: State machine trigger is locked. Propel exception: Failed to execute insert statement for Orm\Zed\Oms\Persistence\SpyOmsStateMachineLock. Error: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "spy_oms_state_machine_lock-identifier"
Comments
-
There is a table called
spy_oms_state_machine_lock
. The fact that there still is an entry should tell you, that some oms transition failed.
Check table columnspy_oms_transition_log.error_message
for errors.
Once you're sure that the error is fixed, you can delete the lock entry fromspy_oms_state_machine_lock
and go ahead.0 -
and what if there is no error for item causing trouble?
0 -
Don't know. Might be that oms execution was interrupted somehow. Where does the error occur, locally?
Lock entries are usually deleted after successful transition.0 -
well, made a nasty workaround (one of those that make you want to wash your hands really well) and it seems that indeed there was an issue with transition but for some reason said issue was not logged in transition log and lock was not lifted and it prevented other timed events from executing
0 -
but otherwise, yeah, great software
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 921 Developer Corner
- 781 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random