-
Notifications
You must be signed in to change notification settings - Fork 23
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
Latest update breaks "reply", causes crash. #76
Comments
It seems like register_on_player_receive_fields isn't checking incoming fields and that should be done always. However problem itself wont go away by doing that and it would be good to find reason for this behavior. But then also I guess bug reports will be made if some of the buttons wont work correctly sometimes so user input validations / crash could be fixed first and take a look at root cause afterwards. (also link #70) |
looks like there is a message in the store with a Another option would be to sprinkle in a few |
Prior to moving the messages into mod-storage, I could use "/usr/bin/jq" to find weird messages, but now I would need to craft something custom.
|
You should still be able to do it just like before but just instead of reading file you have to read database, something like: psql -d mtdb -AXwtc "SELECT value FROM mod_storage WHERE key = 'key_you_want' LIMIT 1" | jq 'jq query you want' Sure not as straightforward as it was before, that's trade off for having better and safer storage system. |
@dennisjenkins75 Some things about replying were fixed, could you pull from master and tell us if it's still happening ? The fixes includes reply button in message view, notably. |
I updated EdenLost to 7449aac just now. I'll report if it crashes again. |
OK. If you have no problems for 2 days I consider it is fixed, okay ? |
I am unable to reliably reproduce this though. While trying to reproduce it, I observed that when a sender clicks "send" to send the mail, it just stays in their "Drafts" folder and is instantly delivered to the recipient (if both are logged in and in "/mail" at the same time) until they log out and then back in. Anyway, the stack trace might be useful.
The problem appeared ~7h ago after I updated to the latest mail mod. Sadly, the git revision history shows lots of changes, and without a repro, I am unable to bisect to find which change introduced this bug.
The text was updated successfully, but these errors were encountered: