wiki bug Stefan Nicolet  2020-11-10 03:59
Status: Active
 

A long JSON message (attached) arrises when people edit (add, remove, modify) elements of a list that has been integrated into a wiki page the following way:

<h4>People in the network</h4><br>
<div id="list_div"></div>
<script>
var wp = new LABKEY.WebPart({ renderTo: 'list_div', partName: 'List - Single', partConfig: { listName: 'medict_network'}, frame: 'none'});
wp.render();
</script>

This bug does not happen if the edition is done on the list itself.

 
 
chetc (LabKey Support) responded:  2020-12-14 11:02
Status: Closed

Hello Stefan,

Thank you for reaching out to us, and for reporting this issue!

I was able to reproduce the error you outlined in your post and I have created a bug for the developer to address. You can follow it's progress at https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=41970.

In the meantime you could try using the list webpart that the UI provides. Or if you needed to add this to a wiki you could consider using a LABKEY.QueryWebPart.

There are examples for usage in the document linked below.
https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.QueryWebPart.html

Thanks,
Chet