You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/kaminski/src/govready/govready-q/siteapp/views.py" in accept_invitation
1337. response = accept_invitation_do_accept(request, inv)
File "/Users/kaminski/src/govready/govready-q/siteapp/views.py" in accept_invitation_do_accept
1369. if inv.is_expired():
File "/Users/kaminski/src/govready/govready-q/siteapp/models.py" in is_expired
1097. if not self.target.is_invitation_valid(self):
Exception Type: AttributeError at /invitation/accept/DuvGDOVet4IM0LM2ChyVGmxO
Exception Value: 'Portfolio' object has no attribute 'is_invitation_valid'
The text was updated successfully, but these errors were encountered:
What happened: I got a 500 error,
'Portfolio' object has no attribute 'is_invitation_valid'
, after migration from0.8.6
to0.9.0.rc-005
.What I expected: No 500 error. Existing user to be able to accept invite into third user's portfolio based on my invite.
What I did:
0.8.6
instancequickstart.sh
to populatetest1
to one of the projects0.9.0.rc-005
, did the migration, restarted the serverAshley
's portfolio+ Grant access to member
test1
user and granted accesstest1
, went to the invite linkError output below.
AttributeError at /invitation/accept/DuvGDOVet4IM0LM2ChyVGmxO
'Portfolio' object has no attribute 'is_invitation_valid'
['/Users/kaminski/src/govready/govready-q', '/Users/kaminski/src/govready/govready-q/env/lib/python37.zip', '/Users/kaminski/src/govready/govready-q/env/lib/python3.7', '/Users/kaminski/src/govready/govready-q/env/lib/python3.7/lib-dynload', '/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages']
Traceback:
File "/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/Users/kaminski/src/govready/govready-q/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/kaminski/src/govready/govready-q/siteapp/views.py" in accept_invitation
1337. response = accept_invitation_do_accept(request, inv)
File "/Users/kaminski/src/govready/govready-q/siteapp/views.py" in accept_invitation_do_accept
1369. if inv.is_expired():
File "/Users/kaminski/src/govready/govready-q/siteapp/models.py" in is_expired
1097. if not self.target.is_invitation_valid(self):
Exception Type: AttributeError at /invitation/accept/DuvGDOVet4IM0LM2ChyVGmxO
Exception Value: 'Portfolio' object has no attribute 'is_invitation_valid'
The text was updated successfully, but these errors were encountered: