Automatic insertion of results fails in Batch Pre-translate

Hi,

we have an TranslationProvider plugin that talks to our server API for retrieve machine translations. This plugin has been working just fine in Studio 2014, setting the SearchResult.BaseScore to 0 (making explicit that the result in no way is a fuzzy match to a TM) and Origin to TranslationUnitOrigin.MachineTranslation.

After upgrading to Studio 2015 and recompiling the plugin according to the published instructions, the AT results still appear in the Translation Results window and the Apply Translation button can be used to insert such a result into the document; BUT the automatic insertion does NOT work in a Batch Tasks > Pre-translate Files operation (with When no match found > Apply automated translation selected both for All Language Pairs and the current one; applicable TUs get the blue AT tag, but the target segments are left empty!).

To be on the safe side I've tried setting the BaseScore value to 100, but to no avail.

What can be the reason for this bug? Has there been any change to Studio in version 2015 that we need to adapt the plugin to? Is there any related UI setting we may have missed?

(In order to have the results inserted when going through a document manually, I had to select File > Options > Editor > Automation > Apply best match after successful lookup; this may itself be a porting bug, since I had not changed anything in that dialog since my last successful use of the functionality in version 2014.)

Many thanks,
Sebastian