[JBoss JIRA] (TEIID-1847) Salesforce connector does not report UnexpectedErrorFault exceptions correctly when calling getUpdated
by Van Halbert (Moved) (JIRA)
[ https://issues.jboss.org/browse/TEIID-1847?page=com.atlassian.jira.plugin... ]
Van Halbert moved JBEDSP-1270 to TEIID-1847:
--------------------------------------------
Project: Teiid (was: JBoss Enterprise Data Services Platform)
Key: TEIID-1847 (was: JBEDSP-1270)
Affects Version/s: (was: 5.5.4)
Component/s: Salesforce Connector
(was: Connectors)
> Salesforce connector does not report UnexpectedErrorFault exceptions correctly when calling getUpdated
> ------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1847
> URL: https://issues.jboss.org/browse/TEIID-1847
> Project: Teiid
> Issue Type: Bug
> Components: Salesforce Connector
> Reporter: Marc Shirley
> Labels: salesforce
>
> When encountering an UnexpectedErrorFault with com.sforce.soap.partner.SoapBindingStub.GetUpdated(), com.metamatrix.connector.salesforce.connection.SalesforceConnection.getUpdated() throws a null error message instead of the message returned from Salesforce. It appears that the getUpdated() method is using java.rmi.RemoteException.getMessage() when it should be using SFDC com.sforce.soap.partner.fault.ApiFault.getExceptionMessage() for "UnexpectedErrorFault" exceptions. Associated stack trace below.
> [Salesforce Connector_1246|9725_Worker_106|0] ERROR <CONNECTOR|0> Connector worker process failed for atomic-request=5707647.13.7.333713
> ConnectorException: Status ERROR: com.metamatrix.core code=0 null
> at com.metamatrix.connector.salesforce.connection.SalesforceConnection.getUpdated(SalesforceConnection.java:737)
> at com.metamatrix.connector.salesforce.execution.GetUpdatedExecutionImpl.execute(GetUpdatedExecutionImpl.java:65)
> at com.metamatrix.connector.salesforce.execution.ProcedureExecutionParentImpl.execute(ProcedureExecutionParentImpl.java:86)
> at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.processNewRequest(ConnectorWorker.java:275)
> at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.process(ConnectorWorker.java:141)
> at com.metamatrix.common.queue.QueueWorker.run(QueueWorker.java:64)
--
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
13 years, 10 months
[JBoss JIRA] (TEIID-1845) CLONE - Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio
by Steven Hawkins (Moved) (JIRA)
[ https://issues.jboss.org/browse/TEIID-1845?page=com.atlassian.jira.plugin... ]
Steven Hawkins moved TEIIDDES-1158 to TEIID-1845:
-------------------------------------------------
Project: Teiid (was: Teiid Designer)
Key: TEIID-1845 (was: TEIIDDES-1158)
Affects Version/s: 7.2
(was: 7.2)
(was: 7.3)
(was: 7.4)
(was: 7.5)
Component/s: Query Engine
(was: Teiid Integration)
> CLONE - Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio
> ------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1845
> URL: https://issues.jboss.org/browse/TEIID-1845
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.2
> Environment: JBoss Developer Studio 4.0
> JBoss Developer Studio 4.1
> Reporter: Johnathon Lee
> Fix For: 7.6
>
>
> /*+ cache */
> CREATE VIRTUAL PROCEDURE
> SELECT 'winning';
> BEGIN
> END
> The cache hint is saved w/the Command Object even though it is not reflected in the display of the text after validation.
> com.metamatrix.query.internal.ui.sqleditor.component.QueryDisplayComponent:313 & 314
> The Command object on these lines has a member cacheHint, holding the reference to the cacheHint, this is ignored when the sqlText is set with the line:
> this.sqlText = sqlDisplayNode.toDisplayString();
--
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
13 years, 10 months
[JBoss JIRA] (TEIID-1845) Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio
by Steven Hawkins (Updated) (JIRA)
[ https://issues.jboss.org/browse/TEIID-1845?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-1845:
----------------------------------
Summary: Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio (was: CLONE - Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio)
Assignee: Steven Hawkins
Fix Version/s: 7.6
Priority: Minor (was: Major)
Description:
/*+ cache */
CREATE VIRTUAL PROCEDURE
BEGIN
SELECT 'winning';
END
The cache hint is saved w/the Command Object even though it is not reflected in the display of the text after validation.
com.metamatrix.query.internal.ui.sqleditor.component.QueryDisplayComponent:313 & 314
The Command object on these lines has a member cacheHint, holding the reference to the cacheHint, this is ignored when the sqlText is set with the line:
this.sqlText = sqlDisplayNode.toDisplayString();
was:
/*+ cache */
CREATE VIRTUAL PROCEDURE
SELECT 'winning';
BEGIN
END
The cache hint is saved w/the Command Object even though it is not reflected in the display of the text after validation.
com.metamatrix.query.internal.ui.sqleditor.component.QueryDisplayComponent:313 & 314
The Command object on these lines has a member cacheHint, holding the reference to the cacheHint, this is ignored when the sqlText is set with the line:
this.sqlText = sqlDisplayNode.toDisplayString();
> Cache hint not being displayed after validation of Virtual Procedure in JBoss Developer Studio
> ----------------------------------------------------------------------------------------------
>
> Key: TEIID-1845
> URL: https://issues.jboss.org/browse/TEIID-1845
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.2
> Environment: JBoss Developer Studio 4.0
> JBoss Developer Studio 4.1
> Reporter: Johnathon Lee
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 7.6
>
>
> /*+ cache */
> CREATE VIRTUAL PROCEDURE
> BEGIN
> SELECT 'winning';
> END
> The cache hint is saved w/the Command Object even though it is not reflected in the display of the text after validation.
> com.metamatrix.query.internal.ui.sqleditor.component.QueryDisplayComponent:313 & 314
> The Command object on these lines has a member cacheHint, holding the reference to the cacheHint, this is ignored when the sqlText is set with the line:
> this.sqlText = sqlDisplayNode.toDisplayString();
--
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
13 years, 10 months