[
https://issues.jboss.org/browse/TEIIDDES-1109?page=com.atlassian.jira.plu...
]
Mark Drilling commented on TEIIDDES-1109:
-----------------------------------------
Reproduced this in debug. Stacktrace at the point where the exception is thrown:
ModelerMetadata(TransformationMetadata).getElementIDsInKey(Object) line: 904
TempMetadataAdapter.getElementIDsInKey(Object) line: 478
RuleRaiseAccess.matchesForeignKey(QueryMetadataInterface, Collection<Object>,
Collection<Object>, GroupSymbol, boolean) line: 720
ResolverUtil.findKeyPreserved(Set<GroupSymbol>, Set<GroupSymbol>,
HashMap<List<GroupSymbol>,List<HashSet<Object>>>, boolean,
QueryMetadataInterface, Set<GroupSymbol>) line: 1088
ResolverUtil.findKeyPreserved(Query, Set<GroupSymbol>, QueryMetadataInterface) line:
1000
UpdateValidator.internalValidate(Command, List<ElementSymbol>) line: 437
UpdateValidator.validate(Command, List<ElementSymbol>) line: 344
QueryResolver.resolveView(GroupSymbol, QueryNode, String, QueryMetadataInterface) line:
472
ProcedureContainerResolver.getUpdateInfo(GroupSymbol, QueryMetadataInterface) line: 188
ProcedureContainerResolver.getUpdateInfo(GroupSymbol, QueryMetadataInterface, int) line:
161
InsertResolver(ProcedureContainerResolver).resolveGroup(TempMetadataAdapter,
ProcedureContainer) line: 206
InsertResolver.resolveGroup(TempMetadataAdapter, ProcedureContainer) line: 234
InsertResolver(ProcedureContainerResolver).resolveCommand(Command, TempMetadataAdapter,
boolean) line: 138
QueryResolver.resolveCommand(Command, QueryMetadataInterface, boolean) line: 294
QueryResolver.resolveCommand(Command, QueryMetadataInterface) line: 147
UpdateProcedureResolver.resolveEmbeddedCommand(TempMetadataAdapter, GroupContext, Command)
line: 333
UpdateProcedureResolver.resolveStatement(CreateUpdateProcedureCommand, Statement,
GroupContext, GroupSymbol, TempMetadataAdapter) line: 189
UpdateProcedureResolver.resolveBlock(CreateUpdateProcedureCommand, Block, GroupContext,
TempMetadataAdapter) line: 164
UpdateProcedureResolver.resolveCommand(Command, TempMetadataAdapter, boolean) line: 147
QueryResolver.resolveCommand(Command, QueryMetadataInterface, boolean) line: 294
QueryResolver.resolveCommand(Command, GroupSymbol, int, QueryMetadataInterface) line: 168
I've asked Steve to take a look at this...
Error while validating Web service operation transformation points to
source in underlying error-free model
-----------------------------------------------------------------------------------------------------------
Key: TEIIDDES-1109
URL:
https://issues.jboss.org/browse/TEIIDDES-1109
Project: Teiid Designer
Issue Type: Bug
Components: Validation
Affects Versions: 7.4.2
Reporter: Paul Nittel
Assignee: Mark Drilling
Priority: Critical
Fix For: 7.7
Attachments: UpdateableWebSvc_MPS.zip
I'm executing the Updateable Web Service test and have encountered a new error.
I'm working on the operation that does inserts. The SQL is sending the update info to
the view model that has the INSERT transformation. When I validate the procedure, I get
ERROR: Products.PRODUCTSYMBOLS does not exist.
That actually exists as a source underlying the Updates model, not the Web Service. So
how can the underlying transformation be valid and this one not be? (At least relative to
this particular table in question.)
I'd be happy to find out it was something I did incorrectly, but the error message is
pretty weak in conveying meaningful information.
Given the ubiquitous nature of Web services, I'm marking this bug as
"critical". It could be a blocker, but I'll let someone else make that call.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira