Comment 1 for bug 380959

Revision history for this message
Leonard Richardson (leonardr) wrote :

I've associated a branch with this bug which changes wrap_resource_on_success. When the client requests an XHTML representation, it passes response.responseText into the callback method instead of calling parse_xml_entry. This is a branch that Edwin can hack on (to make his code call parse_xml_entry itself) and Bjorn can use to get his work done.

In IRC Edwin explained that he created parse_xml_entry because he was sending a PATCH request that modified a single field, and he needed the HTML representation of that specific field. This is exactly the use case for bug 369887, which will let you PATCH a single field and get a representation of just that field. Once I fix 369887, we can get rid of parse_xml_entry.