[GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Any.cpp, 1.18, 1.19

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/MetaInterpreter2004/Rep
In directory escher:/tmp/cvs-serv18358/MetaInterpreter2004/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/MetaInterpreter2004/Rep/Any.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** Any.cpp	8 Mar 2007 22:54:49 -0000	1.18
--- Any.cpp	8 Mar 2007 23:22:20 -0000	1.19
***************
*** 118,122 ****
  	{
  		if ( *it == m_ptr) continue;
! 
  		m_isInRootFolder = m_isInRootFolder || (*it)->getAttribute( InRootFolder_str)->getBooleanValue();
  	}
--- 118,122 ----
  	{
  		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