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

2017-09-18 07:53:06 GMT <monica_> hello everyone. I need help with this - https://community.alfresco.com/thread/183864-behaviour

2017-09-18 07:53:08 GMT <alfbot> Title: Behaviour | Alfresco Community (at community.alfresco.com)

2017-09-18 07:56:27 GMT <AFaust> monica_: Please do not revive ancient threads - they will usually not be noticed by the original poster (who may have long gone from the platform) or other people on the platform. Create a new question and always include your own details, e.g. what you are trying to do and how the problem appears to you. Don't just "Me too" something - there might be slight differences in your case that may be important

2017-09-18 07:57:56 GMT <angelborroy> monica_ on a first reading, it looks like you are trying to associate a Class behaviour to a property (PROP)

2017-09-18 07:58:58 GMT <angelborroy> monica_ I recommend you to study this https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html

2017-09-18 07:58:59 GMT <alfbot> Title: Implementing Custom Behaviors in Alfresco | ECM Architect | Alfresco Developer Tutorials (at ecmarchitect.com)

2017-09-18 07:59:10 GMT <angelborroy> monica_ and even this https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html

2017-09-18 07:59:11 GMT <alfbot> Title: Working With Custom Content Types in Alfresco | ECM Architect | Alfresco Developer Tutorials (at ecmarchitect.com)

2017-09-18 08:01:18 GMT <AFaust> monica_: I replied to this thread with basically the same conclusion that angelborroy gave you - the original poster made a mistake in his registration code

2017-09-18 08:01:41 GMT <monica_> I have created an action to move files according to the properties in file name itself. now, after movement if I am updating the file name, It must move to the different place accordingly

2017-09-18 08:01:53 GMT <monica_> for this, I am creating a behaviour

2017-09-18 08:02:26 GMT <monica_> I am getting an exception Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Class {http://www.alfresco.org/model/content/1.0}name has not been defined in the data dictionary

2017-09-18 08:02:40 GMT <angelborroy> as I said you can bind behaviours to Classes but you cannot bind behaviours to properties

2017-09-18 08:02:48 GMT <angelborroy> you have to bind the behaviour to cm:content

2017-09-18 08:03:10 GMT <AFaust> And the error message says it all: "Class XY has not been defined" - because cm:name is not a class, it is a property...

2017-09-18 08:03:11 GMT <angelborroy> and the you can process the cm:name modification according to your requirements inside the method

2017-09-18 08:04:06 GMT <DarkStar1> Good morning everyone

2017-09-18 08:16:48 GMT *** ChanServ sets mode: +o fcorti

2017-09-18 08:18:51 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com Channel help: https://community.alfresco.com/ Official support for Enterprise subscribers: http://support.alfresco.com. Next event is Alfresco Global Hack-a-thon, the 22th of September http://ow.ly/fhd730fedin."

2017-09-18 08:19:06 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com Channel help: https://community.alfresco.com/ Official support for Enterprise subscribers: http://support.alfresco.com. Next event is the Alfresco Global Hack-a-thon, the 22th of September http://ow.ly/fhd730fedin."

2017-09-18 09:05:35 GMT <yreg> Good morning Guys !

2017-09-18 09:08:15 GMT <DarkStar1> yreg: Hey dude. How's the weather down there?

2017-09-18 09:11:45 GMT <yreg> DarkStar1, hey !

2017-09-18 09:11:50 GMT <yreg> a bit better this week

2017-09-18 09:12:22 GMT <DarkStar1> yreg: No mini monsoon rain like we had over here yesterday then? :)

2017-09-18 09:14:34 GMT <yreg> nope, yesterday was really sunny :)

2017-09-18 09:39:26 GMT <fwu> hi all!

2017-09-18 09:42:31 GMT <MTielemans> AFaust, when talking about how to properly do paging some time ago by limiting a sorted property in the query, you mentioned that I'd have to use a CMIS query, I think you said because Lucene doesn't support LTE/GTE operators properly. Do you remember what you meant by this?

2017-09-18 09:43:03 GMT <MTielemans> Because it seems to me you can use Lucene/alfresco-fts just fine to filter on number or date ranges.

2017-09-18 09:43:44 GMT <yreg> MTielemans, for solr based queries yes that would work

2017-09-18 09:44:04 GMT <yreg> for Transactional Metadata Queries, that is not supported

2017-09-18 09:44:06 GMT <AFaust> I meant that Alfresco FTS does not support LT/LTE/GT/GTE operators. True, FTS supports ranges, but ranges are not supported for performing transactional metadata queries, so they would go to SOLR and there you don't have that pagination issue

2017-09-18 09:45:03 GMT * AFaust wishes other people would also respond in long form instead of multiple statements, so he won't always be second...

2017-09-18 09:45:19 GMT <yreg> hehe

2017-09-18 09:45:31 GMT <MTielemans> Haha

2017-09-18 09:46:18 GMT <MTielemans> I don't quite understand how SOLR doesn't have the pagination issues. Aren't SOLR searches wrapped by the same ACL permission check logic?

2017-09-18 09:47:44 GMT <yreg> AFaust, since you are already distracted from what ever you were doing, here is a second question: I am trying to extend the toolbar in repository/document-library / ... to include hierarchical menu for node templates

2017-09-18 09:48:26 GMT <AFaust> Hope it will be fast - have a checkup at the dentist in ~20 minutes

2017-09-18 09:48:27 GMT <yreg> I was starting to customize the good old YUI widget when I noticed the Aikau one

2017-09-18 09:48:39 GMT <yreg> is it the aikau one ever used in share

2017-09-18 09:50:30 GMT <yreg> or customizing the UI stuff is enough

2017-09-18 09:51:05 GMT <AFaust> MTielemans: Not really, SOLR does ACL permission checks on SOLR tier already and only returns the page you asked for...

2017-09-18 09:51:37 GMT <MTielemans> AFaust, Interesting! Never noticed that. Will have to dive into it. Thanks a ton.

2017-09-18 09:51:39 GMT <AFaust> Whereas for TMQ the Repository-tier does a full SQL select and then does ACL permission checks on each result

2017-09-18 09:52:21 GMT <AFaust> yreg: The Aikau document library stuff is not used anywhere in Share. Parts of it may be used for the faceted search, but that's about it

2017-09-18 09:52:48 GMT <AFaust> It always was "experimental" and I often argued that they should get it done and replace YUI2 with it, to give traction to Aikau.

2017-09-18 09:53:17 GMT <AFaust> If it'd be the new doclib standard then adoption by community and improvements via contributions might have actually worked out...

2017-09-18 09:57:23 GMT <yreg> thanks

2017-09-18 10:56:44 GMT <fwu> fcorti, hello

2017-09-18 10:57:01 GMT <fcorti> Hi fwu, how are you?

2017-09-18 10:57:06 GMT <fwu> Im back to Alflytics again. Im trying custom types now.

2017-09-18 10:57:10 GMT <fwu> fine thank you

2017-09-18 10:57:16 GMT <fwu> sorry for being so late on this

2017-09-18 10:57:21 GMT <fcorti> nice to here

2017-09-18 10:57:43 GMT <fcorti> don't apologize... we are not paying you for this :-)

2017-09-18 10:57:46 GMT <fwu> i will test the custom models now.

2017-09-18 10:57:51 GMT <fcorti> nice!

2017-09-18 10:57:56 GMT <fcorti> Let me know how it goes

2017-09-18 10:58:05 GMT <fcorti> I'm aware about several experimentation with success

2017-09-18 10:58:08 GMT <fwu> yes, I will

2017-09-18 10:58:08 GMT <fcorti> in the latest weeks

2017-09-18 10:58:15 GMT <fwu> nice!

2017-09-18 10:58:37 GMT <fcorti> and I'm working on new stuff... ;-)

2017-09-18 11:20:41 GMT <fwu> fcorti, nice :)

2017-09-18 12:03:58 GMT <douglascrp> morning

2017-09-18 14:00:24 GMT *** DarkSta__ is now known as DarkStar1

2017-09-18 14:39:41 GMT <yreg> is it me doing things wrong or does the new SDK really sucks when overriding OOTB assets ?

2017-09-18 15:05:25 GMT <kgastaldo> Hi All - I have a bit of a throwback question for you. What's the first version of Alfresco you worked on? I'm looking to see how far back our experience goes!

2017-09-18 15:07:55 GMT <yreg> Kristen, I started with 4.2.c, but I also had to maintain 4.0 and 3.4 at some point

2017-09-18 15:08:31 GMT <fwu> 4.2.f in my case

2017-09-18 15:09:36 GMT <tfdsimoes> 201702 ^_^

2017-09-18 15:16:01 GMT <kgastaldo> Awesome, thanks. This is two fold. I need a bit of rhetoric around our years of expertise in community - and it'll be helpful in the hackathon project for community clean up. How old is TOO old to be helpful, etc.

2017-09-18 15:16:51 GMT <douglascrp> yreg, what exactly are you trying to override?

2017-09-18 15:17:07 GMT <douglascrp> kgastaldo, 3.0

2017-09-18 15:18:15 GMT <douglascrp> it was when I started playing with Alfresco, but 3.4 was the first real production server

2017-09-18 15:23:54 GMT <yreg> douglascrp, toolbar.js

2017-09-18 15:24:11 GMT <yreg> I have hotswap correctly configured

2017-09-18 15:25:01 GMT <yreg> I already know that I needed the -min.js as alfresco will default to it, so I went along and created it but it does never refresh without restarting the whole thing

2017-09-18 15:31:09 GMT <douglascrp> yreg, ah, got it

2017-09-18 15:31:19 GMT <douglascrp> yreg, I thought you were talking about generating the amp

2017-09-18 15:32:18 GMT <bmejias> kgastaldo 3.3

2017-09-18 15:33:23 GMT <bmejias> working on a migration of a connector for a object storage...

2017-09-18 15:33:30 GMT <bmejias> migrating the connector from 3.1

2017-09-18 15:34:01 GMT <bmejias> also migrations from 3.4 to 4.x, and from 4.x to 5.x.

2017-09-18 15:34:54 GMT <bmejias> so, experience for the hackathon based on the system part of the migrations.... and very little on changing the java code, as on the object storage

End of Daily Log

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