[GME-commit]
GMESRC/Paradigms/MetaGME/BonExtension/Rep Any.cpp, 1.17, 1.18
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Mar 8 17:22:22 CST 2007
Update of /project/gme-repository/GMESRC/Paradigms/MetaGME/BonExtension/Rep
In directory escher:/tmp/cvs-serv18358/BonExtension/Rep
Modified Files:
Any.cpp
Log Message:
Bugfix for GME-143 in JIRA.
FolderProxies don't have Attributes, that's why while handling the equiv set and figuring out the InRootFolderness of folder objects caused exception.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: Any.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Paradigms/MetaGME/BonExtension/Rep/Any.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Any.cpp 8 Mar 2007 22:54:49 -0000 1.17
--- Any.cpp 8 Mar 2007 23:22:20 -0000 1.18
***************
*** 129,133 ****
{
if ( *it == m_ptr) continue;
!
m_isInRootFolder = m_isInRootFolder || (*it)->getAttribute( InRootFolder_str)->getBooleanValue();
}
--- 129,133 ----
{
if ( *it == m_ptr) continue;
! if ((*it)->getObjectMeta().name().find("Proxy") != std::string::npos) continue; // folderproxies don't have attributes
m_isInRootFolder = m_isInRootFolder || (*it)->getAttribute( InRootFolder_str)->getBooleanValue();
}
More information about the GME-commit
mailing list