You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2001/12/28 17:59:23 UTC

DO NOT REPLY [Bug 5607] New: - emptyParam object created in generated sitemap class should be read only

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5607

emptyParam object created in generated sitemap class should be read only

           Summary: emptyParam object created in generated sitemap class
                    should be read only
           Product: Cocoon 2
           Version: 2.1alpha CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: crafterm@fztig938.bank.dresdner.net


The generated sitemap class includes a Parameters object which should be set to
read only to prevent a developer from storing values in it. The parameters
object is not thread safe, and is also shared among all threads running inside
cocoon. If an application developer stores values in it, there is a danger they
will be corrupted. Setting this object to read only will prevent an application
developer from doing this.

Discussions archived under the following thread:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100887011932381&w=2

led to the conclusion that this object should be set read only.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org