-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
10.0
-
None
-
None
I have a VDB with source model that references a data source (resource adapter - flat file) with name that already exists on server. Let's say the name is "adapter1".
After I hit execute on VDB, it is deployed and I can submit a query. Submitting query reports an error that a flat file is not found. When I look to standalone.xml, the resource adapter "adapter1" is not changed and there is still the old one with wrong path to file. (both RA are of the same type - file)
It looks like when I execute a VDB, TD checks if there is data source (resource adapter) with name specified in VDB. If there is such data source it doesn't check other properties of the data source (RA) (at least it looks like that, maybe it checks the type of RA).
Or is this a server issue ?
This may seem like a crazy use case, but when you go through the "import from flat file" wizard twice (with different projects) and don't change the model names you end up with two projects with same source model names. Default source model name in the wizard is "SourceModel" and I think TD uses source model name as data source name for VDB.