sheeno73 / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

Buyouts don't display on all machines #411

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Heya, forum account is "Teroof", talked to you via PM on the forums.

I'll describe the problem again:

Procurement is located in a Dropbox location, thus updating everything I do 
from every place I login to Procurement.

Problem is, that for some reason, this seems to exclude buyouts. Not to say the 
"buyouts" file isn't updated, it's just that the buyout tags I've set for items 
on my laptop, are not displayed if I open Procurement on my personal desktop at 
home.
Furthermore, it is not just a display issue as it also doesn't gather 
information from my "buyouts" file when I load a forum template with items.

Attaching all requested files (Edited out the account details)

Original issue reported on code.google.com by LifshesO...@gmail.com on 11 Sep 2014 at 5:33

Attachments:

GoogleCodeExporter commented 9 years ago
I've had a look into this, are you perhaps running different versions of .NET 
between your laptop and desktop?

Original comment by stickymaddness on 13 Sep 2014 at 2:30

GoogleCodeExporter commented 9 years ago
Hmmm, now that you mention it, it's possible... The desktop only has 4.5 but my 
laptop, if not mistaken, has 2,3 and 4 installed...

Original comment by LifshesO...@gmail.com on 13 Sep 2014 at 3:58

GoogleCodeExporter commented 9 years ago
Then that is most likely the cause, the buyouts use a c# method called 
GetHashCode, which it uses to generate a uniqueId so that it can tell two items 
apart, buyout wise. 

There's a big disclaimer from Microsoft that it shouldn't really be used as a 
uniqueId, and one of the reasons for this is that it can generate different 
results for different versions on .NET.

If you update your laptop to 4.5 (ie: get both machines on the same max 
version), then it should be able to read buyouts from scratch. The only catch 
is that you will most likely have to clear your buyouts file and recreate your 
buyouts.

Original comment by stickymaddness on 13 Sep 2014 at 4:03

GoogleCodeExporter commented 9 years ago
I have now checked and it's actually the other way around - The laptop has 
4.5.1 but my desktop only has 4.5.

Could that mean I won't have to redo my buyouts? I fear I am not the tidiest on 
this league, redoing the buyouts might compel me to life-threatening actions, 
or, ya know, mild inconvenience for a few hours :)

Original comment by o...@trinity.co.il on 14 Sep 2014 at 5:23

GoogleCodeExporter commented 9 years ago
Haha, only way to know will be to update the desktop to 4.5.1. It will all come 
down to which machine the buyouts were made on.

Original comment by stickymaddness on 14 Sep 2014 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by stickymaddness on 14 Oct 2014 at 4:58