Locations are not interpolated into user profile

Environment

Discourse Version: Discourse Version: 2.7.0.beta3 ( f5b18e2a31 )

Plugin Commit: d339130

Other Plugins
discourse latest-release +132
babble ea961a4
discourse-akismet 52cdb86
discourse-assign 4e57104
discourse-auto-deactivate 5276db3
discourse-cakeday a1aabb2
discourse-canned-replies 48c5f1b
discourse-checklist 3f96f29
discourse-custom-wizard d339130
discourse-data-explorer 8ab94e3
discourse-formatting-toolbar 5d38040
discourse-locations d95c1bb
discourse-oauth2-basic df0b2c5
discourse-patreon d051a4c
discourse-question-answer ba64ba9
discourse-shared-edits 9841bc5
discourse-spoiler-alert de1b33f
discourse-user-notes 9bb2fa6
discourse-teambuild 9120e41
discourse-voting ca82bab
discourse-whos-online 27578a0
docker_manager 9feb5cb
retort 2707627

Steps to Reproduce

I will upload the .json for this one.

  1. Create a wizard with a step and a field.
  2. For the field:
  • type: Location (Location Plugin)
  1. Add an action
  • type: update profile
  • run after: wizard completion
  • map the user field to Location and the wizard field for the field you created above.

Run the wizard and check if the location is updated.

Example

member-only site, but will upload screenshots and the wizard json

Logs

From Wizards > Logs

  wizard: welcome_photo_location; action: update_profile; user: Steve_Lambert; success: updated profile fields - fields: avatar,location

JSON

the-salk-labs-wizards-1613426337.json (2.8 KB)

Screenshot

Thanks for the report, however this is a feature request rather than a bug. I’ll have to specifically look at this intereaction between the two plugins. The only tested profile location interpolation is the core string location (i.e. non Locations plugin location). Will attempt to look at that soon.

Ok cool.

I have to be honest, it’s not critical I am just kinda obsessed with getting a map going of all the users around the world on this pair of sites I’m running. Getting it into a wizard would make that much simpler to explain to newbies…

1 Like