Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2019-10-11 11:17:19 GMT <alfresco-discord> <dgradecak> what would be the best way to detect an assignment change on a task in APS 1.9? Usually I would do that in java code checking, in later versions (activiti/flowable) I think there is a new "event" to check

2019-10-11 11:17:43 GMT <alfresco-discord> <dgradecak> @yreg I guess you could know that?

2019-10-11 11:36:52 GMT <alfresco-discord> <yreg> @dgradecak not sure if org.activiti.engine.delegate.event.ActivitiEventType#TASK_ASSIGNED would fire upon each and every assignments

2019-10-11 11:37:20 GMT <alfresco-discord> <dgradecak> as far as I remember not, but will check that

2019-10-11 11:37:35 GMT <alfresco-discord> <yreg> anyway, I guess you could setup a TuntimeEventListener and breakpoint to check which events are thrown when you assign ๐Ÿ˜‰

2019-10-11 11:37:49 GMT <alfresco-discord> <dgradecak> sure

2019-10-11 11:37:59 GMT <alfresco-discord> <dgradecak> the question is not only for assign

2019-10-11 11:38:14 GMT <alfresco-discord> <dgradecak> but for a "property" change also, like due date for instance

2019-10-11 11:38:46 GMT <alfresco-discord> <dgradecak> I might be mistaken, but I think new events have been added in flowable 6 to cover those

2019-10-11 11:41:46 GMT <alfresco-discord> <yreg> there is something for entity updated

2019-10-11 11:41:54 GMT <alfresco-discord> <yreg> but you need to do the filtering yourself

2019-10-11 11:42:00 GMT <alfresco-discord> <yreg> check this sample : https://github.com/cijujoseph/activiti-examples/blob/master/activiti-custom-email-extension/src/main/java/com/customer/bpm/common/bean/CustomTaskAssignmentListener.java

2019-10-11 11:42:01 GMT <alfbot> Title:activiti-examples/CustomTaskAssignmentListener.java at master ยท cijujoseph/activiti-examples ยท GitHub (at github.com)

2019-10-11 11:42:11 GMT <alfresco-discord> <yreg> the whole repo is full of useful snippets

2019-10-11 11:48:14 GMT <alfresco-discord> <dgradecak> seems it has useful things in it, indeed

2019-10-11 12:15:19 GMT <alfresco-discord> <mbui> AFaust: You mentioned earlier that Alfresco SDK has nothing to do with an upgrade, i.e. you can upgrade to 6.x and still use SDK 2. However, when browsing the supported platform stack 5.2.x requires SDK 3 and 6.1 requires SDK 4. Are those simply recommendations/supported or won't the customizations work?

2019-10-11 13:05:31 GMT <alfresco-discord> <forgiven> Hello all! I am having 15gb log files from tomcat access. I'm thinking debugging must be turned on. How do i find out?

2019-10-11 13:07:19 GMT <alfresco-discord> <yreg> tomcat access is not related to debugging at all

2019-10-11 13:08:36 GMT <alfresco-discord> <forgiven> huh? it's tomcat access logs from alfresco install

2019-10-11 13:09:53 GMT <alfresco-discord> <forgiven> oh i see what your saying...

2019-10-11 13:10:32 GMT <alfresco-discord> <forgiven> so then how do i find out why these log files are so huge? Is there a way to turn off tomcat access?

2019-10-11 13:12:40 GMT <alfresco-discord> <Hans> in server.xml comment out <Valve className="org.apache.catalina.valves.AccessLogValve"....

2019-10-11 13:12:44 GMT <alfresco-discord> <Hans> and restart

2019-10-11 13:15:06 GMT <alfresco-discord> <forgiven> yea just checked this and see that valve is already commented out?

2019-10-11 13:17:11 GMT <alfresco-discord> <forgiven> the comment out was not typed right ๐Ÿ™‚ Completed the comment out and restarted alfresco

2019-10-11 14:44:37 GMT <AFaust> mbui: What I meant was: You can upgrade your Alfresco installation to Alfresco 6.1 and deploy your customisations on it, without having to upgrade to SDK 4, because your customisations if built correctly on earlier SDKs and provided they do not touch any APIs that have changed (Quartz) should still be compatible.

2019-10-11 14:44:58 GMT <AFaust> E.g. we built OOTBee Support Tools on SDK 2.1 for a long time when it was already compatible with Alfresco 6.1

2019-10-11 14:46:05 GMT <AFaust> And with regards to the "Supported Plattforms" documentation of Alfresco, always take that with a grain of salt. This ONLY lists the combinations of versions which they have specifically tested / tried (not even that in some cases), so it is their "intended" state of support.

2019-10-11 14:48:53 GMT <AFaust> Where SDK support plays a big role is in running your extensions in a runtime Alfresco instance managed by the Maven process (e.g. for integration tests), because there they have royally screwed up cross-version compatibility by switching runner concepts / configurations over and over

2019-10-11 14:51:14 GMT <AFaust> So, if your customisations / extension a) does not need to be run in a Maven managed / initialised Alfresco instance and b) you are not touching on any of the changed / incompatible APIs, THEN you can use almost any version of SDK

2019-10-11 14:52:00 GMT <AFaust> oh, and c) if you are not too particular about the packaging format, so are fine with either AMP or JAR (so, no ideological / religious crusader for JAR)

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco