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

Fixing textual summary payload mount for multilabel components #4148

Merged

Conversation

douglasgabriel
Copy link
Member

This PR fixes
#4147

Before this PR
The TextualSummaryWrapper sends this error while trying to process the payload:
Warning: Failed prop type: The prop 'rows' is marked as required in 'SimpleTable', but its value is 'undefined'.

After this PR
The TextualMultilabel struct sets the :rows value using the :values

This approach was adopted to provider a compatibility with all summaries that uses the TextualMultilabel, but, another approach is to parse the :rows value with the value of options[:rows], but this way we must update all the files that uses TextualMultilabel

@miq-bot
Copy link
Member

miq-bot commented Jun 15, 2018

Checked commit douglasgabriel@7d16893 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@douglasgabriel
Copy link
Member Author

douglasgabriel commented Jun 15, 2018

@miq-bot add_label bug

@miq-bot
Copy link
Member

miq-bot commented Jun 15, 2018

@douglasgabriel Cannot apply the following label because they are not recognized: bug textual summaries

@martinpovolny
Copy link
Member

I have a WIP with this fix here: #4111
But I was too slow to finish it.

Thank you for the fix!

@martinpovolny martinpovolny self-assigned this Jun 16, 2018
@martinpovolny martinpovolny merged commit 4ef28e0 into ManageIQ:master Jun 16, 2018
@martinpovolny martinpovolny added this to the Sprint 88 Ending Jun 18, 2018 milestone Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants