Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switched to 1.8.1 and now all versions are broken #22

Closed
RhaegarG opened this issue Aug 25, 2014 · 5 comments
Closed

Switched to 1.8.1 and now all versions are broken #22

RhaegarG opened this issue Aug 25, 2014 · 5 comments

Comments

@RhaegarG
Copy link

Application Version: Procurement 1.8.0CurrentCulture: en-US
CurrentUICulture: en-US
System.ArgumentException: An item with the same key has already been added.
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer)
at POEApi.Model.Stash.buildItemsByTab()
at POEApi.Model.Stash.GetItemsByTab(Int32 tabId)
at Procurement.Controls.StashControl.refresh()

@Stickymaddness
Copy link
Member

Have you by chance recently acquired more hideout tabs (2 or more) ?

@RhaegarG
Copy link
Author

Yes

@Stickymaddness
Copy link
Member

Yeah that's the cause of the issue, and it's why older versions will be broken too. I was only able to test with 1 hideout tab, since I spend all my time working on Procurement I haven't actually got that far in the game!

As a result, the tab data that comes back needs to be filtered, and the code I added in 1.8.0 and 1.8.1 isn't sufficient.

In a nutshell, I know what the cause is, I just need some time to work on a fix.

@RhaegarG
Copy link
Author

Yeah I even emptied the tabs by dumping it all in the instance so there isn't any fixing this.

@Stickymaddness
Copy link
Member

Procurement 1.8.2 has been released, which fixes this issue.

https://github.com/Stickymaddness/Procurement/releases/tag/1.8.2

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants