[JBoss JIRA] (TEIIDDES-2698) REST procedure in genrated dynamic VDB does not work
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2698?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2698:
----------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1273841
Bugzilla Update: Perform
> REST procedure in genrated dynamic VDB does not work
> ----------------------------------------------------
>
> Key: TEIIDDES-2698
> URL: https://issues.jboss.org/browse/TEIIDDES-2698
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 9.0.4
> Reporter: Andrej Šmigala
> Attachments: DynamicProcedureProject.zip
>
>
> When a VDB containing view model with a REST procedure is exported as a dynamic VDB, the resulting autogenrated WAR does not work. This is because the generated DDL does not contain the OPTIONS clause with REST properties, not does it contain the required SET NAMESPACE statement
> Generated DDL:
> {code:sql}
> CREATE VIRTUAL PROCEDURE testProc (p1 string(4000))
> AS
> BEGIN
> SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
> END;
> {code}
> Expected DDL (note that this also incorporates TEIIDDES-2697):
> {code:sql}
> SET NAMESPACE 'http://teiid.org/rest' AS REST;
> CREATE VIRTUAL PROCEDURE testProc (p1 string(4000)) RETURNS TABLE (xml_out xml) OPTIONS ("REST:METHOD" 'GET', "REST:URI" 'test/{p1}')
> AS
> BEGIN
> SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
> END;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2698) REST procedure in genrated dynamic VDB does not work
by Andrej Šmigala (JIRA)
Andrej Šmigala created TEIIDDES-2698:
----------------------------------------
Summary: REST procedure in genrated dynamic VDB does not work
Key: TEIIDDES-2698
URL: https://issues.jboss.org/browse/TEIIDDES-2698
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 9.0.4
Reporter: Andrej Šmigala
Attachments: DynamicProcedureProject.zip
When a VDB containing view model with a REST procedure is exported as a dynamic VDB, the resulting autogenrated WAR does not work. This is because the generated DDL does not contain the OPTIONS clause with REST properties, not does it contain the required SET NAMESPACE statement
Generated DDL:
{code:sql}
CREATE VIRTUAL PROCEDURE testProc (p1 string(4000))
AS
BEGIN
SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
END;
{code}
Expected DDL (note that this also incorporates TEIIDDES-2697):
{code:sql}
SET NAMESPACE 'http://teiid.org/rest' AS REST;
CREATE VIRTUAL PROCEDURE testProc (p1 string(4000)) RETURNS TABLE (xml_out xml) OPTIONS ("REST:METHOD" 'GET', "REST:URI" 'test/{p1}')
AS
BEGIN
SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
END;
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2697) Virtual procedure in generated dynamic VDB does not return result set
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2697?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2697:
----------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1273832
Bugzilla Update: Perform
> Virtual procedure in generated dynamic VDB does not return result set
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-2697
> URL: https://issues.jboss.org/browse/TEIIDDES-2697
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 9.0.4
> Reporter: Andrej Šmigala
> Attachments: DynamicProcedureProject.zip
>
>
> When a VDB containing view model with a virtual procedure is exported as a dynamic VDB, the virtual procedure does not return any results. This is because the generated DDL does not contain the RETURNS clause.
> Generated DDL:
> {code:sql}
> CREATE VIRTUAL PROCEDURE testProc (p1 string(4000))
> AS
> BEGIN
> SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
> END;
> {code}
> Expected DDL:
> {code:sql}
> CREATE VIRTUAL PROCEDURE testProc (p1 string(4000)) RETURNS TABLE ( xml_out xml)
> AS
> BEGIN
> SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
> END;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2697) Virtual procedure in generated dynamic VDB does not return result set
by Andrej Šmigala (JIRA)
Andrej Šmigala created TEIIDDES-2697:
----------------------------------------
Summary: Virtual procedure in generated dynamic VDB does not return result set
Key: TEIIDDES-2697
URL: https://issues.jboss.org/browse/TEIIDDES-2697
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 9.0.4
Reporter: Andrej Šmigala
Attachments: DynamicProcedureProject.zip
When a VDB containing view model with a virtual procedure is exported as a dynamic VDB, the virtual procedure does not return any results. This is because the generated DDL does not contain the RETURNS clause.
Generated DDL:
{code:sql}
CREATE VIRTUAL PROCEDURE testProc (p1 string(4000))
AS
BEGIN
SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
END;
{code}
Expected DDL:
{code:sql}
CREATE VIRTUAL PROCEDURE testProc (p1 string(4000)) RETURNS TABLE ( xml_out xml)
AS
BEGIN
SELECT XMLELEMENT(NAME test, XMLFOREST(ProcedureModel.testProc.p1 AS elem1, 'elem2' AS elem2)) AS xml_out;
END;
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2678) Cannot execute VDB which include UDF
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2678?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2678.
----------------------------------
> Cannot execute VDB which include UDF
> ------------------------------------
>
> Key: TEIIDDES-2678
> URL: https://issues.jboss.org/browse/TEIIDDES-2678
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 9.0.4
> Environment: Windows 7 64bit
> Reporter: Matej Kralik
> Assignee: Paul Richardson
> Priority: Blocker
> Labels: verified_jbdsis-8.0.4.CR2
> Fix For: 9.0.4, 9.2
>
> Attachments: user-defined-function-example.zip, Windows 7.png, windowsUDF.zip
>
>
> When I want execute VDB which include view Table with user define function, show me this dialog in the teiid designer : "Cannot execute VDB - still loading" and server show this stack trace:
> {noformat}
> ERROR [stderr] (teiid-async-threads - 1) Exception in thread "teiid-async-threads - 1" org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF "ConcatNull", since its invocation class "userdefinedfunctions.ConcatNull" could not be found.
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:285)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.addFunction(FunctionTree.java:190)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.<init>(FunctionTree.java:91)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.CompositeVDB.buildTransformationMetaData(CompositeVDB.java:85)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.CompositeVDB.metadataLoadFinished(CompositeVDB.java:265)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.VDBRepository.finishDeployment(VDBRepository.java:291)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.runtime.AbstractVDBDeployer.metadataLoaded(AbstractVDBDeployer.java:202)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService.access$1100(VDBService.java:85)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService$6.run(VDBService.java:411)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService$7.run(VDBService.java:442)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Thread.run(Thread.java:745)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) Caused by: java.lang.ClassNotFoundException: userdefinedfunctions.ConcatNull from [Module "deployment.UdfVdb.vdb:main" from Service Module Loader]
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Class.forName0(Native Method)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Class.forName(Class.java:348)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.UDFSource.getInvocationClass(UDFSource.java:43)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:275)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) ... 13 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2678) Cannot execute VDB which include UDF
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2678?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-2678:
---------------------------------------------------
Matus Makovy <mmakovy(a)redhat.com> changed the Status of [bug 1268864|https://bugzilla.redhat.com/show_bug.cgi?id=1268864] from NEW to VERIFIED
> Cannot execute VDB which include UDF
> ------------------------------------
>
> Key: TEIIDDES-2678
> URL: https://issues.jboss.org/browse/TEIIDDES-2678
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 9.0.4
> Environment: Windows 7 64bit
> Reporter: Matej Kralik
> Assignee: Paul Richardson
> Priority: Blocker
> Labels: verified_jbdsis-8.0.4.CR2
> Fix For: 9.0.4, 9.2
>
> Attachments: user-defined-function-example.zip, Windows 7.png, windowsUDF.zip
>
>
> When I want execute VDB which include view Table with user define function, show me this dialog in the teiid designer : "Cannot execute VDB - still loading" and server show this stack trace:
> {noformat}
> ERROR [stderr] (teiid-async-threads - 1) Exception in thread "teiid-async-threads - 1" org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF "ConcatNull", since its invocation class "userdefinedfunctions.ConcatNull" could not be found.
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:285)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.addFunction(FunctionTree.java:190)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.<init>(FunctionTree.java:91)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.CompositeVDB.buildTransformationMetaData(CompositeVDB.java:85)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.CompositeVDB.metadataLoadFinished(CompositeVDB.java:265)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.VDBRepository.finishDeployment(VDBRepository.java:291)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.runtime.AbstractVDBDeployer.metadataLoaded(AbstractVDBDeployer.java:202)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService.access$1100(VDBService.java:85)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService$6.run(VDBService.java:411)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService$7.run(VDBService.java:442)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Thread.run(Thread.java:745)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) Caused by: java.lang.ClassNotFoundException: userdefinedfunctions.ConcatNull from [Module "deployment.UdfVdb.vdb:main" from Service Module Loader]
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Class.forName0(Native Method)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Class.forName(Class.java:348)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.UDFSource.getInvocationClass(UDFSource.java:43)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:275)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) ... 13 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2678) Cannot execute VDB which include UDF
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2678?page=com.atlassian.jira.plu... ]
Matus Makovy updated TEIIDDES-2678:
-----------------------------------
Labels: verified_jbdsis-8.0.4.CR2 (was: )
> Cannot execute VDB which include UDF
> ------------------------------------
>
> Key: TEIIDDES-2678
> URL: https://issues.jboss.org/browse/TEIIDDES-2678
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 9.0.4
> Environment: Windows 7 64bit
> Reporter: Matej Kralik
> Assignee: Paul Richardson
> Priority: Blocker
> Labels: verified_jbdsis-8.0.4.CR2
> Fix For: 9.0.4, 9.2
>
> Attachments: user-defined-function-example.zip, Windows 7.png, windowsUDF.zip
>
>
> When I want execute VDB which include view Table with user define function, show me this dialog in the teiid designer : "Cannot execute VDB - still loading" and server show this stack trace:
> {noformat}
> ERROR [stderr] (teiid-async-threads - 1) Exception in thread "teiid-async-threads - 1" org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF "ConcatNull", since its invocation class "userdefinedfunctions.ConcatNull" could not be found.
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:285)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.addFunction(FunctionTree.java:190)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.<init>(FunctionTree.java:91)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.CompositeVDB.buildTransformationMetaData(CompositeVDB.java:85)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.CompositeVDB.metadataLoadFinished(CompositeVDB.java:265)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.deployers.VDBRepository.finishDeployment(VDBRepository.java:291)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.runtime.AbstractVDBDeployer.metadataLoaded(AbstractVDBDeployer.java:202)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService.access$1100(VDBService.java:85)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService$6.run(VDBService.java:411)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.jboss.VDBService$7.run(VDBService.java:442)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Thread.run(Thread.java:745)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) Caused by: java.lang.ClassNotFoundException: userdefinedfunctions.ConcatNull from [Module "deployment.UdfVdb.vdb:main" from Service Module Loader]
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
> 14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Class.forName0(Native Method)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at java.lang.Class.forName(Class.java:348)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.UDFSource.getInvocationClass(UDFSource.java:43)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:275)
> 14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) ... 13 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2264) Problem Saving view model: outer scope rule issue
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2264?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2264:
----------------------------------------
[~johnathonlee] The "out scope rule" is Eclipse error. I think we'd need some actual artifacts to reproduce.
I did find a thread: https://bugs.eclipse.org/bugs/show_bug.cgi?id=410011 that indicated it was coming from a older version of EGit... but who knows. Another linked to that BZ stated:
The problem was that IgnoreOperation#calcSchedulingRule and IgnoreOperation#addIgnore used different methods to get an IContainer from the IPath. In case of nested projects, this could result in them getting different IContainers, which lead to an error like "Attempted to beginRule: /container1, does not match outer scope rule /container2".
In Tom's case, there appears to be a "views" folder in the Project. Also he was trying figure out what corrupted his workspace by cloning a project (i.e. not extensively tested) first.
[~virtualdatabase] Tom, could you update your notes on this one? have you rebuilt your workspace and moved on? Do you have the Model Project that was "corrupted" available?
> Problem Saving view model: outer scope rule issue
> -------------------------------------------------
>
> Key: TEIIDDES-2264
> URL: https://issues.jboss.org/browse/TEIIDDES-2264
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.5
> Reporter: Tom Johnston
>
> While trying to figure out what corrupted my workspace I have done the following:
> Cloned my project.
> figured out the likely model containing the problem
> one by one copied off the transformations
> deleted the table that I felt was the issue.
> Saved
> I got this message upon saving:
> Problem occured:
> Attempted to beginRule: F/August/views, does not match outer scope rule: L/August/views/metadataStuff.xmi
> Attempted to beginRule: F/August/views, does not match outer scope rule: L/August/views/metadataStuff.xmi
> This is the stacktrace:
> java.lang.IllegalArgumentException: Attempted to beginRule: F/August/views, does not match outer scope rule: L/August/views/metadataStuff.xmi
> at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
> at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:134)
> at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:333)
> at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:85)
> at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:286)
> at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118)
> at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2283)
> at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1691)
> at org.eclipse.core.internal.resources.File.refreshLocal(File.java:333)
> at org.teiid.designer.core.workspace.ModelBufferImpl.save(ModelBufferImpl.java:509)
> at org.teiid.designer.core.workspace.OpenableImpl.save(OpenableImpl.java:319)
> at org.teiid.designer.core.workspace.ModelResourceImpl.save(ModelResourceImpl.java:1013)
> at org.teiid.designer.ui.viewsupport.ModelUtilities.saveModelResource(ModelUtilities.java:1750)
> at org.teiid.designer.ui.editors.ModelEditor$1.runInWorkspace(ModelEditor.java:416)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2696) Automatically recognize dynamic VDB content in new xml files
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2696?page=com.atlassian.jira.plu... ]
Andrej Šmigala closed TEIIDDES-2696.
------------------------------------
Resolution: Out of Date
Turns out this works in 9.2, closing
> Automatically recognize dynamic VDB content in new xml files
> ------------------------------------------------------------
>
> Key: TEIIDDES-2696
> URL: https://issues.jboss.org/browse/TEIIDDES-2696
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: VDB & Execution
> Affects Versions: 9.0.4
> Reporter: Andrej Šmigala
> Priority: Optional
>
> Designer currently does not support creating a new dynamic VDB from scratch. It is possible to create a new empty xml file and create/paste valid dynamic VDB contents in it, but it is only recognized as a dynamic VDB after saving and refreshing the project.
> Would be nice for Designer to recognize the dynamic VDB contents upon saving the xml file.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIIDDES-2696) Automatically recognize dynamic VDB content in new xml files
by Andrej Šmigala (JIRA)
Andrej Šmigala created TEIIDDES-2696:
----------------------------------------
Summary: Automatically recognize dynamic VDB content in new xml files
Key: TEIIDDES-2696
URL: https://issues.jboss.org/browse/TEIIDDES-2696
Project: Teiid Designer
Issue Type: Enhancement
Components: VDB & Execution
Affects Versions: 9.0.4
Reporter: Andrej Šmigala
Priority: Optional
Designer currently does not support creating a new dynamic VDB from scratch. It is possible to create a new empty xml file and create/paste valid dynamic VDB contents in it, but it is only recognized as a dynamic VDB after saving and refreshing the project.
Would be nice for Designer to recognize the dynamic VDB contents upon saving the xml file.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months