joatuapp / joatu-v2

The JoatU application, version 2. Written in Ruby on Rails.
https://alpha.joatu.org
GNU General Public License v3.0
27 stars 5 forks source link

Overlapping Pod results in Uncreated Pod for both regions #152

Open joatu opened 5 years ago

joatu commented 5 years ago

I had a Pod for Verdun. I created a Pod that covered all of Quebec. Inviting a user into Sherbrooke, Quebec, Uncreated Pod. Inviting a user into Verdun, Uncreated Pod.

I will now destroy the Quebec Pod to remedy this situation, but the bug remains that overlapping pods will results in this error.

The larger intention is to work from geo-localisation based on the person and their specific offers (e.g. only offering billiards lessons from my home but willing to travel 2km to offer a piano lesson at your home) instead, so don't consider this bug high priority.

joatu commented 5 years ago

What I've Tested Step 1 - Added New Pod, Added New Hub, Modified Pod to include New Hub + Added New User to Pod - Everything Worked Step 2 - Added 2nd New Pod which covered all of Quebec Step 3 - Invited new user & Admin-Added New User to Quebec area not covered by a Pod - Fail - Brings user to uncreated Pod Step 4 - Invited new user & Admin-Added New User to Verdun area covered by both Pods - Fail - Brings user to uncreated Pod Step 5 - Delete Quebec Pod, Invite User+Admin Add User to Verdun - Fail - Brings user to uncreated pod Step 6 - Delete Verdun, Add New Verdun Pod (covering similar area) - Invite New User + Admin Add New User with correct postal code - Fail - Brings user to uncreated pod