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-06-03 07:55:03 GMT <rluders> Hey folks, let me ask you all something... Is it possible to respond a JSON response from a JavaScript WebScript without having a template? Any doc about it? Or any idea?

2019-06-03 08:00:03 GMT <alfresco-discord> <yreg> not possible AFAIK

2019-06-03 08:04:12 GMT <AFaust> yreg is correct - there will be a hard-exception if no template is found

2019-06-03 08:04:35 GMT <AFaust> It is forced by the DeclarativeWebScript class which handles all non-Java-backed web scripts

2019-06-03 08:08:35 GMT <rluders> Ok, thanks. :)

2019-06-03 10:41:46 GMT <AFaust> angelborroy: Was your blog post inspired by the guy asking about SOAP / AtomPub CMIS handling last week?

2019-06-03 10:56:53 GMT <angelborroy> Yep

2019-06-03 10:57:07 GMT <angelborroy> Any other feedback will be welcomed, of course

2019-06-03 11:28:42 GMT <angelborroy> I can produce an equivalent blog post for AtomPub if required

2019-06-03 11:57:12 GMT <AFaust> Nah... AtomPub / SOAP should go the way of the dinosaurs.

2019-06-03 11:57:39 GMT <AFaust> And since we all know CMIS is equally dead as a standard, I would not waste too much effort with that anyway.

2019-06-03 12:01:16 GMT <alfresco-discord> <yreg> It' s a standard which was never standardized IMHO 😄

2019-06-03 12:01:40 GMT <alfresco-discord> <yreg> (every vendor had his own small variations/extensions)

2019-06-03 12:01:51 GMT <alfresco-discord> <yreg> it wasn't that interoperable after all 😄

2019-06-03 12:05:06 GMT <angelborroy> Thanks AFaust, this makes my efforts to provide better information for Community useless :D

2019-06-03 12:09:04 GMT <AFaust> You can still provide information for Browser binding like you did.

2019-06-03 13:28:28 GMT <Tichodroma> Consider two platform JAR modules. Module A contains a model A XML that is referenced by a model B XML in module B. Model B fails to installed because model A is not known. Could this be an order problem?

2019-06-03 13:30:36 GMT <AFaust> Most certainly, because Spring initialisation order of modules is unrelated to any dependency declarations, and only based on file system / class loader ordering when discovering / parsing Spring XML

2019-06-03 13:31:06 GMT <AFaust> So module B's model XML can be loaded before module A even had a chance to bootstrap its model.

2019-06-03 13:31:20 GMT <Tichodroma> How to force model A to be loaded before model B?

2019-06-03 13:31:28 GMT <Tichodroma> I am open to name changes.

2019-06-03 13:31:55 GMT <AFaust> name changes do not guarantee order changes, depending on OS / JVM / class loader.

2019-06-03 13:32:08 GMT <AFaust> I have seen different orders for the exact same WAR composition on different machines.

2019-06-03 13:32:09 GMT <Tichodroma> :(

2019-06-03 13:32:36 GMT <AFaust> In that case, I would always put a depends-on on the bootstrap bean for model B, referencing the model A bootstrap bean.

2019-06-03 13:33:45 GMT <AFaust> Same way I also (try to) always put depends-on on my behaviour beans to depend on the model defining the types / aspects they reference for binding, as otherwise you could get issues in the init / method you are using to bind the behaviours...

2019-06-03 13:36:09 GMT <Tichodroma> OK, I will do some reordering.

2019-06-03 13:56:40 GMT <Tichodroma> Using depends-on works. TY

2019-06-03 14:04:54 GMT <Harlin> cmis was the only thing that seemed to work with Python though <sigh> at least there is requests module which makes http client a lot easier with rest api.

2019-06-03 14:05:53 GMT <AFaust> Harlin: If I am not mistake I saw you doing some Python - Alfresco API work on GitHub (judging from the user name)

2019-06-03 14:05:59 GMT <AFaust> mistake => mistaken

2019-06-03 14:06:15 GMT <Harlin> AFaust: you are right. I never got back to it. Cannot remember why :)

2019-06-03 14:06:58 GMT <AFaust> Used that as a bit of an inspiration to start work on a similar lib of mine (did not have any Python experience before). A customer of mine may need that soon-ish for their data analysis team.

2019-06-03 14:07:00 GMT <Harlin> Probably because of tdd and my lack of understanding about it.

2019-06-03 14:07:19 GMT <Harlin> oh cool, glad to hear that was in some way helpful :)

End of Daily Log

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