Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'name' #114

Closed
eschek87 opened this issue Aug 10, 2021 · 6 comments · Fixed by #116 or #118
Closed

'NoneType' object has no attribute 'name' #114

eschek87 opened this issue Aug 10, 2021 · 6 comments · Fixed by #116 or #118
Assignees

Comments

@eschek87
Copy link

Describe the bug
If I try to process a service from the catalog I receive the following error:
Exception Value: 'NoneType' object has no attribute 'name'
service_catalog/views/common.py, line 78, in create_pie_chart_instance_by_service_type

I don't use any billing groups nor resources. Just use the default value for the service

To Reproduce
Steps to reproduce the behavior:

  1. Run through the workflow of "Order a Service from the Service Catalog"
  2. Accept and then Process
  3. After hitting the "Process request" button in the "Confirm process request" view I receive this error and can't do anything more in squest

Expected behavior
No error

Screenshots

Additional context

  • Squest version or GIT commit number: latest from master branch
  • Ansible Tower/AWX version: 17.0.1
@a-belhadj a-belhadj self-assigned this Aug 10, 2021
@a-belhadj
Copy link
Collaborator

WIP

a-belhadj added a commit to a-belhadj/squest that referenced this issue Aug 10, 2021
a-belhadj added a commit to a-belhadj/squest that referenced this issue Aug 10, 2021
Sispheor pushed a commit that referenced this issue Aug 11, 2021
@Sispheor
Copy link
Contributor

Fixed and merged in master branch.
We released a version 0.1.1.
Many thanks to @a-belhadj and @EliasBoulharts for the job done here.

a-belhadj added a commit to a-belhadj/squest that referenced this issue Aug 11, 2021
@a-belhadj a-belhadj linked a pull request Aug 11, 2021 that will close this issue
@eschek87
Copy link
Author

Issue seems to be still there if I go to the "dashboard" as an admin. Maybe this problems happens too if a services is deleted?

a-belhadj added a commit to a-belhadj/squest that referenced this issue Aug 11, 2021
@a-belhadj
Copy link
Collaborator

Yes it's when an instance is not linked to a service anymore. If we create an instance without any service or if the service is deleted
When I tried to reproduce your bug, I reproduced another one.

I just create a pull request for you, I'm waiting for a review and merge in master

a-belhadj added a commit that referenced this issue Aug 11, 2021
a-belhadj added a commit that referenced this issue Aug 11, 2021
@a-belhadj
Copy link
Collaborator

New release is available: https://github.com/HewlettPackard/squest/releases/tag/v0.1.1

Thank you again for all these issues

@eschek87
Copy link
Author

Awesome. Works now. Thanks!

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

Successfully merging a pull request may close this issue.

3 participants