fantasycalendar / FoundryVTT-ItemPiles

Other
34 stars 54 forks source link

[BUG] - [OSE] - Cannot populate merchant containe undefined 'exchangeRate' #473

Closed coldmug closed 10 months ago

coldmug commented 10 months ago

Have you tried to reset Item Piles' system settings? Yes

Describe the bug When adding items to a merchant pile nothing is added, and an error is sen in console: "TypeError: An error occurred while rendering MerchantApp 155. Cannot read properties of undefined (reading 'exchangeRate')"

Once a merchant has been created and items attempted to be added, double clicking the actor will not open the merchant sheet, issuing the above error in console.

To Reproduce Steps to reproduce the behavior:

  1. Create an actor, change to item pile. Modify to "merchant".
  2. Try to add an item in "Populate Items" tab.
  3. Item is not added, and error is seen in console (as above).

Expected behavior Last version that worked was 2.7.9.

  1. Double clicking the merchant actor should open merchant sheet.
  2. Adding items to merchant in "Populate Items" tab should add items.

Screenshots If applicable, add screenshots to help explain your problem.

Setup:

Active modules:

Additional context N/A

Haxxer commented 10 months ago

Should be fixed in the latest version.

coldmug commented 10 months ago

It works! Thank you for the quick fix!