DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43112>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43112

           Summary: Some coding errors in the sitetree module
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have no idea what effect these errors are having on production systems. I am
also not sure how to fix the bugs, which is why I'm posting here.

src/modules/sitetree/java/src/org/apache/lenya/cms/cocoon/transformation/DocumentIndexTransformer.java
In setup(), envelope is set to null, never changed, and then referenced. This
should throw a NPE every time.

src/modules/sitetree/java/src/org/apache/lenya/cms/site/tree/TreeSiteManager.java
In add() node is set to a value under the 2nd if, but never used. The if under
the following else perhaps needs to be moved out from the else.

src/modules/sitetree/java/src/org/apache/lenya/cms/site/tree2/TreeSiteManager.java
In copy() destNode is set, checked, and reset, but never used.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to