Bug 537207

Summary: Confirmation messages for content providers and repositories need to be updated.
Product: [Other] RHQ Project Reporter: John Sefler <jsefler>
Component: ContentAssignee: Jeff Ortel <jortel>
Status: CLOSED WORKSFORME QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: cwelton, jortel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-26 12:38:02 UTC Type: ---
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: 538145    

Description John Sefler 2009-11-12 19:43:09 UTC
Description of problem:
As "content source" has been renamed to "content provider" and "channel" has been renamed to "repository", so do all of the confirmation block messages.

Version-Release number of selected component (if applicable):
work from sprint team CoreA


How reproducible:


Steps to Reproduce:
1. Create a repository
2. Edit the repository
3. Save
Notice the confirmation message.  Please change "repo" to "repository"
java.lang.AssertionError: Confirmation block message expected:<The repository has been updated.> but was:<The repo has been updated.>

1. Create 3 content providers
2. Select all 3 content providers and click SYNC SELECTED 
Notice the confirmation message.  Please change "sources" to "providers"
java.lang.AssertionError: Confirmation block message matches pattern Synchronizing \[3\] content providers. expected:<true> but was:<false>


Additional info:
These failures are being caught by automated GUI tests...  ContentTests.java

Comment 1 John Sefler 2009-11-12 19:58:59 UTC
1. Create 3 content providers
2. Select all 3 content providers and click DELETE SELECTED 
Notice the confirmation message.  Please change "sources" to "providers"
java.lang.AssertionError: Confirmation block message matches pattern Deleted \[3\] content providers. expected:<true> but was:<false>

Comment 2 John Sefler 2009-11-12 21:22:59 UTC
1. Create repository and a content provider
2. Associate the content provider with the repository.
2. Select repository and click SYNC SELECTED 
Notice the confirmation message.  Please change "sources" to "providers"
java.lang.AssertionError: Confirmation block message matches pattern Synchronizing
\[3\] content providers. expected:<true> but was:<false>

Comment 3 John Sefler 2009-11-13 23:09:15 UTC
1. Create repository and a content provider
2. Associate the content provider with the repository.
Notice the tables on the association page entitled:
Available Content Sources
Content Sources Associated With This Repository

The should be entitled:
Available Content Providers
Content Providers Associated With This Repository

Comment 4 Jeff Ortel 2009-11-23 19:23:57 UTC
Updated confirmation messages and I think I got them all (f4fb61b22dbe018c7dd1ece28d9d1fbfbd52ecf3).

Comment 5 Jeff Ortel 2009-11-23 19:28:50 UTC
Fixed table headings (d8811ca4d11e919fb3e00c3e091912dcf1983c16) changed 'Content Sources' to 'Content Providers'.

Comment 6 Corey Welton 2009-12-03 15:45:02 UTC
Per Comment #2 -- given current behaviour, if we go to sync a repo, shouldn't it read "Synchronizing [1] repository" now, instead of "Synchronizing [1] content providers."?

Comment 7 Corey Welton 2010-03-26 12:38:02 UTC
QA Closing.