Shop Editor

7 replies [Last post]
Posts: 1030

There seems to be a bug in the shop editor. When you add multiple items to the shop, only the one is saved to the database.

Posts: 263

Looking into this.

EDIT: Having a really time working this one out. When inserting about 8 items, about 5 of them get it, when trying to insert 2, 1/0 go in, etc.

Stepping through the code manually... I still have no idea what's going on o_O Seems they get inserted into the query queue and then get corrupted somehow or something? Stare

Not sure, going to keep investigating.

Posts: 147

@ Skye, (or Darkfrost) can you elaborate some more on the problem you are experiencing. For me the shops seem to work fine (not sure if I modified them It has been a long time ago since I touched that piece of code). Maybe I can help out a bit aswell

Let me know

Edit: Oww my bad, you are talking about the shop editor, never mind then, I never used that.

Posts: 263

Care to test it for me? Might just be something I've broken when merging updates from netgore over

Go into the Netgore editor, at the top select Screens > DbEditor. Go along to the shop tab, and select a shop, and a few items to it, and hit save. Now, reload that shop, and check that everything you added was there. Try with a couple different amounts of items

Thanks Laughing out loud

Posts: 147

@ Dark, I will check it for you when I get back home.

Posts: 147

Allright I tried to put different amount of items in the shop (using the editor). After saving and reloading only the last item of the bunch I added, shows up. (also in the database) It seems like the rest of the items never get stored into the database (except the last one in the list).

If I have some more time I will take a look at the code aswell.

I hope this info helps out a bit

Posts: 1030

That means it's a genuine Netgore bug. And a really weird one

JasDonor
Posts: 111

Skye wrote:
That means it's a genuine Netgore bug. And a really weird one

It's been around for a while, too. I think 3.4 doesn't have this issue. 3.5 is when it showed up. May have been 3.5 to 3.6. It was reported last year, but not on the bug tracker.