Skip to content
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

Announcement emails check box does not work #242

Closed
tripleee opened this issue Aug 16, 2017 · 4 comments
Closed

Announcement emails check box does not work #242

tripleee opened this issue Aug 16, 2017 · 4 comments
Labels
type: bug Buggy or otherwise incorrect behaviour.

Comments

@tripleee
Copy link
Member

tripleee commented Aug 16, 2017

I discovered this check box in my profile on Metasmoke, but attempting to tick it produces a backtrace.

Encoding::UndefinedConversionError in UsersController#set_announcement_emails
"\x8B" from ASCII-8BIT to UTF-8

("Extracted source" box can't be properly copy/pasted; points to line 17 of ... some file, apparently

ApiChannel.broadcast_to channel, event_type: type, event_class: event_class, object: object_data
)

Rails.root: /var/railsapps/metasmoke/releases/20170815214708

Application Trace | Framework Trace | Full Trace

app/models/concerns/websocket.rb:17:in broadcast_event' app/models/concerns/websocket.rb:25:in broadcast_update'
app/controllers/users_controller.rb:81:in `set_announcement_emails'

Request

Parameters:

{"utf8"=>"✓", "authenticity_token"=>"JDZaofnge....deadbeef==", "emails"=>"on", "commit"=>"Save"}

@tripleee
Copy link
Member Author

tripleee commented Aug 16, 2017

It's also not clear what these announcement emails are, is this documented somewhere?

UPDATE: Maybe add a link here: https://metasmoke.erwaysoftware.com/announcements

@tripleee
Copy link
Member Author

I also get basically the same error if I attempt to enable 2FA.

@ArtOfCode- ArtOfCode- added the type: bug Buggy or otherwise incorrect behaviour. label Aug 16, 2017
@ArtOfCode-
Copy link
Member

@tripleee Is this fixed?

@tripleee
Copy link
Member Author

tripleee commented Aug 26, 2017

Seems to be; I successfully signed up for announcements and enabled 2FA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Buggy or otherwise incorrect behaviour.
Development

No branches or pull requests

2 participants