Copied to clipboard

Flag this post as spam?

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


  • Søren Mastrup 122 posts 564 karma points c-trib
    Apr 29, 2020 @ 13:45
    Søren Mastrup
    0

    Error when adding a product without properties

    In Vendr (v1.1.1) I have added "rental" to the Product Uniqueness Property Aliases field.

    When adding a product without any properties everything goes fine. My basket now has:
    - Product A (no properties)

    When adding a product with the rental property everything is also fine. My basket now has:
    - Product A (no properties)
    - Product A (rental = true)

    I now add the first product without any properties.
    That breaks and gives me the error Sequence contains more than one element (https://i.imgur.com/uRynuOa.png)

    I would expect that the quantity of the first orderline would be increased by one.

    Am I missing something when adding the product or is it a bug?

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Apr 29, 2020 @ 14:00
    Matt Brailsford
    0

    Hey Soren,

    This sounds like a bug. Can you report it on the issue tracker please?

    https://github.com/vendrhub/vendr/issues

    Many thanks

    Matt

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Apr 29, 2020 @ 14:51
    Matt Brailsford
    100

    Hey Soren,

    I've reported an issue for it here https://github.com/vendrhub/vendr/issues/88

    I've also managed to find and resolve the issue locally so will be in the next 1.1.2 release.

    /Matt

  • Søren Mastrup 122 posts 564 karma points c-trib
    Apr 29, 2020 @ 17:15
    Søren Mastrup
    0

    You beat me to it - Thanks Matt!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies