ReadOnlyException spam on joining read-only instance #136

  • Defect
  • Accepted
Assigned to _ForgeUser1494830
  • _ForgeUser9883694 created this issue May 3, 2014

    What steps will reproduce the problem?

    1. Set up 1.3beta1 read-only instance with "database-read-only: true" and hook it up to the main zPerms DB
    2. Have a player join

    What is the expected output? What do you see instead?

    Expected output is for nothing to happen, instead, there's a bit of console spam that doesn't seem to affect anything.

    What version of the product are you using?


    Do you have an error log of what happened?

    Please provide any additional information below.

    updateDisplayName should not be called if this is readonly.

  • _ForgeUser9883694 added the tags New Defect May 3, 2014
  • _ForgeUser9883694 edited description May 3, 2014
  • _ForgeUser1494830 posted a comment May 3, 2014

    Thanks for catching this. It's because the stored display names are updated whenever someone logs in and I forgot about the read-only switch.

    Unfortunately there's no workaround. Once I have a fix, I'll update with the dev build #.

  • _ForgeUser1494830 removed a tag New May 3, 2014
  • _ForgeUser1494830 added a tag Accepted May 3, 2014
  • _ForgeUser1494830 posted a comment May 3, 2014

    zPermissions-standalone #528 / commit cd8fada should have this fixed.

    Thanks again!

  • _ForgeUser9883694 posted a comment May 3, 2014

    Yep, thanks!

To post a comment, please login or register a new account.