Page 1 of 1

FormBuilder XML download problem

Posted: Fri Apr 21, 2017 12:55 pm
by jakovbak
Hello everyone!
If I try to export XML of any form in FormBuilder Module, I get an error and a file with extension ".download". Opened with TextWrangler it gives two separate documents - one is completely blank (the form itself) and the other one is Info.plist with following code:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>DownloadEntryBookmarkBlob</key>
	<data>
	Ym9va8ADAAAAAAQQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAvAIA
	AAUAAAABAQAAVXNlcnMAAAAFAAAAAQEAAHZpbmtvAAAACQAAAAEBAABEb3dubG9hZHMA
	AAAYAAAAAQEAAFNhbXBsZV9Gb3JtLnhtbC5kb3dubG9hZA8AAAABAQAAU2FtcGxlX0Zv
	cm0ueG1sABQAAAABBgAABAAAABQAAAAkAAAAOAAAAFgAAAAIAAAABAMAAK5hBgAAAAAA
	CAAAAAQDAAAtxAYAAAAAAAgAAAAEAwAAMMQGAAAAAAAIAAAABAMAAHhSYQAAAAAACAAA
	AAQDAAB5UmEAAAAAABQAAAABBgAAjAAAAJwAAACsAAAAvAAAAMwAAAAIAAAAAAQAAEG+
	qjYFAAAAGAAAAAECAAABAAAAAAAAAA8AAAAAAAAAAAAAAAAAAAAIAAAABAMAAAMAAAAA
	AAAABAAAAAMDAAD1AQAACAAAAAEJAABmaWxlOi8vLwUAAAABAQAANU0tMDQAAAAIAAAA
	BAMAAABgIwh0AAAACAAAAAAEAABBvmRLKgAAACQAAAABAQAAQUU5MUNBNkYtRjZDOC0z
	MEE4LUE1ODAtRDIyNjMyNTRGN0Y4GAAAAAECAACBAAAAAQAAAO8TAAABAAAAAAAAAAAA
	AAABAAAAAQEAAC8AAAAAAAAAAQUAANAAAAABAgAAYTU0NDgwNmQ2MTI2ZTQzNTdiNWRm
	YWUxZGU3OTUzMTUwNTBmN2JhNzswMDAwMDAwMDswMDAwMDAwMDswMDAwMDAwMDAwMDAw
	MDIwO2NvbS5hcHBsZS5hcHAtc2FuZGJveC5yZWFkLXdyaXRlOzAwMDAwMDAxOzAxMDAw
	MDAyOzAwMDAwMDAwMDA2MTUyNzk7L3VzZXJzL3ZpbmtvL2Rvd25sb2Fkcy9zYW1wbGVf
	Zm9ybS54bWwuZG93bmxvYWQvc2FtcGxlX2Zvcm0ueG1sAMwAAAD+////AQAAAAAAAAAQ
	AAAABBAAAHAAAAAAAAAABRAAANwAAAAAAAAAEBAAAAgBAAAAAAAAQBAAAPgAAAAAAAAA
	AiAAANABAAAAAAAABSAAAEQBAAAAAAAAECAAAFQBAAAAAAAAESAAAIQBAAAAAAAAEiAA
	AGQBAAAAAAAAEyAAAHQBAAAAAAAAICAAALABAAAAAAAAMCAAANwBAAAAAAAAAcAAACgB
	AAAAAAAAEcAAABQAAAAAAAAAEsAAADgBAAAAAAAAgPAAAOQBAAAAAAAA
	</data>
	<key>DownloadEntryDateAddedKey</key>
	<date>2017-04-21T12:43:49Z</date>
	<key>DownloadEntryErrorCodeDictionaryKey</key>
	<integer>-1005</integer>
	<key>DownloadEntryErrorDomainDictionaryKey</key>
	<string>NSURLErrorDomain</string>
	<key>DownloadEntryIdentifier</key>
	<string>4D335867-909B-42B0-99AC-DBD181BC673B</string>
	<key>DownloadEntryPath</key>
	<string>~/Downloads/Sample_Form.xml.download/Sample_Form.xml</string>
	<key>DownloadEntryProgressBytesSoFar</key>
	<integer>0</integer>
	<key>DownloadEntryProgressTotalToLoad</key>
	<integer>12833</integer>
	<key>DownloadEntryRemoveWhenDoneKey</key>
	<false/>
	<key>DownloadEntryURL</key>
	<string>http://www.adriaticsolution.hr/admin/moduleinterface.php?mact=FormBuilder,m1_,exportxml,0&_sk_=717d5d7e357cb120&m1_form_id=3</string>
</dict>
</plist>
Could anyone be able and kind to explain what is going on? It is happening since installation (both clean install - CMSMS 2.1.6 and newest FormBuilder Module). If I try to create new form it works fine. The problem is - I have to create a dozen of slightly different but big forms and it would be a real pain to create each and every one of them from the scratch! How I wish forms could be duplicated like templates!!!

Thank you in advance and best regards,
jakovbak

Re: FormBuilder XML download problem

Posted: Sun Apr 23, 2017 6:52 pm
by velden
My guess is the error itself is interesting too.
I used this feature today a few times and worked well.

Re: FormBuilder XML download problem

Posted: Sun Apr 23, 2017 8:02 pm
by jakovbak
Hello Velden!
When you say feature you mean export/import of xml? If so, I use it too on other sites and it also works well. I just don't get it why it doesn't work here. And I can't 'read' this error the way you do so I can't discuss it... :-)
Anyway, in the lack of solutions or suggestions I'm going to improvise a bit: I'll create one huge form on some other site and try to import it in this one and then clean it to fit my needs. And put this process on repeat if it works.
I'll get back with the results.
Good night and best regards!
Jakovbak

Re: FormBuilder XML download problem

Posted: Mon Apr 24, 2017 1:34 pm
by jakovbak
Hello again!
I have created a test contact form on the other domain and imported it into this problematic domain and it worked like a charm. When I tried to export that test form, same error occurred again.
So, something is definitely gone wrong with xml export. Just to note, default contact forms are ok if used on the page. Only export went wrong...
Regards,
Jakovbak