Community
Participate
Working Groups
Build Identifier: WTP 3.2 During server creation, there is a case where the framework will triggers a server publish even when publish after start is disabled on the preference page. Reproducible: Always
The problem is caused by auto publish is triggered when the ServerBehaviourDelegate is being created. However, the publish after server start flag on the preference page has not been checked before calling auto publish. Please assign this defect to me.
Created attachment 172967 [details] v1.0 The fix is to add the ServerCore.isAutoPublishing() flag check before kicking off an autopublish when the ServerBehaviourDelegate is initialized. This will make first initialization of the ServerBehaviourDelegate respect that publish after server start flag.
Thanks Elson. The patch looks good,I just made the comments shorter. This looks like a change for 3.2.1, as the preference (PREF_AUTO_PUBLISH) should be respected in all cases.
Changes committed to 32M
Changes committed to HEAD
Changes already released to HEAD and 32M
New Gerrit change created: https://git.eclipse.org/r/108964