Bug 1349519

Summary: Filters are sometimes saved with different name
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: abellott, dajohnso, hkataria, jhardy, jzigmund, mmojzis, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: filter
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1412314 (view as bug list) Environment:
Last Closed: 2017-06-12 16:55:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1412314    
Attachments:
Description Flags
Wrong filter name none

Description Matouš Mojžíš 2016-06-23 15:12:18 UTC
Created attachment 1171571 [details]
Wrong filter name

Description of problem:
I created advanced search filter and then saved it. I gave it name "test".
When I clicked on Save it told me, that filter was saved as name "t".
This doesn't happen often..

Version-Release number of selected component (if applicable):
5.6.0.12

How reproducible:
5%

Steps to Reproduce:
1. Create filter in advanced search and save it
2.
3.

Actual results:
It's saved as different name. 

Expected results:
Always it should be saved as same name.

Additional info:
Maybe has something to do with this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1349511

Comment 2 Harpreet Kataria 2016-10-17 21:21:05 UTC
Jozef,

Can you look into this issue, from description looks like maybe form data is not being sent upto server, let me know if you need help looking into this one. Not sure if other 2 BZs in this area are also related, i will send those your way too
https://bugzilla.redhat.com/show_bug.cgi?id=1349499
https://bugzilla.redhat.com/show_bug.cgi?id=1349519

Thanks,
~Harpreet

Comment 3 Jozef Zigmund 2016-11-22 16:55:23 UTC
I was not able to reproduce the bug on current master branch. Could you please verify it?

Comment 4 CFME Bot 2016-11-25 21:01:00 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b733f1f63d31c8e36733d717709d5af19347eedf

commit b733f1f63d31c8e36733d717709d5af19347eedf
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Wed Nov 23 17:27:04 2016 +0100
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Wed Nov 23 17:27:04 2016 +0100

    Fix the form field 'Save search as' of an Advanced Search when saving the search with empty name
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1349519
    https://bugzilla.redhat.com/show_bug.cgi?id=1349511
    https://bugzilla.redhat.com/show_bug.cgi?id=1349499

 app/views/layouts/_adv_search_body.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 Matouš Mojžíš 2016-11-30 11:03:13 UTC
It works on upstream, but on 5.7.0.12 I can still see this error.

Comment 6 Matouš Mojžíš 2016-12-07 12:34:33 UTC
Still not working on 5.7.0.14.

Comment 8 Jozef Zigmund 2017-01-11 17:54:44 UTC
Could you please verify if you can still see the error on 5.7 build ?

Comment 10 Matouš Mojžíš 2017-01-20 11:22:45 UTC
Still not working on 5.7.0.17.

Comment 11 Matouš Mojžíš 2017-04-25 10:38:31 UTC
Verified in 5.8.0.11. This error no longer exists.