Bug in xml editor for queries?

LabKey Support Forum (Inactive)
Bug in xml editor for queries? jdutra  2012-07-30 11:55
Status: Closed
 
I think there may be a bug when editing queries. I have some fairly simple xml for a query. This query has always worked perfectly. But when I chose "Edit Source" for the query, even though I didn't change anything, I started getting an xml parse error. It seems that it doesn't like the "&", and I have to replace it with "&". That gets rid of the error and the query works again. But if I choose to "Edit Source" again, the saved xml appears the same way it did originally, and I have to replace the ampersand again in order to save it successfully. My xml as it always appears when I open the editor is below:

<ns:tables xmlns:ns="http://labkey.org/data/xml">
  <ns:table tableName="Revax_Elispot" tableDbType="NOT_IN_DB">
    <ns:columns>
      <ns:column columnName="prot">
        <ns:isHidden>true</ns:isHidden>
        <ns:shownInDetailsView>false</ns:shownInDetailsView>
      </ns:column>
      <ns:column columnName="Protocol">
        <ns:url>/labkey/wiki/home/page.view?name=OpenFile&file=${prot}</ns:url>
      </ns:column>
    </ns:columns>
  </ns:table>
</ns:tables>

Thanks,
Jen
 
 
jeckels responded:  2012-07-30 12:23
Hi Jen,

I assume that you're running against version 12.1. We've fixed this issue in 12.2:

https://www.labkey.org/issues/home/Developer/issues/details.view?issueId=14949

Thanks,
Josh