Inventory Data

9 replies. Last post: July 9, 2014 10:47 PM by Yudi
Tags :
  • (None)
Bug Submission
  • New Discussion
  • New Question
  • New Product Feedback
Product Name
Crosslight
Product Version
1.0.5000
Build Version
60
Status
Resolved
Importance
Normal
Browser
    Operating System
      NET Version
        Dev. Environment
          Dev. Stage

            Description

            Hello Crosslight Team,

            any sample which uses inventory data crashes when the culture on the device is not "US" or similar.

            Step to Reproduce

            Change the culture to "German" and try it.


            Actual Result

            Crash. Runtime Error.

            Expected Result

            Please, change the code in the ItemRepository.cs where the price is parsed from XML data to the following:

            Price = decimal.Parse(x.Element("Price").Value, CultureInfo.InvariantCulture),


            All times are GMT -5. The time now is 4:53 PM.
            Previous Next