Saving a resource with a blank title filled the title with "Aeolus Conductor". This bug fix removes 'set_default_title' from application_controller.rb so the title reflects the value set, including blank titles.
Created attachment 569984[details]
Displaying wrong title
Description of problem:
Default application title is generated in before filter in application_controller.rb and is supposed to be overriden in the controller action. This causes wrongly displayed titles through the application where @title is used for eg. Displaying Catalog name. If I edit the catalog so it doesn't have a name, I get validation error, but the @title is set to nil and so the application default @title is not overriden and "Aeolus Conductor" is displayed instead of Catalog name which is wrong.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.Edit catalog
2.clear its name input
3.press save
4.you get Aeolus Conductor in catalog title
Actual results:
Expected results:
I want to see blank title instead of Aeolus Conductor, when the item (eg. catalog) has no name.
Additional info:
1.Edit catalog
2.clear its name input
3.press save
4.got blank in title
Verified on :-
[root@dhcp201-113 ~]# rpm -qa|grep aeolus
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-all-0.13.8-1.el6cf.noarch
aeolus-conductor-0.13.8-1.el6cf.noarch
rubygem-aeolus-cli-0.7.1-1.el6cf.noarch
aeolus-configure-2.8.6-1.el6cf.noarch
aeolus-conductor-daemons-0.13.8-1.el6cf.noarch
aeolus-conductor-doc-0.13.8-1.el6cf.noarch
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHEA-2012-1516.html
Created attachment 569984 [details] Displaying wrong title Description of problem: Default application title is generated in before filter in application_controller.rb and is supposed to be overriden in the controller action. This causes wrongly displayed titles through the application where @title is used for eg. Displaying Catalog name. If I edit the catalog so it doesn't have a name, I get validation error, but the @title is set to nil and so the application default @title is not overriden and "Aeolus Conductor" is displayed instead of Catalog name which is wrong. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Edit catalog 2.clear its name input 3.press save 4.you get Aeolus Conductor in catalog title Actual results: Expected results: I want to see blank title instead of Aeolus Conductor, when the item (eg. catalog) has no name. Additional info: