commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33887] New: - [betwixt][Patch] Can't output bean's class property when using dot-betwixt file
Date Mon, 07 Mar 2005 22:53:41 GMT
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=33887>.
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=33887

           Summary: [betwixt][Patch] Can't output bean's class property when
                    using dot-betwixt file
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Betwixt
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: cgaffga@triplemind.com


hi,

quite a while ago I asked about a feature to output a bean's class property in
XML. This was implemented in cocoon by addind the PropertySuppressionStrategy.
This worked fine until yesterday, when I wanted a bean's XML output to be
configured by a dot-betwixt file AND to output it's class property. This was not
possible caused by three lines of code in ElementRule class that where marked
with a TODO.
I think these three lines could be removed, because (hope I'm right) they are
only called if the class property is explicitly specified in a dot-betiwxt file,
and then it should never be supressed.
An alternative would be to call the PropertySupressionStrategy here instead, but
then perheaps a property specified in a dot-betwixt file would be supressed for
the user's surprise.
I'll attach a patch to this bugreport containing a TestCase that fails without
my patch to ElementRule applied, and returns without error with the bugfix
applied to this class.
Hope somebody will commit it.

regards,
Christoph
cgaffga@triplemind.com

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message