Skip to content

Fix None project erro if default was not assigned#92

Closed
noadmin wants to merge 1 commit into
RallyTools:masterfrom
noadmin:master
Closed

Fix None project erro if default was not assigned#92
noadmin wants to merge 1 commit into
RallyTools:masterfrom
noadmin:master

Conversation

@noadmin

@noadmin noadmin commented Oct 18, 2016

Copy link
Copy Markdown

Fix up for #91
and #88

Thanks for @ClockerZadq, it really helps

@klehman-rally

Copy link
Copy Markdown
Contributor

The change I elected to make was:
result = self.agent.get('Project', fetch="Name", workspace=self._currentWorkspace, project=None)
which better handles the situation where a user has no default workspace/project set or specifies a project that doesn't appear in the specified workspace or whose role doesn't allow visibility to the project. Try 1.2.1 to see that the modified behavior is rational for your situation.

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 this pull request may close these issues.

2 participants