problem with specific webpart/html filenames? | Ben Bimber | 2010-02-22 13:59 |
Status: Closed | ||
I am creating a number of HTML views and .webpart.xml files. Usually these work just fine to add content, but there's specific cases that cause an error. The behavior is this: -The name of the desired webpart will appear in the dropdown menu -When I try to add it to a portal page, the page refreshes w/o errors (normal behavior), but no part is added. No record is inserted in the 'portal' table in postgres The parameter that causes the import to stop working is 'title' in webpart.xml. See this trio of files: File: wnprcUnits.html: <html>Hello world</html> File: wnprcUnits.view.xml: <view xmlns="http://labkey.org/data/xml/view" title="WNPRC Units"> </view> File: wnprcUnits.webpart.xml <webpart xmlns="http://labkey.org/data/xml/webpart" title="wnprcUnits"> <view name="wnprcUnits"/> </webpart> With these files as written, the webpart adds just fine. However, if I change the title param of the webpart.xml file to title="WNPRC Units", it is no longer added. I have changed the title successfully in other cases, but in this case and a handful of others it does not work. |
||