-
Bug
-
Resolution: Done
-
Major
-
8.6
-
None
Creating a WS via google search URL (See TEIIDDES-2284) using the following connection profile info results in a transformation that has not been reconciled.
<profile autoconnect="No" desc="" id="02b59450-4f06-11e4-abe2-af11d4a8f610" name="Google_Search" providerID="org.teiid.designer.datatools.profiles.ws.WSConnectionProfile"> <baseproperties> <property name="rest_param:output" value="Query:toolbar" /> <property name="responseType" value="XML" /> <property name="EndPoint" value="http://www.google.com/complete/search" /> <property name="rest_param:q" value="Query:receiver" /> </baseproperties> </profile>
Debugging found that the TransformationNewModelObjectHelper.helpCreate() method was resulting in a DEFAULT SQL TEMPLATE being applied when it shouldn't have been.
Need to add an if check: if( defineDefaultTableSQL ) and only apply the template if it was explicitly asked for.