IsPublishableObject forces readMetadata whenever somebody selects an object in the navigator [was #8910]
To reproduce, click an object in the navigator. This will cause a readMetadata() call that originates in TG-publish. This isn't neccessary since a TGO that is in the navigator or search results will already have its metadata loaded. You can enable reads tracing by [enabling all of the following tracing options|http://www.textgrid.de/intern/wiki1/wiki/Eclipse-HOWTO_%7C_Debugausgaben.html]: * itl.core.model/debug * itl.core.efs.tgcrud/debug * itl.core.efs.tgcrud/debug/reads You'll get log file entries pointing to the culprit like the following: {quote} -- Error Details -- Date: Mon Jun 27 11:48:43 CEST 2011 Message: Called readMetadata on Die Lerche (textgrid:6fx6.0) Severity: Info Product: Eclipse SDK 3.6.2.v201102101200 (org.eclipse.sdk.ide) Plugin: info.textgrid.lab.core.model Session Data: eclipse.buildId=unknown java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Framework arguments: -product info.textgrid.lab.core.application.product Command-line arguments: -product info.textgrid.lab.core.application.product -data /home/vitt/TextGrid/Software/Workspaces/TextGridLab-1.0/../runtime-textgridlab.product -dev file:/home/vitt/TextGrid/Software/Workspaces/TextGridLab-1.0/.metadata/.plugins/org.eclipse.pde.core/textgridlab.product/dev.properties -debug /home/vitt/TextGrid/Software/Workspaces/TextGridLab-1.0/.metadata/.plugins/org.eclipse.pde.core/textgridlab.product/.options -os linux -ws gtk -arch x86 -consoleLog Exception Stack Trace: java.lang.Exception at info.textgrid.lab.core.model.TextGridObject.doReadMetadata(TextGridObject.java:546) at info.textgrid.lab.core.model.TextGridObject.reloadMetadata(TextGridObject.java:1172) at info.textgrid.lab.tgpublish.client.gui.tester.IsPublishableObject$1.run(IsPublishableObject.java:77) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {quote}