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-08-09 06:29:47 GMT <chandu> Hello All

2017-08-09 06:43:53 GMT <chandu> Can please tell how can we create new custom menu for alfresco

2017-08-09 06:45:41 GMT <angelborroy> http://docs.alfresco.com/community/tasks/dev-extensions-share-tutorials-custom-share-header-menu.html

2017-08-09 06:45:42 GMT <alfbot> Title: Customizing the Share header menu (Aikau) | Alfresco Documentation (at docs.alfresco.com)

2017-08-09 06:52:44 GMT <chandu> Thank you angelborroy ;)

2017-08-09 07:26:53 GMT <fcorti> Good morning all.

2017-08-09 07:27:42 GMT <fcorti> If you want to know more about Governance Services, today's Tech Talk Live will give an introduction with David Webster, Roy Whetherall and Tom Page.

2017-08-09 07:27:44 GMT <fcorti> https://www.youtube.com/watch?v=FGCVH-W8Koc

2017-08-09 07:28:02 GMT <fcorti> It will happen at 4pm CEST timezone.

2017-08-09 08:41:55 GMT <AxelFaust> As if the Activiti (Process Serivces) WAR wasn't big enough, now (version 1.6.4) it includes a "lib-provided" folder which contains internal Tomcat JARs

2017-08-09 08:42:06 GMT <AxelFaust> ...and likely isn't even used at runtime

2017-08-09 08:43:33 GMT <AxelFaust> ...and no web.xml? How is that supposed to work?

2017-08-09 08:53:02 GMT <angelborroy> AxelFaust and yet… it works!

2017-08-09 09:03:37 GMT <AxelFaust> I just read up on Servlet 3.0 where web.xml is not required if you go all-in with the annotation insanity

2017-08-09 09:04:17 GMT <AxelFaust> ~later tell angelborroy: just read up on Servlet 3.0 where web.xml is not required if you go all-in with the annotation insanity

2017-08-09 09:04:17 GMT <alfbot> AxelFaust: The operation succeeded.

2017-08-09 09:38:22 GMT <fwu> hi all!

2017-08-09 09:44:58 GMT <alfbot> angelborroy: Sent 40 minutes ago: <AxelFaust> just read up on Servlet 3.0 where web.xml is not required if you go all-in with the annotation insanity

2017-08-09 10:36:50 GMT *** davidwebster_ is now known as davidwebster

2017-08-09 11:00:58 GMT <AFaust> fcorti: I don't know who to bug out in the open regarding the insanely useless Alfresco Process Services release notes document and issue management, so it's got to be you right now. I often wonder why it is so hard for Alfresco to apply lessons learned from other products to new ones that they start... Release notes of APS contain lots of issues with links to them, though the majority (if not all) of the tasks are typically non-accessible.

2017-08-09 11:01:55 GMT <AFaust> It took years of nagging, complaining etc. to get the Alfresco Content Services release notes to a proper state, and it is unclear why the same level of quality that was achieved there is completely lost on APS

2017-08-09 11:04:14 GMT <AFaust> So here I am working on a customer task to migrate APS from 1.6.0 to 1.6.4, and seeing lots of issues where I need to know the details to evaluate how this potentially affects existing processes and security concerns of the customer, but all I can do is "guess" and "trial&error" testing to determine the scope/limitations of changes...

2017-08-09 11:21:58 GMT <tushar> hi i am trying to preview autocad files on alfresco i able to make sucess in .dwg files

2017-08-09 11:22:26 GMT <tushar> but .dxf files are not being mapped properly

2017-08-09 11:22:55 GMT <tushar> file mimetype is image/vnd.dxf

2017-08-09 11:23:08 GMT <tushar> where as i am getting an error like

2017-08-09 11:23:35 GMT <tushar> Transformation of (Gear Sample-iss4.DXF) has not taken place because the declared mimetype (image/vnd.dxf) does not match the detected mimetype (text/plain).

2017-08-09 11:25:50 GMT <tushar> can anyone please help

2017-08-09 11:29:13 GMT <Tichodroma> tushar: take a look on the node details in the node browser: what is the mimetype in the content property?

2017-08-09 11:49:58 GMT <tushar> cm:content d:content contentUrl=store://2017/8/9/17/15/bf502a90-aa1e-45c2-8310-a69a95598b62.bin|mimetype=image/vnd-dxf|size=319173|encoding=UTF-8|locale=en_US_|id=297

2017-08-09 11:50:13 GMT <tushar> it is showing as mimetype=image/vnd-dxf

2017-08-09 11:52:02 GMT <Tichodroma> ok, that looks OK

2017-08-09 11:52:24 GMT <douglascrp> AFaust, it seems there are two completely segregated companies inside alfresco when you consider Process and Content Services

2017-08-09 11:52:33 GMT <Tichodroma> what do you use for transformation of files with this mimetype? I don't think it is something Alfresco includes.

2017-08-09 11:52:57 GMT <douglascrp> it seem they don't talk... weird, but that is the idea I always had, since when I started working with alfresco

2017-08-09 11:53:57 GMT <fwu> back

2017-08-09 11:54:32 GMT <AFaust> douglascrp: Sure - there has always been some kind of disconnect between developer groups within Alfresco, but the way in which APS is "different" (usually in a bad way) is amazing

2017-08-09 11:54:52 GMT <douglascrp> AFaust, I am not even following activiti development anymore

2017-08-09 11:55:10 GMT <douglascrp> for the new version, it seems they are simply throwing away everything that exists

2017-08-09 11:55:31 GMT <AFaust> Well - I also make a clear distinction between Activiti (core Engine) and the bolted-on solution APS...

2017-08-09 11:55:55 GMT <douglascrp> ah, right

2017-08-09 11:56:24 GMT <douglascrp> some days ago I posted some links here for questions not answered on the community

2017-08-09 11:56:42 GMT <douglascrp> one asks, will activiti community be compatible with ADF any time?

2017-08-09 11:56:46 GMT <douglascrp> so far, no answers

2017-08-09 11:57:09 GMT <douglascrp> so, really, I can not understand what is going on, or what are they trying to hide

2017-08-09 11:57:12 GMT <AFaust> If they now start to do major redos in the core engine to make it more compliant with the micro-service hipster trend, then it will certainly also get a question mark from my point of view

2017-08-09 11:57:14 GMT <douglascrp> really really weird

2017-08-09 11:57:33 GMT <AFaust> "what they are trying to hide" - the low level of implementation quality

2017-08-09 11:57:48 GMT <douglascrp> \o/

2017-08-09 11:58:00 GMT <AFaust> that would be an embarrasment if it were out in the open

2017-08-09 11:58:20 GMT <douglascrp> are you talking about the paid version?

2017-08-09 11:58:26 GMT <AFaust> also, lack of extensibility / customisability, because they are using the hipster annotation-based configuration model

2017-08-09 11:58:27 GMT <douglascrp> because I have no access to any of the paid products

2017-08-09 11:58:42 GMT <AFaust> yes, APS is the paid version

2017-08-09 11:58:43 GMT <tushar> @Tichodroma : i am using QCAD for my conversions

2017-08-09 11:58:49 GMT <douglascrp> AFaust, come on

2017-08-09 11:59:27 GMT <Tichodroma> tushar: somethink like this? https://github.com/verve111/alfresco_cad_support/

2017-08-09 11:59:28 GMT <alfbot> Title: GitHub - verve111/alfresco_cad_support: Alfresco CAD (dxf, dwg) preview support (at github.com)

2017-08-09 11:59:56 GMT <AFaust> douglascrp: I know I am quite vocal in my opposition to annotation-based dependency injection et al, but I can assure you it is all based in very painful experience

2017-08-09 12:00:31 GMT <AFaust> Try fixing a bug by introducing a sub-class in a annotation-hard-coded dependency constellation...

2017-08-09 12:00:58 GMT <douglascrp> AFaust, I trust on you

2017-08-09 12:11:02 GMT <douglascrp> AFaust, I mean, in your opinion

2017-08-09 12:16:29 GMT <tushar> yeah tichodroma

2017-08-09 12:22:46 GMT <fcorti_> Hi AFaust, I'm back from the spaghetti time

2017-08-09 12:23:00 GMT <AFaust> That was some long spaghetti...

2017-08-09 12:23:20 GMT <fcorti_> It depends when you start ;-)

2017-08-09 12:24:13 GMT <fcorti_> In nothern europe the pause is around 12am... at 12am we had breakfast a couple of hours before :-D

2017-08-09 12:24:59 GMT <fcorti_> To your point... there a lot to do on the Activiti side

2017-08-09 12:25:06 GMT <fcorti_> this is the bad news

2017-08-09 12:25:18 GMT <fcorti_> the good news is that things are changing and will change more

2017-08-09 12:26:17 GMT <fcorti_> Talking about the release note, the Activiti team (leaded by Mauricio Salatino) is giving a pure open source drive

2017-08-09 12:26:30 GMT <fcorti_> you probably saw the weekly update, etc...

2017-08-09 12:27:36 GMT <fcorti_> about APS, the path of being more closed to the ACS standard, is on the road

2017-08-09 12:28:19 GMT <fcorti_> You probably know that before the Activiti team was a "indipendent" team... sometime too much "indipendent" (and I'm not telling bad stuff)

2017-08-09 12:28:42 GMT <fcorti_> In practice: your thought seems to be on two topics

2017-08-09 12:28:53 GMT <fcorti_> 1) not readbale as it should be

2017-08-09 12:29:16 GMT <fcorti_> 2) too much ticket are "hidden" or not public

2017-08-09 12:30:09 GMT <fcorti_> For the point 1) => I take a note to talk with the Team that is leading all the Program Management and should check on this.

2017-08-09 12:30:38 GMT <fcorti_> I think we improved the relwease note for ADF... it will be easy to improve the Activiti one (I have some ideas on this I can suggest)

2017-08-09 12:31:20 GMT <fcorti_> Feel free to suggest, if you have thoughts or ideas... more than welcome as usual.

2017-08-09 12:31:37 GMT <fcorti_> I like the ADF version but... we are open for a discussion on this

2017-08-09 12:34:20 GMT <AFaust> I don't know if it requires ideas (plural) - one idea is sufficient (and I keep repeating myself for years on this): JIRA tasks included in release notes must - without exception - be public

2017-08-09 12:35:02 GMT <AFaust> And their comments must be public (discussion about implementation details et al)

2017-08-09 12:36:46 GMT <fcorti_> For point 2) => I don't know the reason of "too much" hidden tickets.

2017-08-09 12:37:07 GMT <AFaust> ADF release note style will not work - ADF is a UI library, so it is easy to quickly show how you can use a new feature...

2017-08-09 12:38:04 GMT <AFaust> APS as a complex solution will have many technical details that would blow up any release notes if you tried to merge examples into the release notes document...

2017-08-09 12:38:17 GMT <fcorti_> In principle you are right and should be done for the majority, at least. But I need to ask because it is not a "joke" for the developer to take hidden.

2017-08-09 12:39:09 GMT <fcorti_> Well, I cannot see a huige difference, talking about a release note. But again, I agree that today a long list of Jira ticket cannot be considered a good release note.

2017-08-09 12:39:52 GMT <AFaust> Historically, the most common reason was that some customer AND the support engineer was incapable or unwilling to provide a generic example to a reported issue, and they attached sensitive stuff in JIRA

2017-08-09 12:40:22 GMT <fcorti_> I saw similar cases like the one you say.

2017-08-09 12:40:26 GMT <fcorti_> It could be one reason.

2017-08-09 12:40:34 GMT <AFaust> Which basically is a quality of service / procedural issue with Support (aka "they are not doing their job right")

2017-08-09 12:40:54 GMT <fcorti_> well, this is too strong... :-D

2017-08-09 12:41:44 GMT <AFaust> I think not. In my point of view, the role of any customer support is to take issues from a customer, analyse them, and provide in a structurally abstracted to the engineering team

2017-08-09 12:42:47 GMT <AFaust> And to take care of customer data confidentiality, because they are the front-facing role and need to hold themselves free of any liability for handling information improperly

2017-08-09 12:44:16 GMT <fcorti_> Again, we are talking in theory. This does not mean that all the cases you are finding are included in this set.

2017-08-09 12:44:34 GMT <fcorti_> If all of them where similar to this, I are right

2017-08-09 12:44:37 GMT <fcorti_> you are right

2017-08-09 12:44:39 GMT <AFaust> Sure, I can't know for certain as long as they are not public

2017-08-09 12:44:53 GMT <fcorti_> yep... will check and tell you later on

2017-08-09 12:45:02 GMT <AFaust> It's just what I have been hearing from Richard and Support contacts over the years

2017-08-09 12:47:15 GMT <fcorti_> Let me try... as usual: not because I see, the issue will be solved (I'm not a wizard) but it's to understand

2017-08-09 12:47:24 GMT <fcorti_> Then I'll share the results here

2017-08-09 12:51:54 GMT <AFaust> If you need, the following issues were the more relevant ones I wanted to look into: ACTIVITI-768, ACTIVITI-1141, ACTIVITI-731,

2017-08-09 12:53:12 GMT <AFaust> ACTIVITI-911

2017-08-09 12:55:46 GMT <xai> If I have a NodeRef, how to get an email of it's owner?

2017-08-09 12:56:10 GMT <AFaust> 1) get the owner / creator of the node (which will be a user name)

2017-08-09 12:56:17 GMT <AFaust> 2) get the person for the user name

2017-08-09 12:56:24 GMT <AFaust> 3) get the email from that person node

2017-08-09 12:57:08 GMT <AFaust> creator: cm:creator owner: cm:owner (owner trumps creator, i.e. only if owner is not set will the creator be considered the owner)

2017-08-09 12:57:37 GMT <AFaust> at the minimum you only need the NodeService and PersonService for this (if you writing code in Java)

2017-08-09 12:58:08 GMT <xai> 1) "nodeService.getProperty(nodeRef, ContentModel.PROP_CREATOR)" -- right?

2017-08-09 12:58:45 GMT <AFaust> generally yes - though I typically recommend people avoid the getProperty() operation and prefer getProperties() especially, if they need to access more than one property

2017-08-09 12:59:01 GMT <xai> ok, I see, thanks

2017-08-09 12:59:48 GMT <AFaust> If you use too many getProperty() calls it can become noticable from a performance point of view (if you use the public service, which you always should)

2017-08-09 13:00:18 GMT <AFaust> It is just that the overhead of the public service accumulates in that case...

2017-08-09 13:07:11 GMT <Tichodroma> ideas how to set the label for a custom permission? Share displays it as roles.{http://www.alfresco.org/model/content/1.0}folder.myrole

2017-08-09 13:09:55 GMT <AFaust> I believe there was a i18n key name pattern for custom permissions that is used to resolve a i18n label

2017-08-09 13:10:17 GMT <AFaust> Depends on which UI fragment you are currently referring to

2017-08-09 13:10:48 GMT <Tichodroma> the permission editor screen: http://localhost:8080/share/page/context/shared/manage-permissions?nodeRef=workspace://SpacesStore/da15eeb0-0c25-40af-bdfa-c639ccbbcd7a

2017-08-09 13:11:20 GMT <Tichodroma> on this page the label of the permission in the drop down menu is in the long form

2017-08-09 13:17:17 GMT <AFaust> Tichodroma: Actually, roles.{http://www.alfresco.org/model/content/1.0}folder.myrole already is your i18n lookup key - you just have to provide a i18n label in a message bundle for that key

2017-08-09 13:17:45 GMT <AFaust> Just take care to escape all the special characters in that key...

2017-08-09 13:18:17 GMT <Tichodroma> !

2017-08-09 13:22:49 GMT <Tichodroma> AFaust: indeed, it works. Never thought that bundle keys would look like this!

2017-08-09 13:23:29 GMT <AFaust> Basically any string is allowed - you only have to keep in mind the encoding / escaping for bundles

2017-08-09 13:48:10 GMT <xai> AFaust: Ok, if I'm getting person by "NodeRef owner = personService.getPerson(ownerUsername)", how to get it's email? :)

2017-08-09 13:48:43 GMT * xai didn't find anything like UserModel or PersonModel

2017-08-09 13:49:04 GMT <AFaust> ContentModel.PROP_EMAIL

2017-08-09 13:49:14 GMT <xai> Ok, thanks

2017-08-09 13:50:26 GMT <fcorti_> Hi guys, in 10 minutes the Tech Talk Live 108 will happen about introducing Alfresco Governance Services with David Webster, Roy Wetherwall and Tom Page.

2017-08-09 13:50:29 GMT <fcorti_> https://youtu.be/FGCVH-W8Koc

2017-08-09 14:00:00 GMT <fcorti_> Tech Talk Live starts now! Join us (if you can). :-)

2017-08-09 14:00:37 GMT -yreg- TTL 108 is Live now ! ;-)

2017-08-09 14:01:14 GMT <fcorti_> \m/

2017-08-09 14:01:16 GMT <fcorti_> :-D

2017-08-09 14:08:26 GMT <yreg> Roy, you have a lot of noise in background

2017-08-09 14:08:41 GMT <yreg> sounds like your mike is scratching on some surface or something

2017-08-09 14:08:56 GMT <yreg> or is it my speakers ?

2017-08-09 14:09:39 GMT <fcorti_> Roy is in an open space in Maidenhead

2017-08-09 14:13:33 GMT <angelborroy> I’m hearing also the “mumble-mumble"

2017-08-09 14:14:16 GMT <fcorti_> voices from the room

2017-08-09 14:14:32 GMT <kgastaldo> You'll probably hear a bit of it with Tom too - but David is working from home, so a bit quieter.

2017-08-09 14:32:20 GMT <MorganP> Tom's voice is much clearer, even if there is also a small background

2017-08-09 14:32:25 GMT <MorganP> the mic is working properly at least

2017-08-09 14:32:47 GMT <fcorti_> yes, probable the Roy's mic was an issue

2017-08-09 14:41:39 GMT <xai> I added amps to amps{,_share}, restarted alfresco, but nothing changed. Is there a way to diagnose are that amps successfully loaded?

2017-08-09 14:42:22 GMT <Tichodroma> xai: did you run bin/apply_amps.sh ?

2017-08-09 14:42:35 GMT <xai> Tichodroma: oh, ok, thanks :)

2017-08-09 14:42:54 GMT <xai> Tichodroma: Is there a way to revert apply_amps.sh?

2017-08-09 14:43:07 GMT <xai> (should I do a full backup before that?)

2017-08-09 14:43:09 GMT <Tichodroma> not really

2017-08-09 14:43:10 GMT <fcorti_> Asked! let me know if the answer is ok for you.

2017-08-09 14:43:15 GMT <Tichodroma> make a backup of the wars

2017-08-09 14:43:20 GMT <xai> Ok, thanks

2017-08-09 14:43:47 GMT <Tichodroma> xai: if you can, use JARs as modules, not AMPs

2017-08-09 14:44:09 GMT <fcorti_> Not sure if the question was for the TTL or not... :-S

2017-08-09 14:44:32 GMT <xai> Tichodroma: How to do that?

2017-08-09 14:44:56 GMT <xai> I have "./target/amp-war/WEB-INF/lib" and "./expirable-content-repo/target/amp-war/WEB-INF/lib" directories with a lot of jars

2017-08-09 14:44:59 GMT <Tichodroma> Do you want to install AMPs you get from a 3rd party? Or do you build your own modules?

2017-08-09 14:45:04 GMT <xai> I should just copy them somewhere?

2017-08-09 14:45:15 GMT <MorganP> Probably not fcorti_ ;) ^^

2017-08-09 14:45:19 GMT <Tichodroma> JAR modules are to be put into modules/{platform,share}

2017-08-09 14:45:26 GMT <fcorti_> For sure it wasn't ;-)

2017-08-09 14:45:41 GMT <fcorti_> But it had sense :-D

2017-08-09 14:45:46 GMT <xai> find . -name "*jar" | wc -l

2017-08-09 14:45:47 GMT <xai> 639

2017-08-09 14:45:53 GMT <xai> I should copy all 639 jars?

2017-08-09 14:46:00 GMT <xai> To both directories?

2017-08-09 14:46:03 GMT <Tichodroma> no, of course not

2017-08-09 14:46:19 GMT <Tichodroma> what are the modules you want to install? 3rd part? you own?

2017-08-09 14:46:26 GMT <xai> My own.

2017-08-09 14:46:38 GMT <Tichodroma> how did you build them? Do you use Maven?

2017-08-09 14:46:42 GMT <xai> I git-cloned find . -name "*jar" | wc -l

2017-08-09 14:46:42 GMT <xai> 639

2017-08-09 14:46:47 GMT <xai> oops, sorry

2017-08-09 14:47:00 GMT <xai> I git-cloned https://github.com/Conexiam/alfresco-expirable-content and tring to change it for my purposes

2017-08-09 14:47:01 GMT <alfbot> Title: GitHub - Conexiam/alfresco-expirable-content: Facilitates flagging content for expiration. Includes an aspect, an action, and a scheduled job. (at github.com)

2017-08-09 14:47:08 GMT <xai> Yes, maven

2017-08-09 14:47:14 GMT <sujaypillai> Can we have multiple RM sites?

2017-08-09 14:47:29 GMT <fcorti_> asking...

2017-08-09 14:47:33 GMT <Tichodroma> xai: let me take a look

2017-08-09 14:48:07 GMT <xai> Tichodroma: If I have two AMPS, means I need only two JARS?

2017-08-09 14:48:16 GMT <Tichodroma> one second ...

2017-08-09 14:48:19 GMT <xai> ok, sorry

2017-08-09 14:48:49 GMT <fcorti_> Thank you sujay for the question

2017-08-09 14:48:53 GMT <Tichodroma> I general you need a module (AMP or JAR) for the repository, today named 'platform', and on for Share, the web UI

2017-08-09 14:48:54 GMT <sujaypillai> thanks

2017-08-09 14:49:07 GMT <sujaypillai> thats something my business asked me ;)

2017-08-09 14:49:25 GMT <fcorti_> We are here also for this ;-)

2017-08-09 14:49:54 GMT <Tichodroma> xai: OK, i see that the module you've cloned builds AMPs. It is possible to change them to build JARs but this is more than a simple change to the pom.xml.

2017-08-09 14:50:12 GMT <Tichodroma> So if applying the AMPs is fine for you, stick with this

2017-08-09 14:50:18 GMT <xai> Ok, thanks)

2017-08-09 14:57:27 GMT <fcorti_> anymore questions for the team?

2017-08-09 14:57:35 GMT <fcorti_> few minutes more...

2017-08-09 15:01:19 GMT <xai> Tichodroma: If I apply amps, can I just change amps (with preserving their names/version), recopy it and reapply? Or I need rollup my backup and start from there?

2017-08-09 15:02:14 GMT <Tichodroma> xai: you can apply changed amps again

2017-08-09 15:02:21 GMT <xai> ok

2017-08-09 15:03:04 GMT <MorganP> You technically can

2017-08-09 15:03:20 GMT <MorganP> However it is always cleaner to just reapply them from a default war

2017-08-09 15:03:46 GMT <MorganP> To avoid remaining stuff in the war that you don't want anymore

2017-08-09 15:03:46 GMT <xai> I see, thanks.

2017-08-09 15:03:50 GMT <Tichodroma> that's why I prefer JAR modules, no WAR is ever changed

2017-08-09 15:03:55 GMT <MorganP> If you remove a file for example

2017-08-09 15:04:09 GMT <MorganP> Yes but you cannot do everything with JARs

2017-08-09 15:04:16 GMT <MorganP> pros and cons again, no perfect solutions

2017-08-09 15:10:04 GMT <xai> Eeh, applyed amps, but the model didn't appear. Appeared information that the modules are successfully loaded in the log, but no model. Is there a way to diagnose why the model didn't appear?

2017-08-09 15:10:09 GMT <xai> Sorry for such questions.

2017-08-09 15:12:10 GMT *** winircuser-787 is now known as sujaypillai_

2017-08-09 15:25:03 GMT <fwu> back

2017-08-09 15:57:05 GMT <xai> https://github.com/xaionaro/alfresco-expirable-content/blob/master/expirable-content-repo/src/main/amp/config/alfresco/module/expirable-content-repo/model/content-model.xml -- why I don't see this model in "/share/page/console/admin-console/custom-model-manager"? And why I don't see aspect "cxme:expirationDate" in the list of available aspects for a document?

2017-08-09 15:57:06 GMT <alfbot> Title: alfresco-expirable-content/content-model.xml at master · xaionaro/alfresco-expirable-content · GitHub (at github.com)

2017-08-09 15:57:58 GMT <angelborroy> Model Manager can only work with models developed inside the tool

2017-08-09 15:59:00 GMT <angelborroy> you can see other models at Model and Message Console

2017-08-09 15:59:11 GMT <angelborroy> http://localhost:8080/alfresco/s/admin/admin-repoconsole

2017-08-09 15:59:56 GMT <xai> There's no such model in "show modules" result.

2017-08-09 16:00:15 GMT <angelborroy> so it looks like you have not deployed that module in your Alfresco server

2017-08-09 16:01:04 GMT <xai> I see messages "Starting module 'expirable-content-repo' version 1.0.1." and "expirable-content-share AMP project, 1.0.1, Manages the lifecycle of the expirable-content-share AMP (Alfresco Module Package)" in the logs.

2017-08-09 16:02:22 GMT <angelborroy> how about http://localhost:8080/alfresco/s/api/dictionary

2017-08-09 16:02:47 GMT <angelborroy> cxme:expirable should appear in that list

2017-08-09 16:06:16 GMT <xai> Yes, it is

2017-08-09 16:06:47 GMT <angelborroy> ok, so it’s deployed

2017-08-09 16:06:50 GMT <angelborroy> what else?

2017-08-09 16:07:13 GMT <xai> Why I don't see deployed aspect in the list of available aspects for a document? :)

2017-08-09 16:07:28 GMT <angelborroy> let me see

2017-08-09 16:09:21 GMT <angelborroy> it’s not configured to be added to that list https://github.com/Conexiam/alfresco-expirable-content/blob/master/expirable-content-share/src/main/resources/META-INF/share-config-custom.xml

2017-08-09 16:09:22 GMT <alfbot> Title: alfresco-expirable-content/share-config-custom.xml at master · Conexiam/alfresco-expirable-content · GitHub (at github.com)

2017-08-09 16:10:02 GMT <angelborroy> you can find how to modify it at http://docs.alfresco.com/community/tasks/dev-extensions-content-models-tutorials-add-aspect.html

2017-08-09 16:10:03 GMT <alfbot> Title: Adding an aspect with Share configurations | Alfresco Documentation (at docs.alfresco.com)

2017-08-09 16:10:06 GMT <angelborroy> point 5

2017-08-09 16:10:38 GMT <xai> angelborroy: Ok, thanks, again :)

2017-08-09 16:11:03 GMT <angelborroy> xai a pleasure, you are trying to learn by yourself

2017-08-09 16:15:04 GMT <resplin> angelborroy: Thanks for producing your video on LDAP configuration. It answered some questions for me.

2017-08-09 16:15:33 GMT <angelborroy> resplin thanks! it’s a great feedback!

2017-08-09 16:15:46 GMT <angelborroy> resplin can’t wait to see what Axel is preparing :D

2017-08-09 16:16:20 GMT <resplin> agreed

2017-08-09 16:36:27 GMT <eswbitto> can anybody see my chat?

2017-08-09 16:36:46 GMT <xai> eswbitto: I can see

2017-08-09 16:36:56 GMT <eswbitto> cool thanks

2017-08-09 16:37:18 GMT <eswbitto> Got the "This nickname is registered. Please choose a different nickname blah blah

2017-08-09 16:43:16 GMT <xai> I'm trying to add the aspect to a document, but getting this answer: https://dpaste.de/5p4g/raw

2017-08-09 16:43:20 GMT <xai> How to find out the reason?

2017-08-09 16:50:30 GMT <angelborroy> xai which API are you using?

2017-08-09 16:50:42 GMT <angelborroy> xai CMIS? Alfresco API REST?

2017-08-09 16:50:44 GMT <xai> It was just tcpdump-ed answer

2017-08-09 16:51:03 GMT <xai> I was tried to add an aspect to a document via traditional web interface

2017-08-09 16:51:08 GMT <angelborroy> how are you adding the aspect?

2017-08-09 16:51:17 GMT <angelborroy> using Share interface?

2017-08-09 16:51:42 GMT <xai> https://s1.postimg.org/r2wj0tz0v/Screenshot_from_2017-08-09_19-51-19.png

2017-08-09 16:51:46 GMT <xai> Yes, Share interface

2017-08-09 16:51:54 GMT <angelborroy> ok

2017-08-09 16:52:04 GMT <angelborroy> probably you’ll find more details in the log file

2017-08-09 16:52:13 GMT <angelborroy> any other information at catalina.out?

2017-08-09 16:52:37 GMT <xai> Whoops, I'm idiot

2017-08-09 16:52:40 GMT <xai> found the problem.

2017-08-09 16:52:46 GMT <xai> There was nothing useful in logs.

2017-08-09 16:52:52 GMT <xai> Just I made a typo in the aspect name :)

2017-08-09 16:52:57 GMT * xai will retry now

2017-08-09 16:53:05 GMT <angelborroy> interesting

2017-08-09 16:53:28 GMT <angelborroy> so you declare a different identifier in Share than it was provided in content model at Repo

2017-08-09 16:53:43 GMT <angelborroy> didn’t notice this could happen

2017-08-09 16:54:12 GMT <xai> yeah)

2017-08-09 16:58:55 GMT <xai> Yes, now the aspect can be added.

2017-08-09 17:00:45 GMT <xai> How this can be? -- I added an aspect to a document. Now the document has a new field (that I want), but when I open properties edit window, there's no such field.

2017-08-09 17:04:57 GMT <angelborroy> xai you have also to configure the form in share-config-custom.xml

2017-08-09 17:08:10 GMT <angelborroy> xai http://docs.alfresco.com/community/references/dev-extension-points-content-model-configure-ui.html

2017-08-09 17:08:11 GMT <alfbot> Title: Content Model - Configuring the User Interface | Alfresco Documentation (at docs.alfresco.com)

2017-08-09 17:08:14 GMT <angelborroy> (hard to find)

2017-08-09 17:09:15 GMT <xai> angelborroy: Every time after your answer I feel stupid. Thanks)

2017-08-09 17:20:26 GMT <xai> Works.

2017-08-09 17:21:22 GMT <angelborroy> congrats!

2017-08-09 17:21:54 GMT <angelborroy> xai probably you’ll find also this useful: http://ecmarchitect.com/alfresco-developer-series

2017-08-09 17:21:55 GMT <alfbot> Title: About the Alfresco Developer Tutorial Series | ECM Architect (at ecmarchitect.com)

2017-08-09 17:22:24 GMT <angelborroy> every basic dev concept in Alfresco is explained (and experimented) in those tuts

2017-08-09 17:22:31 GMT <xai> Yeah, this can be very useful, thank you

2017-08-09 17:33:59 GMT <xai> How to manually trigger a scheduler job?

2017-08-09 17:34:02 GMT <xai> * scheduled

2017-08-09 17:35:03 GMT <xai> Alfresco Community Version, Support Tools doesn't run here(

2017-08-09 17:41:58 GMT <eswbitto> douglascrp you there?

2017-08-09 18:40:57 GMT <eswbitto> douglascrp you must be afk...I responded to your post on the activities thread in the forums. Hoping this can be a solution and I can move onto other stuff.

2017-08-09 18:41:54 GMT <douglascrp> eswbitto, yes, I am

2017-08-09 18:41:57 GMT <douglascrp> sorry for the late response

2017-08-09 18:42:06 GMT <douglascrp> I saw you answered, but I had no time to read it yet

2017-08-09 18:43:27 GMT <xai> I'm getting exception "java.lang.NullPointerException" on line 147: https://github.com/xaionaro/alfresco-expirable-content/blob/master/expirable-content-repo/src/main/java/me/anonis/alf/expirable/actions/NotifyExpiredContent.java#L147 . How is that possible? I should init personService somehow?

2017-08-09 18:43:28 GMT <alfbot> Title: alfresco-expirable-content/NotifyExpiredContent.java at master · xaionaro/alfresco-expirable-content · GitHub (at github.com)

2017-08-09 19:39:16 GMT <xai> Solved the problem.

2017-08-09 19:44:29 GMT <eswbitto> douglascrp I think the biggest challenge I have is trying to determine what is the correct folder path when modifying contents of a war file. creating amps is a little more confusing than creating jar files....That I understand...the concept of the amp directory structure still eludes me.

2017-08-09 19:45:46 GMT <eswbitto> I was doing some reading in the docs and apparently putting jar files in the tomcat/shared/lib directory is an old practice and the more recognized practice is doing amp files.

2017-08-09 19:58:58 GMT <douglascrp> eswbitto, nowadays, the recommended way is by using jars again :D

2017-08-09 19:59:04 GMT <douglascrp> amps are optional now

2017-08-09 19:59:27 GMT <eswbitto> *throws computer out the window*

2017-08-09 19:59:37 GMT <douglascrp> but for what you were trying to do, about the dashlet change, you do not need to change files inside the war

2017-08-09 20:00:05 GMT <douglascrp> the right thing to do is to customize the dashlet to use your custom javascript code that extends the ootb js file/classes

2017-08-09 20:00:10 GMT <douglascrp> LOL

2017-08-09 20:00:22 GMT <douglascrp> by doing that, the jar will do the trick

2017-08-09 20:00:51 GMT <eswbitto> So I'm correct in putting the jar in /tomcat/shared/lib then?

2017-08-09 20:01:01 GMT <douglascrp> amps are only really required when you really have no other way but replace files

2017-08-09 20:01:11 GMT <eswbitto> The only thing that I'm confused about in the jar is just creating the folder path.

2017-08-09 20:01:13 GMT <douglascrp> the only case I know is to replace the favicon, for example

2017-08-09 20:01:33 GMT <douglascrp> for jar modules, you have to use the folders platform modules and share modules

2017-08-09 20:01:38 GMT <douglascrp> not sure about the right names though

2017-08-09 20:01:50 GMT <douglascrp> but it is similar to amps and amps_share folders

2017-08-09 20:02:13 GMT <douglascrp> but those are intended to receive jar files, and they don't need to be "applied" into the war files

2017-08-09 20:02:30 GMT <douglascrp> http://docs.alfresco.com/5.2/concepts/dev-extensions-packaging-techniques-jar-files.html

2017-08-09 20:02:31 GMT <alfbot> Title: Simple Module | Alfresco Documentation (at docs.alfresco.com)

2017-08-09 20:02:46 GMT <douglascrp> don't throw your computer yet... you will need it to read the docs :D

2017-08-09 20:02:53 GMT <eswbitto> lol

2017-08-09 20:03:26 GMT <douglascrp> so now, the recommended way is jar, but AMP is still available

2017-08-09 20:03:42 GMT <eswbitto> I'd rather do the jar method personally

2017-08-09 20:03:49 GMT <eswbitto> creating amps is a headache

2017-08-09 20:04:14 GMT <douglascrp> I use AMPs for everything

2017-08-09 20:04:25 GMT <douglascrp> to be honest, I have not even tried the new jar modules way

2017-08-09 20:06:30 GMT <eswbitto> ok so this module/share is new :o

2017-08-09 20:20:51 GMT <xai> Why I don't see this log-message in any log file? -- https://github.com/xaionaro/alfresco-expirable-content/blob/master/expirable-content-repo/src/main/java/me/anonis/alf/expirable/actions/NotifyExpiredContent.java#L124

2017-08-09 20:20:52 GMT <alfbot> Title: alfresco-expirable-content/NotifyExpiredContent.java at master · xaionaro/alfresco-expirable-content · GitHub (at github.com)

2017-08-09 20:20:55 GMT <xai> (line 124)

2017-08-09 20:21:26 GMT <xai> private static final Logger LOG = LoggerFactory.getLogger(NotifyExpiredContent.class); […] LOG.warn("executeImpl"); -> nothing

2017-08-09 20:21:48 GMT <xai> How to diagnose that?>

2017-08-09 20:50:02 GMT <xai> Damn. Cannot get it =\

2017-08-09 21:04:08 GMT <Ziberius> hello

2017-08-09 21:04:18 GMT <Ziberius> I'm getting an indexin error in alfresco

2017-08-09 21:04:59 GMT <Ziberius> this is the message: https://pastebin.com/Qt6ev6ev

2017-08-09 21:05:00 GMT <alfbot> Title: 2017-08-09 16:17:14,921 ERROR [impl.lucene.ADMLuceneIndexerImpl] [DefaultSchedu - Pastebin.com (at pastebin.com)

2017-08-09 21:05:17 GMT <Ziberius> if I search the uuid in alf_node it is not found

2017-08-09 21:05:25 GMT <Ziberius> this is alfresco community 4.0.d btw

2017-08-09 21:06:11 GMT <Ziberius> there is a comment on the issue in this link suggesing an insert to alf_node should fix it, do you think that's a good idea? https://issues.alfresco.com/jira/browse/MNT-2908

2017-08-09 21:11:49 GMT <Ziberius> the issue I mentioned is for alfresco 3.3.5 which is why I'm cautious as to applying fixes for 4.0.d

2017-08-09 21:22:28 GMT <fwu> back

2017-08-09 21:22:56 GMT <eswbitto> AFaust is this what I should probably be reading up on?

2017-08-09 21:23:08 GMT <eswbitto> http://docs.alfresco.com/5.2/concepts/dev-extensions-share-surf-extension-modules.html

2017-08-09 21:23:09 GMT <alfbot> Title: Surf Extension Modules | Alfresco Documentation (at docs.alfresco.com)

2017-08-09 21:23:28 GMT <AFaust> Generally yes, it is very much recommended to understand Surf extension modules and how they can be used.

2017-08-09 21:23:58 GMT <eswbitto> I know nothing about the surf framework. :/

2017-08-09 21:24:30 GMT <AFaust> What I linked to is just one option - alternatively, you can also provide a *.get.html.ftl template to include the script via a targeted markup...

2017-08-09 21:24:48 GMT <AFaust> If you want to customise Share, knowing the basics of the Surf framework is essential

2017-08-09 21:24:57 GMT <eswbitto> I gather that...

2017-08-09 21:24:59 GMT <eswbitto> lol

2017-08-09 21:25:15 GMT <eswbitto> well I know what I'll be doing tonight...thank you for the insight.

2017-08-09 21:25:17 GMT <AFaust> The Surf extension module concept has simplified a lot, so you fortunately no longer have to understand a lot of the low-level stuff

2017-08-09 21:25:50 GMT <eswbitto> Simple is my preference :D

End of Daily Log

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