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

Dont return different types in virtual columns #18217

Merged

Conversation

PanSpagetka
Copy link
Contributor

@PanSpagetka PanSpagetka commented Nov 19, 2018

This PR should fix virtual columns introduced in #17884 which is needed for ManageIQ/manageiq-ui-classic#4509
These virtual columns returned different types (Integer/String) and that caused problems when trying to sort by these columns,

Links

https://bugzilla.redhat.com/show_bug.cgi?id=1610927
ManageIQ/manageiq-ui-classic#4509

@himdel Could you please verify this fixes the issue?

@himdel
Copy link
Contributor

himdel commented Nov 19, 2018

Still problematic in Infra provisioning:

  • platform
  • memory

In Cloud:

  • memory

@miq-bot
Copy link
Member

miq-bot commented Nov 19, 2018

Checked commit PanSpagetka@b42f1be 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. 🍰

@himdel
Copy link
Contributor

himdel commented Nov 19, 2018

Aaand now it works :)

Verified that both cloud & infra vm provisioning screens work in the UI together with ManageIQ/manageiq-ui-classic#4509, including sorting by each column 👍

@himdel
Copy link
Contributor

himdel commented Nov 19, 2018

@miq-bot add_label hammer/yes

(because #17884 is already backported)

@PanSpagetka
Copy link
Contributor Author

ping @martinpovolny

@martinpovolny martinpovolny merged commit ab470a4 into ManageIQ:master Nov 27, 2018
@martinpovolny martinpovolny added this to the Sprint 100 Ending Dec 3, 2018 milestone Nov 27, 2018
@martinpovolny martinpovolny self-assigned this Nov 27, 2018
simaishi pushed a commit that referenced this pull request Nov 27, 2018
@simaishi
Copy link
Contributor

Hammer backport details:

$ git log -1
 commit ee46c90eddf6be91b4b21bc9ef1cf3d4323e2970
Author: Martin Povolny <mpovolny@redhat.com>
Date:   Tue Nov 27 15:10:33 2018 +0100

    Merge pull request #18217 from PanSpagetka/fix-miq-template-virtual-cols
    
    Dont return different types in virtual columns
    
    (cherry picked from commit ab470a4845a44e9dec6cd77613de31f284adfbb1)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1610927

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.

5 participants