Report's location fields do not get autopopulated using rep's location information.

VERIFIED FIXED

Status

Mozilla Reps
reps.mozilla.org
VERIFIED FIXED
4 years ago
4 years ago

People

(Reporter: giorgos, Assigned: nemo)

Tracking

Details

(Whiteboard: [kb=1227965] )

(Reporter)

Description

4 years ago
When creating a new report, location fields of the report should get autopopulated using the location information from rep's profile. There is already a code snippet in master, but it's broken / incomplete. 

https://github.com/mozilla/remo/commit/6be202d71e3bd6d732c153fcbdd1190112fe46c8#diff-6d2911785124b6f5dd214d30c6d58259R126
(Reporter)

Updated

4 years ago
Whiteboard: [kb=1227965]
(Assignee)

Updated

4 years ago
Assignee: nobody → jgiannelos
Some additional clarifying info:

This bug is about the manual report creation form. 

1) On other location input forms (like event creation), we prepopulate the form with the user's location information. We don't do that on report creation, and we should.
2) On other location input forms we allow the user to change the string that is generated from the prepopulation OR from the reverse geocoding (if they click on the map) to any arbitrary string. We don't do that on report creation, and we should.

In summary, it should work like event creation works.
(Reporter)

Updated

4 years ago
OS: Linux → All
Hardware: x86_64 → All
(Reporter)

Updated

4 years ago
Status: NEW → ASSIGNED

Comment 2

4 years ago
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/932304facb0e7b445342df51d5642ee9561c46d0
[Fix bug 956254] Autopopulate report's location using user data.

https://github.com/mozilla/remo/commit/d901fd468c6f3fdb1568b3a1274e65f0b0c79497
Merge pull request #615 from johngian/956254-fix-reports-autopopulation-location

[Fix bug 956254] Autopopulate report's location using user data.

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Verified on stage that:

* Report's location field is editable.
* Report's location field gets auto populated from the user's profile location.
* Report is saved with the custom string in the location field.
Status: RESOLVED → VERIFIED
(Reporter)

Updated

4 years ago
Version: unspecified → next
(Reporter)

Updated

4 years ago
Version: next → 423
You need to log in before you can comment on or make changes to this bug.