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

Circular dependency error in event info #163

Open
ggarnier opened this issue Aug 24, 2018 · 0 comments
Open

Circular dependency error in event info #163

ggarnier opened this issue Aug 24, 2018 · 0 comments
Labels

Comments

@ggarnier
Copy link
Member

For some events, the event info page raises a circular dependency error. This test reproduces the error:

from tsuru_dashboard.apps.views import event_serialization_default

class EventInfoViewTest(TestCase):
    def test_circular_dependency(self):
        data = {'_id': bson.ObjectId('5b64c49ad32e70370e94422a')}
        # This raises ValueError: Circular reference detected
        json.dumps(data, default=event_serialization_default)
@ggarnier ggarnier added the bug label Aug 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant