[DRE-maint] Bug#584331: libbuilder-ruby1.8: an external plugin for redmine is broken when xml.instruct (which calls to_xs in builder)

Marc Dequènes (Duck) duck at duckcorp.org
Sat Aug 21 12:38:01 UTC 2010


reassign 584331 libactivesupport-ruby1.8
thanks


Coin,

As i understand it, the to_xs() API is not normalized accross several  
tools, and it is bothering you. Well, by reading you example, and as  
libactivesupport-ruby1.8 defines this alias which is broken due to  
conflicting API, i would say this package is doing the wrong thing.

If you think this method should really be changed (which would break  
compatibility with tools providing the extra argument), then i guess  
you should try to convince the builder's upstream authors directly.

ActiveSupport could easily, and properly solve the issue, by replacing:
   alias_method :to_xs, :fast_xs
by
   def to_s(escape=true)
     fast_xs
   end

As the original provider and reference of this method is Builder, i'm  
then reassigning this bug to ActiveSupport.

-- 
Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20100821/3b594f24/attachment.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list