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-07-26 06:31:33 GMT <ashley_> Hi, i am new to alfresco. i am using alfresco 5.2.e and pentaho 7.0 in windows platform. I try to do AAAR report, can you please help me about configuration of AAAR and datamart. In pentaho when i click on customize, "Cumstomization possible after AAAR installation" is showing.

2017-07-26 07:34:57 GMT *** angelborroy_ is now known as angelborroy

2017-07-26 07:39:28 GMT <digcat> hi ashley_ i think you would need Alflytics release, as that is the new one for 5.2 afaik

2017-07-26 07:40:01 GMT <digcat> https://github.com/fcorti/Alflytics

2017-07-26 07:40:02 GMT <alfbot> Title: GitHub - fcorti/Alflytics: The Open Source Business Intelligence solution over the Alfresco platform. (at github.com)

2017-07-26 07:41:28 GMT <fcorti> hi, yes, confirmed: Alflytics is for 5.2+

2017-07-26 07:42:08 GMT <digcat> morning Francesco hope all well your end,

2017-07-26 07:42:16 GMT <fcorti> morning :-)

2017-07-26 07:42:23 GMT <fcorti> everything is fine.. I hope the same for you

2017-07-26 07:42:30 GMT <digcat> yep, busy but all good

2017-07-26 07:42:50 GMT <fcorti> busy it's happy problem ;-)

2017-07-26 07:43:16 GMT <digcat> haha, sometimes :)

2017-07-26 09:21:40 GMT *** DragiBus_ is now known as DragiBus

2017-07-26 09:30:44 GMT <fwu> hi all!

2017-07-26 09:31:40 GMT <fwu> Does someone knows if there is a limit on the returning results of an ajax call?

2017-07-26 09:32:08 GMT <fwu> I know share search results as a limit of 250, but does ajax calls also have some limit?

2017-07-26 09:40:33 GMT <fwu> Also, I have a custom ftl I need to deploy. Im trying to use a jar file to deploy it, but I cant get it working. In an amp I dont have problems, but with jar, although I dont get an error that the ftl cannot be found, the true is that I cant get my field on the page...

2017-07-26 09:40:48 GMT <fwu> using sdk 3

2017-07-26 09:41:05 GMT <fwu> I already tried 2 palces to put the ftl:

2017-07-26 09:41:28 GMT <fwu> 1 - src\main\resources\alfresco\web-extension\site-webscripts\org\alfresco\components\form\controls\

2017-07-26 09:41:52 GMT <fwu> 2 - src\main\resources\META-INF\resources\alfresco\web-extension\site-webscripts\org\alfresco\components\form\controls\

2017-07-26 09:42:24 GMT <fwu> in this place I dont get a not found error, however the ftl doesnt work

2017-07-26 09:42:39 GMT <fwu> if I put the ftl somewhere else, then I get a not found exception

2017-07-26 09:43:24 GMT <fwu> a read.me file in the sdk 3 tells this:

2017-07-26 09:43:26 GMT <fwu> ## If you are overriding out-of-the-box Alfresco web scripts, put these files here ## in the correct org.alfresco... package.

2017-07-26 09:43:47 GMT <fwu> I ddint even know that I could do overwrites using jar files...

2017-07-26 09:44:08 GMT <fwu> so Im a little lost here!

2017-07-26 09:59:37 GMT *** angelborroy_ is now known as angelborroy

2017-07-26 10:06:23 GMT <fwu> I think the problem is that the folder site-webscripts must be at the same level as the web-extension folder.

2017-07-26 10:06:47 GMT <fwu> however, the sdk automatically creates a site-webscripts inside the web-extension folder

2017-07-26 10:06:53 GMT <fwu> and I was using that

2017-07-26 10:28:09 GMT <AFaust> fwu: There is no technical limit to the results of an AJAX call, but each ReST operation may have some hard-coded default pagination parameter limits

2017-07-26 10:29:38 GMT <fwu> AFaust this is the link Im using: Alfresco.constants.PROXY_URI + '/cmis/query?q=

2017-07-26 10:29:43 GMT <fwu> it is a custom query

2017-07-26 10:30:38 GMT <AFaust> That does not sound like an out-of-the-box endpoint (unless you are still using the legacy Alfresco CMIS web scripts that have been removed in Alfresco 5) - so I can't say anything regarding to this.

2017-07-26 10:31:45 GMT <AFaust> Again - I am just saying that there is no technical limit, but each individual operation may have its own, specific limitation that a developer put in there, either out of caution or not considering proper parameterisation...

2017-07-26 10:35:56 GMT <fwu> AFaust, you remember me that I have a new problem in 5.2

2017-07-26 10:36:37 GMT <fwu> that query... I use it in 4.2.f because I need to make a custom query without worring about authentication (as I was already authenticated).

2017-07-26 10:36:50 GMT <fwu> how can I replace that query in 5.2?

2017-07-26 10:45:37 GMT *** angelborroy_ is now known as angelborroy

2017-07-26 11:30:53 GMT <meghna> hey anyone there

2017-07-26 11:31:33 GMT <meghna> I want to know how to extend the custom metadata of folders in alfresco

2017-07-26 11:34:05 GMT <meghna> I have edited the cm:folder in share-config-custom.xml file to add the custom metadata in the folders but the problem is that the custom properties are added to the folder only when changing the type of folder

2017-07-26 11:35:07 GMT <meghna> what I want is that the custom properties is automaticaaly added to the folder when the user creates the folder of that type

2017-07-26 11:35:24 GMT <meghna> any help would be gratly appreciated

2017-07-26 11:35:35 GMT <meghna> *greatly

2017-07-26 14:32:17 GMT <fwu> ppl where to place the web folder in the sdk 3, for jar packaging?

2017-07-26 14:32:29 GMT <fwu> I tried everything with no luck

2017-07-26 14:32:53 GMT <fwu> i have a languagepack with many translated files

2017-07-26 14:32:59 GMT <fwu> some are in the web folder

2017-07-26 14:34:08 GMT <fwu> files that shoud go to web/js/alfresco/accessibility

2017-07-26 14:34:09 GMT <fwu> etc

2017-07-26 14:35:39 GMT <fwu> this goes to share/js

2017-07-26 14:35:48 GMT <fwu> share/modules

2017-07-26 14:35:49 GMT <fwu> etc

2017-07-26 14:57:53 GMT <yreg> guys

2017-07-26 14:58:01 GMT <yreg> I have a wierd behaviour

2017-07-26 14:58:25 GMT <yreg> on a all actions started from a behaviour are executed asynchronously

2017-07-26 14:58:42 GMT <yreg> even though no one specified that it should run as such

2017-07-26 14:58:56 GMT <yreg> asn't the default to run synchronously ?

2017-07-26 15:00:16 GMT <yreg> AFaust, angelborroy have you came across such a behaviour ?

2017-07-26 15:00:51 GMT <AFaust> Depends on the API used to execute the action

2017-07-26 15:02:04 GMT <AFaust> Once inside the ActionServiceImpl using the correct API, there is no way for the action to "become" asynchronous without having been specified as such

2017-07-26 15:03:53 GMT <yreg> AFaust, using public void executeAction(Action action, NodeRef actionedUponNodeRef)

2017-07-26 15:04:26 GMT <AFaust> And how was the Action object instantiated / configured?

2017-07-26 15:04:30 GMT <yreg> Action classifyAction = actionService.createAction(ClassifyDocument.NAME);

2017-07-26 15:04:37 GMT <yreg> actionService.executeAction(classifyAction, nodeRef);

2017-07-26 15:05:27 GMT <yreg> no way to debug in this complex setup

2017-07-26 15:06:03 GMT <yreg> so I can not step and verify that the created action has the flag to execute aync unset

2017-07-26 15:06:15 GMT <yreg> but I can ask for an extra log line there

2017-07-26 15:06:33 GMT <yreg> I mean log4j config

2017-07-26 15:08:42 GMT <yreg> AFaust, could it be the fact that it is being instantiated/executed from a Behaviour/ an other Action ?

2017-07-26 15:09:03 GMT <angelborroy> yreg just in case it could be useful https://issues.alfresco.com/jira/browse/MNT-16161

2017-07-26 15:09:39 GMT <yreg> angelborroy, just was there

2017-07-26 15:09:44 GMT <yreg> that's not my issue

2017-07-26 15:09:48 GMT <yreg> thanks though

2017-07-26 15:09:56 GMT <angelborroy> I know, but it explains the case deeper

2017-07-26 15:10:15 GMT <angelborroy> In my case, I’m providing a direct execution of actions in behaviours

2017-07-26 15:10:18 GMT <angelborroy> let me find it

2017-07-26 15:10:44 GMT <AFaust> yreg: It can only be a factor if you have some generic behaviour for triggering actions, but such does not exist in default Alfresco (AFAIK - or I simply never used it)

2017-07-26 15:11:33 GMT <yreg> angelborroy, my usecase is that I have a bulk import into alfresco

2017-07-26 15:11:56 GMT <yreg> and a behaviour on the document type in question classifying the document

2017-07-26 15:13:10 GMT <angelborroy> In 5.2 it looks like this works:

2017-07-26 15:13:11 GMT <angelborroy> Action action = actionService.createAction(EditionActionExecuter.NAME);

2017-07-26 15:13:12 GMT <angelborroy> action.setExecuteAsynchronously(false);

2017-07-26 15:13:29 GMT <angelborroy> or I didn’t notice that it does not work at all

2017-07-26 15:13:31 GMT <yreg> putting the login into an action is made to make it possible to execute the action from doclib on other documents of other types where classification is not mandatory

2017-07-26 15:13:36 GMT <AFaust> You don't have to set it to false - false is the default value

2017-07-26 15:15:23 GMT <angelborroy> AFaust Sometimes I’m writting redundant code just to explain the others my thinking

2017-07-26 15:15:23 GMT <yreg> AFaust, I know it should be the default, just went through the code again and again and again

2017-07-26 15:15:47 GMT <angelborroy> AFaust probably is not efficient, but it’s a better choice in the long term (obviously IMO)

2017-07-26 15:18:17 GMT <AFaust> I have nothing against the redundancy - just wanted to point out that this should not be relevant for the problem...

2017-07-26 15:39:55 GMT <fwu> ppl, where the Home and My files menu text come from in 5.2?!?

2017-07-26 15:40:12 GMT <fwu> I tried change everything with no luck. I was able to chnage it in 4.2.f

2017-07-26 15:40:50 GMT <fwu> the content text is chnaged and also the repository and admin consloe tect on the menu, but I cant chnage the text of the other menu items

2017-07-26 15:45:54 GMT <fwu> this should be Aikau, but in 4.2.f was aikau already used?

2017-07-26 15:51:34 GMT <qwebirc76190> hello

2017-07-26 15:52:33 GMT <qwebirc76190> my problem is

2017-07-26 15:52:53 GMT <qwebirc76190> ERROR [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-3] Tracking failed jvm 1 | org.alfresco.error.AlfrescoRuntimeException: 06260043 GetModelsDiff return status is 404 jvm 1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1059) jvm 1 | at org.alfresco.solr.tracker.CoreTracker.trackModelsImpl(CoreTracker.java:2000) jvm 1 | at org.alfresco.solr.tracker.CoreTrack

2017-07-26 16:02:39 GMT <qwebirc76190> ??

2017-07-26 16:15:18 GMT <AFaust> fwu: Yes, Aikau was added in 4.2 specifically to address the header customisation

2017-07-26 16:16:46 GMT <fwu> AFaust, but what changed in 5.2? I tried to change the same files I chnaged in 4.2.f and Im not able to chnage some text in the menus like the "Home" text.

2017-07-26 16:21:23 GMT <AFaust> fwu: If you want to know what changed you have to look into the share-header.lib.js

2017-07-26 16:21:47 GMT <AFaust> The code is open source, so you can do that.... I'd have to do the same right now to answer your question.

2017-07-26 16:23:00 GMT <AFaust> As far as I can see, there is nothing special going on with these menu items that should prevent you from doing anything with them.

2017-07-26 16:23:13 GMT <AFaust> Maybe you are just using an incorrect ID or lookup logic...

2017-07-26 16:23:25 GMT <fwu> ok AFaust, I will have a look to that js. thank you!

2017-07-26 16:30:06 GMT <fwu> AFaust, but im not understanding this:

2017-07-26 16:30:26 GMT <fwu> in the share header I have this: label: "header.menu.home.label",

2017-07-26 16:31:07 GMT <fwu> then if I change manually the share-header.lib.properties and share-header.lib_en.properties, I cant see my chnages

2017-07-26 16:31:25 GMT <fwu> doesnt label: "header.menu.home.label", point to these files?

2017-07-26 16:35:53 GMT <AFaust> Are you changing the original sources?

2017-07-26 16:36:07 GMT <AFaust> Are you doing a restart / full webscript reload between changes?

2017-07-26 16:36:09 GMT <fwu> yes, just to test

2017-07-26 16:36:22 GMT <fwu> but I also have my own jar file that is chnaging this:

2017-07-26 16:36:23 GMT <fwu> header.menu.repository.label=

2017-07-26 16:36:38 GMT <fwu> but cant change this: header.menu.home.label

2017-07-26 16:37:08 GMT <fwu> the keys are the same, so I dont understand what it is happening. Maybe an overwrite?

2017-07-26 16:37:33 GMT <AFaust> possibly... any other addon / module may mess with your override

2017-07-26 16:37:49 GMT <fwu> i will try to delete my jar files both repo and share and chnage the file manually

2017-07-26 16:38:00 GMT <fwu> yes, or other module :(

2017-07-26 17:11:53 GMT <fwu> AFaust, I remove my jar files, and then chnaged manually the file. I can change the repository menu item text but not the all the items from the "home" item to the "Piople" item.

2017-07-26 17:12:11 GMT <fwu> People

2017-07-26 17:17:32 GMT <fwu> I will try a fresh install 201707

2017-07-26 17:40:10 GMT <douglascrp> hey guys

2017-07-26 17:40:22 GMT <douglascrp> I have a question about the forms engine

2017-07-26 17:40:48 GMT <douglascrp> is it possible to disable the submit button after the user clicks on it?

2017-07-26 17:41:50 GMT <douglascrp> sometimes, when share is slow, users click more than once, and then erros appear, like, concorrent modification, node already exists

2017-07-26 17:42:06 GMT <douglascrp> I did a quick research, but I found no useful information

2017-07-26 18:03:17 GMT <fwu> douglascrp, what about this: https://github.com/Alfresco/Aikau/pull/680

2017-07-26 18:03:18 GMT <alfbot> Title: AKU-683: Optionally disable the submit button on a Form when it is submitted by MartinDoyleUK · Pull Request #680 · Alfresco/Aikau · GitHub (at github.com)

2017-07-26 18:03:40 GMT <douglascrp> fwu, yes, but that is for aikau

2017-07-26 18:03:51 GMT <douglascrp> I need the same but for the old forms engine

2017-07-26 18:04:40 GMT <fwu> yes, it let the user clicks ore than once, and the user doesnt understands if it is making somehting

2017-07-26 18:05:18 GMT <douglascrp> yes

2017-07-26 18:05:18 GMT <douglascrp> and when it clicks once, there is nothing in the screen to indicate any activity

2017-07-26 18:05:18 GMT <douglascrp> that is bad

2017-07-26 18:05:35 GMT <douglascrp> when the performance is goo, that is not a problem, but when there are problems, like internet connection, it becomes a problem

2017-07-26 18:05:46 GMT <douglascrp> the user has no idea if the click was ok or not

2017-07-26 18:10:14 GMT <fwu> you could disable the button after the click, but then you need to control the return to enable it if necessary :(

2017-07-26 18:10:44 GMT <douglascrp> I want to change something and have that applied for all kinds of forms available in share

2017-07-26 18:10:57 GMT <douglascrp> edit-metadata, tasks, workflows, datalists

2017-07-26 18:11:06 GMT <douglascrp> I don't want to have to touch all of those

2017-07-26 18:11:11 GMT <fwu> but to control that in transitions should be genral or not?

2017-07-26 18:11:21 GMT <fwu> ok,, all froms

2017-07-26 18:11:23 GMT <fwu> forms

2017-07-26 18:11:39 GMT <douglascrp> yes

2017-07-26 18:11:56 GMT <fwu> but the workflow forms are the critical, or not?

2017-07-26 18:12:05 GMT <douglascrp> sometimes, yes

2017-07-26 18:23:05 GMT <fwu> ~later tell AFaust AFaust, after a fresh install (alfresco 201707) I get this: https://justpaste.it/19dwe

2017-07-26 18:23:05 GMT <alfbot> fwu: The operation succeeded.

2017-07-26 18:23:12 GMT <fwu> alfbot nice!

2017-07-26 18:23:12 GMT <alfbot> fwu: Error: "nice!" is not a valid command.

2017-07-26 18:39:07 GMT <alfbot> AFaust: Sent 16 minutes ago: <fwu> AFaust, after a fresh install (alfresco 201707) I get this: https://justpaste.it/19dwe

2017-07-26 19:47:54 GMT <fwu> back

2017-07-26 19:51:09 GMT <fwu> AFaust, did you saw my image? I would bet in a bug, or not?

2017-07-26 20:31:06 GMT <AFaust> I'm still not convinced there is a bug...

2017-07-26 20:31:36 GMT <AFaust> It's just that the translations for these labels are not maintained in the share-header.lib.properties at all

2017-07-26 20:31:56 GMT <AFaust> They are maintained in the Aikau AlfMenuBar I18n bundle

2017-07-26 20:32:29 GMT <AFaust> https://github.com/Alfresco/Aikau/blob/develop/aikau/src/main/resources/alfresco/header/i18n/AlfMenuBar.properties

2017-07-26 20:32:30 GMT <alfbot> Title: Aikau/AlfMenuBar.properties at develop · Alfresco/Aikau · GitHub (at github.com)

2017-07-26 20:33:42 GMT <AFaust> In my opinion, the proper way to adjust a in Aikau-based widgets is not to override the I18n resource bundle contents, but to simply pick a different label ID and add your custom translation for that ID as usual...

2017-07-26 21:00:54 GMT <fwu> AFaust, what is strange is that some item menus can be chnaged on that file, others not...

2017-07-26 21:01:22 GMT <fwu> I beleive I already testes chnaging that file also. But I will chnage it again in this new install

2017-07-26 21:01:31 GMT <AFaust> Those with the labels managed in the share-header.lib.properties can be changed - those with labels managed in other files cannot (at least not in the same way)

2017-07-26 21:01:59 GMT <AFaust> You can't have tested changing that file. It is located inside a JAR and should normally not be touched...

2017-07-26 21:04:54 GMT <fwu> AFaust, my "old" share amp changes that file. It as deployed to: js\alfresco\header\i18n\AlfMenuBar_pt.properties

2017-07-26 21:05:00 GMT <fwu> was deployed

2017-07-26 21:06:00 GMT <fwu> I already tested adding this file to Alfresco 5.2 in the same place as in 4.2.f and it doesnt work

2017-07-26 21:07:08 GMT <fwu> so, if that file control the translation of some items, how can I overwrite them?

2017-07-26 22:01:45 GMT <AFaust> I already said: Don't try to overwrite the i18n value - simply assign a different label to for the menu item and provide the translation for that custom label

2017-07-26 22:48:53 GMT <fwu> AFaust, and how do I assign a different label?

2017-07-26 22:52:50 GMT <AFaust> Apply a customisation to the share-header.get.js file, get the header item and set a different label property

2017-07-26 23:03:14 GMT <fwu> ok, thank you!

End of Daily Log

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