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

OBPIH-5333 Fix wrapping zone name for stock transfer/replenishment #3793

Merged
merged 2 commits into from
Jan 24, 2023

Conversation

kchelstowski
Copy link
Collaborator

No description provided.

@@ -456,10 +456,12 @@
<g:if test="${stockHistoryEntry?.isInternal}">
<span>&nbsp;&rsaquo;&nbsp;</span>
<g:if test="${stockHistoryEntry?.destinationBinLocation}">
<span>
<span class="line-base" title="${stockHistoryEntry?.destinationBinLocation?.zone}">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should the title have ?.name? or zone is expected here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, by mistake I copied it from the if below that doesn't have the .name. I added it, but anyway this tooltip was working fine without .name, so I assume if you don't provide any property of the class and you just call the class (zone), it takes name by default.

Copy link
Collaborator

Choose a reason for hiding this comment

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

It worked because of String toString() { return this.name } which is in the Location

@awalkowiak awalkowiak merged commit ee95d58 into release/0.8.21 Jan 24, 2023
@awalkowiak awalkowiak deleted the OBPIH-5333-qa-fix branch January 24, 2023 18:32
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.

None yet

2 participants