Skip to content

Commerce Datatype Stock isn't saving in splitview #708

@cryothic

Description

@cryothic

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

13.2.2

Bug summary

2 weeks ago I mentioned a sync problem with the price field while in splitview. (#695)
I mentioned Umbraco Commerce: Stock was syncing, but I think I've mixed some things up, because a customer was pointing out it didn't sync. And when I try it now (either in 10.x versions or 13.2.2) it doesn't sync in splitview.
So I guess this field has the same problem?

So to summarise: when you have a product open in 2 languages using the splitview, the stock isn't synced and saved in the 'other' language. In my case this field is not-vary-by-culture, so it remains readonly in the other language.

Specifics

No response

Steps to reproduce

  • Have a site with (at least) 2 languages
  • Have a product doctype with a Textstring-field (for verification), and a Umbraco Commerce: Stock field.
  • Set the textfield to "vary by culture", the stock field is NOT "vary by culture".
  • Open the product page in the content editor
  • Open the second language via split view
  • Enter a text in the text field
  • Enter a stockin the stock field
  • Click "Save and publish"

Expected result / actual result

I would expect after saving, the new values are in place.

But the stock value isn't saved.

Dependencies

No response


This item has been added to our backlog AB#52902

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions