Locations Plugin displays [object Object] instead of locations.

Environment

Discourse Version: 3.2.0.beta4-dev

Plugin Commit: 6.3.15 ee6a344

Steps to Reproduce

Go to a user profile. Enter a location for their Map Location.

You’ll see something like this:

Screenshot 2023-11-10 at 2.02.18 PM

Note: If you select one, the dropdown will disappear and a proper address will display.

Example

https://labs.freethevaccine.org/u/redv/preferences/profile

Private forum

Logs

Message

Deprecation notice: SiteSetting.min_trust_level_for_here_mention has been deprecated. Please use SiteSetting.here_mention_allowed_groups instead. (removal in Discourse 3.3)
At /var/www/discourse/lib/site_setting_extension.rb:202:in public_send

Backtrace

/var/www/discourse/lib/discourse.rb:1030:in deprecate' /var/www/discourse/lib/site_settings/deprecated_settings.rb:28:in block (2 levels) in setup_deprecated_methods’
/var/www/discourse/lib/site_setting_extension.rb:202:in public_send' /var/www/discourse/lib/site_setting_extension.rb:202:in block in all_settings’
/var/www/discourse/lib/site_setting_extension.rb:198:in each' /var/www/discourse/lib/site_setting_extension.rb:198:in map’
/var/www/discourse/lib/site_setting_extension.rb:198:in all_settings' /var/www/discourse/app/controllers/admin/site_settings_controller.rb:9:in index’
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.7/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.7/lib/abstract_controller/base.rb:215:in process_action’

Env

HTTP HOSTS: labs.freethevaccine.org

1 Like

Locations is currently in broken state due to a massive refactor in core.

I’m currently working on all the issues but cannot promise a timeline.

Thanks for reporting and your interest in our free offering.

1 Like

@SteveLambert I partially fixed this, can you please update and confirm?

I didn’t have a lot of time to devote to just this issue, but it’s definitely better.

(Note the fix is only available on tests-passed and not stable because of other fixes deployed at the same time were very significant and need beta testing).

@SteveLambert gentle reminder