Skip to content

SyntaxError on utm_trackable.rb with version 0.34.1 #1909

@dcelasun

Description

@dcelasun

OS & Hardware
K8s

Version
0.34.1

Describe the bug
Trying to open the account page results in the following syntax error:

/var/app/app/controllers/concerns/utm_trackable.rb:33: syntax error found
31 | UTM_PARAMS.each { |param| session.delete(param) }
32 | end
> 33 | end
| ^~~ unexpected 'end', ignoring it

Downgrading to 0.34.0 fixes it.

To Reproduce

  • Open Dawarich
  • Go to the account page
  • See error

Expected behavior

  • I should see the account page

Screenshots
Image

Logs

dawarich   
dawarich SyntaxError (/var/app/app/controllers/concerns/utm_trackable.rb:33: syntax error found
dawarich   31 |     UTM_PARAMS.each { |param| session.delete(param) }
dawarich   32 |   end
dawarich > 33 | end
dawarich      | ^~~ unexpected 'end', ignoring it
dawarich ):
dawarich   
dawarich app/controllers/concerns/utm_trackable.rb:33: syntax error found
dawarich app/controllers/users/registrations_controller.rb:4:in '<class:RegistrationsController>'
dawarich app/controllers/users/registrations_controller.rb:3:in '<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions