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

[FIXED JENKINS-35168] Resolve the context ModelObject when it isn't a ModelObeject #52

Merged
merged 1 commit into from May 27, 2016

Conversation

stephenc
Copy link
Member

@reviewbybees

<j:choose>
<j:when test="${h.hasPermission(selectHelper.CREATE)}">
<j:when test="${h.hasPermission(selectHelper.CREATE) and storeItems != null and !storeItems.isEmpty()}">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know and would work in those expressions :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be another unrelated fix, but LGTM

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tfennelly yes it is a special alias because typing &amp;&amp; would be a pain

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oleg-nenashev not quite, if the resolution fails we will have an empty list so the button should be disabled

@tfennelly
Copy link
Member

🐝

1 similar comment
@oleg-nenashev
Copy link
Member

🐝

@stephenc stephenc merged commit e2bd270 into master May 27, 2016
@stephenc stephenc deleted the jenkins-35168 branch May 27, 2016 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants