[
https://issues.jboss.org/browse/TEIID-2307?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2307.
-----------------------------------
Fix Version/s: (was: 8.3)
Resolution: Duplicate Issue
This is a regression from TEIID-2222, the fix will be checked in under that issue.
Issue in InsertResolver, using wrong iterator
---------------------------------------------
Key: TEIID-2307
URL:
https://issues.jboss.org/browse/TEIID-2307
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.3
Reporter: Van Halbert
Assignee: Van Halbert
The InsertResolver is referencing the wrong iterator. A NoSuchElement is being thrown
when it tries to process this section of the code:
Iterator<ElementSymbol> defaultIter = insertElmnts.iterator();
while(defaultIter.hasNext()) {
- ElementSymbol next = varIter.next();
+ ElementSymbol next = defaultIter.next();
ElementSymbol varSymbol = next.clone();
varSymbol.getGroupSymbol().setName(ProcedureReservedWords.CHANGING);
varSymbol.setType(DataTypeManager.DefaultDataClasses.BOOLEAN);
(~/RedHat/github/teiid) unknown001cfb5baa3b $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira