summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkumpf <kumpf>2005-08-12 21:04:28 +0000
committerkumpf <kumpf>2005-08-12 21:04:28 +0000
commit5c58627c710bcaf718defe85a5d20293137a4f6a (patch)
treebf45eb58368184d34090db8c227e6aaf8ece3a3b /src
parentfe49c2538e1a67686c4d54eba32efd8d826674ba (diff)
downloadtog-pegasus-5c58627c710bcaf718defe85a5d20293137a4f6a.zip
tog-pegasus-5c58627c710bcaf718defe85a5d20293137a4f6a.tar.gz
tog-pegasus-5c58627c710bcaf718defe85a5d20293137a4f6a.tar.xz
BUG#: 4075
TITLE: Sample Association provider does case sensitive test for role parameter equality DESCRIPTION: Use a CIMName equality comparison for the role parameter
Diffstat (limited to 'src')
-rw-r--r--src/Providers/sample/AssociationProvider/AssociationProvider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Providers/sample/AssociationProvider/AssociationProvider.cpp b/src/Providers/sample/AssociationProvider/AssociationProvider.cpp
index 543933e..5a17857 100644
--- a/src/Providers/sample/AssociationProvider/AssociationProvider.cpp
+++ b/src/Providers/sample/AssociationProvider/AssociationProvider.cpp
@@ -663,7 +663,7 @@ Array<CIMInstance> AssociationProvider::_filterAssociationInstancesByRole(
v.get(path);
if ((role == String::EMPTY) ||
- (role == p.getName().getString()))
+ (p.getName() == CIMName(role)))
{
if (targetObjectPath.identical(path))
{
@@ -718,7 +718,7 @@ Array<CIMObjectPath> AssociationProvider::_filterAssociationInstances(
if (resultClass.isNull() || resultClass == path.getClassName())
{
if (resultRole == String::EMPTY ||
- p.getName().getString() == resultRole)
+ (p.getName() == CIMName(resultRole)))
{
returnPaths.append(path);
}