[
https://jira.jboss.org/browse/TEIIDDES-688?page=com.atlassian.jira.plugin...
]
Dan Florian resolved TEIIDDES-688.
----------------------------------
Resolution: Done
CreatePreviewVdbJob was changed to make sure the model's project is open. If the
project is closed this job does nothing. Added functionality in PreviewManager that runs
UpdatePreviewVdbJobs whenever a project is opened. This will ensure that the Preview VDBs
are all synchronized.
Closing project and saving dirty editor results in ResourceException
--------------------------------------------------------------------
Key: TEIIDDES-688
URL:
https://jira.jboss.org/browse/TEIIDDES-688
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview
Reporter: Barry LaFond
Assignee: Dan Florian
Fix For: 7.1.1
With Preview Data option enabled....
1) With open dirty editor (requires save)
2) Close it's project
3) Requires Save Dialog is presented, choose OK
4) Error stack trace below...
org.eclipse.core.internal.resources.ResourceException: Resource
'/SimpleDatatypesTest' is not open.
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:137)
at org.eclipse.core.internal.resources.File.create(File.java:123)
at org.eclipse.core.internal.resources.File.create(File.java:196)
at
org.teiid.designer.runtime.preview.jobs.CreatePreviewVdbJob.runImpl(CreatePreviewVdbJob.java:126)
at
org.teiid.designer.runtime.preview.jobs.WorkspacePreviewVdbJob.runInWorkspace(WorkspacePreviewVdbJob.java:126)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Guessing the close project thread is completing before the CreatePreviewVdbJob gets to
check it's project status.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira