Bug when importing a Deluge script file

Bug when importing a Deluge script file

Hi,

I've found what appears to be a bug where a particular part of a form is lost when exported and then re-imported. Here's the issue:

When using a lookup field, and checking the "Show a link to add new entries" box, the exported .ds file will contain this:

 allow new entries = true [ displayname = "Add Example Data" ]

But when re-importing this file, those four lines are missing. This means that there will not be a link to add new entries in the lookup.

Is this a known bug with Deluge script import? If not, is there a workaround other than manually re-adding the links?

Thanks,
John