[PATCH aeolus-conductor] BZ:867353 Fixed template XPath in Images Controller

Jason Guiditta jguiditt at redhat.com
Mon Oct 22 16:33:26 UTC 2012


On 22/10/12 16:08 +0100, mtaylor at redhat.com wrote:
>From: Martyn Taylor <mtaylor at redhat.com>
>
>The strange XPath in the images controller can only have been there
>to support this CDATA attribute that has appeared in our API for
>wrapping templates.
>
>The CDATA XML attribute is used to specify data with in a document
>that is not to be parsed.  Is is true that our templates are stored
>as XML strings in our template model, however, we do not need nor
>want a user to know about this.  It is an implementation detail only.
>---
> src/app/controllers/api/images_controller.rb       |    4 +-
> src/spec/controllers/api/images_controller_spec.rb |   47 +------------------
> 2 files changed, 5 insertions(+), 46 deletions(-)
>

ACK, pushed, BZ updated.

-j



More information about the aeolus-devel mailing list