[ http://issues.apache.org/jira/browse/GUMP-38?page=all ]
     
Leo Simons closed GUMP-38:
--------------------------

     Resolution: Fixed
    Fix Version: Gump3-alpha-3
                     (was: Gump3-alpha-5)

The Gump3 loader protects against circular hrefs, whereas the Gump3 Walker by 
design won't get stuck in loops between projects and the Gump3 Verifier will 
detect and report on all cycles found between projects.

> Does NOT cope with circular dependencies
> ----------------------------------------
>
>          Key: GUMP-38
>          URL: http://issues.apache.org/jira/browse/GUMP-38
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2
>     Reporter: Adam Jack
>      Fix For: Gump3-alpha-3

>
> 1) Circular includes in metadata(href links that circle) are not detected. 
> Logic will spin until it crashes.
> 2) Circular dependencies (perhaps within project property based dependencies) 
> are not detected. Logic will spin until it crashes.
> (most recent call last):
>    File "gump/integrate.py", line 85, in ?
>      irun()
>    File "gump/integrate.py", line 56, in irun
>      workspace=WorkspaceLoader().load(ws, 0)
>    File "/data3/gump/gump-install/python/gump/model/loader.py", line 96,
> in load
>      XMLServer.map, XMLTracker.map)
>    File "/data3/gump/gump-install/python/gump/model/workspace.py", line
> 384, in complete
>      project.complete(self)
>    File "/data3/gump/gump-install/python/gump/model/project.py", line
> 468, in complete
>      dependency.getProject().complete(workspace)
>    File "/data3/gump/gump-install/python/gump/model/project.py", line
> 468, in complete
>      dependency.getProject().complete(workspace)
>    File "/data3/gump/gump-install/python/gump/model/project.py", line
> << really big snip of identical errors >>
> 468, in complete
>      dependency.getProject().complete(workspace)
>    File "/data3/gump/gump-install/python/gump/model/project.py", line
> 461, in complete
>      if self.ant: self.ant.expand(self,workspace)
>    File "/data3/gump/gump-install/python/gump/model/ant.py", line 52, in
> expand
>      self.expandProperties(project,workspace)
>    File "/data3/gump/gump-install/python/gump/model/ant.py", line 61, in
> expandProperties
>      self.importProperty(property)
>    File "/data3/gump/gump-install/python/gump/model/property.py", line
> 164, in importProperty
>      self.addProperty(Property(xmlproperty,self))
>    File "/data3/gump/gump-install/python/gump/model/property.py", line
> 27, in __init__
>      NamedModelObject.__init__(self,xml.getName(),xml,parent)
>    File "/data3/gump/gump-install/python/gump/model/object.py", line
> 138, in __init__
>      ModelObject.__init__(self,xml,owner)
>    File "/data3/gump/gump-install/python/gump/model/object.py", line 40,
> in __init__
>      FileHolder.__init__(self)
>    File "/data3/gump/gump-install/python/gump/utils/file.py", line 154,
> in __init__
>      self.filelist=FileList(self)
>    File "/data3/gump/gump-install/python/gump/utils/file.py", line 118,
> in __init__
>      Ownable.__init__(self,owner)
>    File "/data3/gump/gump-install/python/gump/utils/owner.py", line 27,
> in __init__
>      self.setOwner(owner)
>    File "/data3/gump/gump-install/python/gump/utils/owner.py", line 33,
> in setOwner
>      if self == owner:
> RuntimeError: maximum recursion depth exceeded
> Integration completed with exit code :  1
> Failed to integrate, exited with [1], exiting...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to