Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • George Logan 36 posts 168 karma points
    Mar 15, 2022 @ 16:30
    George Logan
    0

    Order Handlers not working after upgrade

    Afternoon,

    Umb V 8.18 Vendr 2.1.1

    Just updated at the weekend. I've run in to issue where update and finalised order handlers are not being hit - has anyone else had the same issue? Able to shed any light on what I am missing?

    enter image description here enter image description here enter image description here

    No issues highlighted in the code as you can see from the screens.

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Mar 15, 2022 @ 16:41
    Matt Brailsford
    0

    Hey George,

    I think you have something that isn't upgraded somewhere as there is no VendrWebComposer for your composer to run after in v2 so something isn't right there.

    Maybe clear your solution and rebuild it to make sure no rogue v1 files are hanging around.

    Matt

  • George Logan 36 posts 168 karma points
    Mar 15, 2022 @ 16:48
    George Logan
    0

    Hey Matt,

    Removed VendrWebComposer now.

    Still nothing happening on update or finalise of order.

    Cheers,

    George

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Mar 15, 2022 @ 17:11
    Matt Brailsford
    0

    There isn't a VendrWebComposer but there is a VendrComposer which you should compost after (sorry, just realised the docs on this were wrong so I've updated them https://vendr.net/docs/core/2.1.0/umbraco-v8/key-concepts/dependency-injection/)

    Still, if your solution thought that was ok then something is still a little off as it should have given you an error.

    You can try adding the [ComposerAfter(typeof(VendrComposer))] but like I say, I still think something is off in your solution.

  • George Logan 36 posts 168 karma points
    Mar 15, 2022 @ 19:40
    George Logan
    0

    Hey Matt,

    Yeah, it would appear so - enter image description here

    But Vendr.Web is installed on all projects within the solution...

    enter image description here

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Mar 16, 2022 @ 09:11
    Matt Brailsford
    0

    Vendr.Web is fine, this is a v2 package. The one that got removed is Vendr.Core.Web.

    But VendrWebComposer was removed as part of the v2 upgrade so there is now only VendrComposer which is why it looks like something funky is happening because VS should never have said that was OK, so either it's remembering something it shouldn't, or it's lying 🤷‍♂️

Please Sign in or register to post replies

Write your reply to:

Draft