Closed Bug 956254 Opened 10 years ago Closed 10 years ago

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

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: giorgos, Assigned: nemo-yiannis)

References

Details

(Whiteboard: [kb=1227965] )

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
Whiteboard: [kb=1227965]
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.
OS: Linux → All
Hardware: x86_64 → All
Status: NEW → ASSIGNED
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.
Status: ASSIGNED → RESOLVED
Closed: 10 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
Version: unspecified → next
Version: next → 423
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.