You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When bundles get redeployed, I expect extensions such as Behaviours and Actions to be correctly undeployed and then re-deployed
Current Behavior
When bundles having Behaviours and Actions get redeployed without being explicitly deleted first, that often results in problems when dealing with the concerned features (Behaviours running multiple times, action with forms not being available through the share interface..)
Possible Solution
When installing a bundle, check first if an other bundle with the same ID does exist, in which case delete (undeploy) it before going forward with the process
Steps to Reproduce (for bugs)
Create a bundle with Behaviours, Actions having forms
Deploy and re-deploy the bundle over and over again
try to access the action form through share / trigger an action that would trigger a behaviour from your bundle
The form is not shown (an error is shown instead) / the Behaviour will (possibly) execute multiple times even though there was a single trigger
Context
This bug is particularly annoying when hot re-deployment are made to production systems and then some feature become either unusable or blocking until system is restarted (or the DE bundle is deleted explicitly then redeployed, which does not always works)
Your Environment
Alfresco version used: 5.1 EE
DE version used: 1.4.2
The text was updated successfully, but these errors were encountered:
yregaieg
changed the title
BUG: When bundles get redeployed, some objects/references do not get redeployed correctly
When bundles get redeployed, some objects/references do not get redeployed correctly
Jan 10, 2018
Are the Behaviours and Actions registered the 'Dynamic Extensions' way, by using the corresponding annotations?
I have had similar issues with Behaviours where I used the policyComponent directly to register my behaviour.
That was ages ago, sorry I don't recall if this was related to annotation based behaviours but indeed if the behaviour is bound manually using policyComponent, I would expect the reference to remain unless the developer de-register it explicitely when bundle is unloaded... So I guess this one was meant for Annotation based behaviours ..
I'm submitting a ... (check one with "x")
Expected Behavior
When bundles get redeployed, I expect extensions such as Behaviours and Actions to be correctly undeployed and then re-deployed
Current Behavior
When bundles having Behaviours and Actions get redeployed without being explicitly deleted first, that often results in problems when dealing with the concerned features (Behaviours running multiple times, action with forms not being available through the share interface..)
Possible Solution
When installing a bundle, check first if an other bundle with the same ID does exist, in which case delete (undeploy) it before going forward with the process
Steps to Reproduce (for bugs)
Context
This bug is particularly annoying when hot re-deployment are made to production systems and then some feature become either unusable or blocking until system is restarted (or the DE bundle is deleted explicitly then redeployed, which does not always works)
Your Environment
The text was updated successfully, but these errors were encountered: