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

Model blows up when accessing a new attribute not seen by initializer #95

Closed
jameswnl opened this issue Jul 11, 2017 · 2 comments
Closed
Labels

Comments

@jameswnl
Copy link
Contributor

jameswnl commented Jul 11, 2017

Attribute accessors are only created by initializers (right?). If we try to access a legitimate attribute (i.e. from Ansible Tower perspective) but hasn't been seen by initializer yet, it will blow up.

This is breaking https://travis-ci.org/ManageIQ/manageiq-providers-ansible_tower/jobs/250498451#L868.

Seems to me the simplest solution is to have method_missing defined to handle this.

@bdunne @syncrou what do you think?

This is related to #68.

jameswnl pushed a commit to jameswnl/ansible_tower_client_ruby that referenced this issue Jul 11, 2017
jameswnl pushed a commit to jameswnl/ansible_tower_client_ruby that referenced this issue Jul 11, 2017
jameswnl pushed a commit to jameswnl/ansible_tower_client_ruby that referenced this issue Jul 11, 2017
jameswnl pushed a commit to jameswnl/ansible_tower_client_ruby that referenced this issue Jul 11, 2017
@miq-bot
Copy link
Collaborator

miq-bot commented Jun 12, 2020

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.

@miq-bot miq-bot added the stale label Jun 12, 2020
@bdunne bdunne closed this as completed Sep 1, 2021
@bdunne bdunne reopened this Sep 1, 2021
@miq-bot miq-bot closed this as completed Feb 27, 2023
@miq-bot
Copy link
Collaborator

miq-bot commented Feb 27, 2023

This issue has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this issue if this issue is still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

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

3 participants