Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Attempting to "Edit Unit" leads to Page Doesn't Exist Error #252

Open
mzagaja opened this issue Aug 4, 2016 · 1 comment
Open

Attempting to "Edit Unit" leads to Page Doesn't Exist Error #252

mzagaja opened this issue Aug 4, 2016 · 1 comment

Comments

@mzagaja
Copy link
Member

mzagaja commented Aug 4, 2016

Steps to reproduce:

  1. Create a new user using the regular e-mail method after entering a bill
  2. Click "My Profile"
  3. Next to "My Home" click the number "1"
  4. Click "Edit" which leads to https://www.enersaveapp.org/units/[number]/edit
  5. See the error
@kvotolato3 kvotolato3 self-assigned this Aug 5, 2016
@kvotolato3 kvotolato3 removed their assignment Aug 23, 2016
@CJStadler
Copy link

This seems to be a fairly complicated issue. Going to dump what I've found so far here for future reference:

  1. When a guest creates a bill a unit is also created. Is this necessary? It feels like a placeholder that is going to need to be edited anyway.
  2. No building is created with this unit. Should one be? It feels like a unit should require a building.
  3. When the user creates an account, they inherit the unit.
  4. Attempting to edit the unit causes an error because there is no associated building. Perhaps the user should not be allowed to edit the unit until they have created a building?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants