Bug 537207 - Confirmation messages for content providers and repositories need to be updated.
Summary: Confirmation messages for content providers and repositories need to be updated.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: RHQ Project
Classification: Other
Component: Content
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Jeff Ortel
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: RHQ_CONT_REPO
TreeView+ depends on / blocked
 
Reported: 2009-11-12 19:43 UTC by John Sefler
Modified: 2010-03-26 12:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-26 12:38:02 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.