I just installed D7 Beta3, and the latest 2.x version for Drupal 7 and I noticed that each character appears to be returned 6 times each. The guild master is displayed 6 times, and then the other ranks also have multiple displays of the same character peppered throughout the listing.

Everything is pretty much fresh install, the only change I made was to the default 20row display, I changed it to 50.

CommentFileSizeAuthor
#2 wowarmory.zip27.79 KBtrentoncolley

Comments

trentoncolley’s picture

Ok thanks for that information will look into it.

trentoncolley’s picture

Status: Active » Needs review
StatusFileSize
new27.79 KB

Ok since the dev code will take a while to update I've uploaded a zip file for you. This should fix it now. I also have added a nice module configuration option to empty the database so you don't have to go playing around with PHPMyAdmin or anything. Just check the checkbox and click save configuration and it will wipe everything that was in the database.

After doing that, just run cron again to update your rostery back to normal.

Let me know how it goes.

:)

trentoncolley’s picture

When the 7.x-2.x snapshot updates I've optimized (should have) the update method even more. Instead of making a SQL query to check if the player exists. It searches an array.

You can now check the time it took to update the armory. It is listed under the Reports > Recent Log Entries. It will list as "Armory successfully updated in 'x' seconds."

  • On my test environment I got 10 seconds for an empty guild and inserting the whole guild into the database. This entry was of 205 guild members.
  • For the update to check against the guild database and then update the player if he/she existed took 18.4 - 18.8 seconds. Which makes sense. This was for the same 205 entries except on update instead of first insert.

Just might be interesting to see what your times are to update your roster.

cjeanson’s picture

Issue appears to be resolved for my test drupal 7 site. Downloaded new version, emptied DB, ran cron and we're good.

Thanks

trentoncolley’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.