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-04 06:19:29 GMT <monica_> hello everyone. can anyone help me with the issue. I am not able to search files with "&".

2017-09-04 06:20:12 GMT <monica_> Is there any way, I can search files using "&" also?

2017-09-04 07:08:43 GMT <monica_> hello everyone. can anyone help me with the issue. I am not able to search files with "&". Is there any way, I can search files using "&" also?

2017-09-04 07:09:59 GMT <twen> 'morning

2017-09-04 07:43:41 GMT <DarkStar1> Morning everyone

2017-09-04 08:14:00 GMT <AFaust> monica_: No need to repeat the question every hour. As people come online over the course of a day, they are encouraged to look into the logs for unanswered questions and respond if they can help

2017-09-04 08:15:17 GMT <AFaust> monica_: During indexing, SOLR may strip away special characters e.g. delimiters and other non-word/non-numerical characters. Did you try searching on the file name, some metadata or content?

2017-09-04 08:15:33 GMT <AFaust> Also, do you mean you want to have AND-logic or that you want to search for the & character literally?

2017-09-04 08:18:10 GMT <monica_> actually, I have created a file with "abc & xyz" name. and trying to search with "&". even I have a similar issue with datalist too.

2017-09-04 08:18:12 GMT <monica_> https://github.com/keensoft/alfresco-datalist-constraints/issues/3

2017-09-04 08:18:13 GMT <alfbot> Title: it is not taking values include "&" in it. · Issue #3 · keensoft/alfresco-datalist-constraints · GitHub (at github.com)

2017-09-04 08:38:34 GMT <monica_> I have tried this also. http://soft29.info/blog/entry/alfresco-solr-enable-search-of

2017-09-04 08:38:35 GMT <alfbot> Title: Soft29 blog: Alfresco Solr: enable search of special characters (at soft29.info)

2017-09-04 08:38:42 GMT <monica_> but not worked.

2017-09-04 08:39:31 GMT <AFaust> Ok - I was about to suggest that the tokenisation might need changes to keep the "&" character in the index...

2017-09-04 08:42:30 GMT <AFaust> I guess the drop-down box in the form (the datalist constraints issue) is not encoding special characters and since "&" has a special meaning in form submission (field delimiter) it cut off the value right after "abc "

2017-09-04 08:43:21 GMT <mtsiak> hi all. we have created an alfresco docker container. Is there anyway to add add users/ sites from the dockerfile?

2017-09-04 08:44:08 GMT <monica_> AFaust : exactly, can you please suggest me, what I should try ?

2017-09-04 08:44:43 GMT <AFaust> monica_: You mean other than try & fix the addon you are using, and providing a PR to the source project?

2017-09-04 08:45:40 GMT <AFaust> "try" = "encode special characters when submitting / handling the values of a 'datalist constraint'-fed drop down list

2017-09-04 08:46:26 GMT <AFaust> mtsiak: Unless you do some custom setup / coding, then there is no way to add users / sites in Alfresco just from a Dockerfile.

2017-09-04 08:47:03 GMT <AFaust> mtsiak: You'd need the Dockerfile to start up Alfresco, wait till it is started and then use some ReST APIs to create the users / groups / sites for you...

2017-09-04 08:47:56 GMT <AFaust> mtsiak: It'd be way easier just to ADD / COPY a bootstrap file + Spring context configuration into your Docker image and have Alfresco load those data elements when the container is first created / started

2017-09-04 08:48:14 GMT <mtsiak> ok. thanks.

2017-09-04 08:48:39 GMT <AFaust> That also has the nice benefit of leaving your Alfresco Repository Docker image independent of your database / content store until a specific container is created...

2017-09-04 08:51:03 GMT <mtsiak> AFaust: any examples of such bootstrap files ?

2017-09-04 08:52:03 GMT <monica_> AFaust: does it mean that I have to put label as "abc & xyz" and value is "abc and xyz" ?

2017-09-04 08:52:21 GMT <monica_> for the new item in datalist ?

2017-09-04 08:52:59 GMT <mtsiak> i am using the latest community edition 201707

2017-09-04 08:53:14 GMT <AFaust> monica_: No - your datalist item should take the value as is... but when the datalist item is used to allow selection in the form, there it would need to use proper guards to ensure the value is properly encoded...

2017-09-04 08:54:21 GMT <tfdsimoes> monica_ : About the addon if you open an issue and put information about your problem in the next days, when we have time, could take a look at it and fix the addon or say a solution for your problem

2017-09-04 08:55:08 GMT <monica_> okay thank you..

2017-09-04 08:56:49 GMT <monica_> there is no issue with the add-on. except it does not shows the actual value of the property instead it cuts value from "&" to end.

2017-09-04 08:57:52 GMT <monica_> AFaust: I am just a beginner to alfresco. I am on learning phase. so can you please guide me more about the suggestion you provided me.

2017-09-04 08:57:52 GMT <AFaust> mtsiak: Examples of creating users / groups / sites via bootstrap - not specifically. But a quick GitHub search (really, 10 seconds or so) unveiled: https://github.com/sujaypillai/alfbootstrap

2017-09-04 08:57:53 GMT <alfbot> Title: GitHub - sujaypillai/alfbootstrap: Bootstrap Alfresco with spaces, users and sites (at github.com)

2017-09-04 08:59:07 GMT <AFaust> tfdsimoes: An issue has already been created

2017-09-04 08:59:40 GMT <AFaust> monica_ provided the link around 10:18 => issue #3

2017-09-04 09:09:32 GMT <mtsiak> AFaust: thanks. i will start searching on this for more.

2017-09-04 09:44:17 GMT <monica_> okay thank you AFaust. if you get something, kindly let me know @ monicakumari993@gmail.com

2017-09-04 10:32:32 GMT *** DarkSta__ is now known as DarkStar1

2017-09-04 12:32:27 GMT <MarkTielemans> AFaust, doesn´t it make sense that CMIS queries trust SOLR when ACL checks are disabled?

2017-09-04 12:32:56 GMT <AFaust> No - there can always be constellations where SOLR does not provide a 100% accurate result.

2017-09-04 12:33:05 GMT <AFaust> 1) you can disable ACL indexing

2017-09-04 12:33:25 GMT <AFaust> 2) You can have dynamic authorities on the Repository tier that may add "DENY" rules

2017-09-04 12:35:21 GMT <MarkTielemans> Oh, that sense of trust! I thought along the lines of checking access rights.

2017-09-04 12:35:49 GMT <MarkTielemans> So how could one check if the SOLR results are accurate then?

2017-09-04 12:50:26 GMT <AFaust> post process based on configuration / situation analysis - already done for FTS index queries, but CMIS queries (via CMIS API) go a different route

2017-09-04 12:53:54 GMT <MarkTielemans> Huh. Interesting. Seems like that would pay off to know more about especially when doing performance analysis

2017-09-04 13:19:57 GMT <hiten> Hi All

2017-09-04 13:20:28 GMT <hiten> Please help me out with the below question

2017-09-04 13:20:29 GMT <hiten> https://community.alfresco.com/message/820570-how-to-hide-a-field-based-on-the-value-of-another-field

2017-09-04 13:20:31 GMT <alfbot> Title: How to hide a field based on the value of anoth... | Alfresco Community (at community.alfresco.com)

2017-09-04 14:28:20 GMT <douglascrp> morning guys

2017-09-04 14:28:38 GMT <douglascrp> I had another idea for the hackathon, but I would like to know what you guys think before adding it to the project's page

2017-09-04 14:29:16 GMT <douglascrp> how about collecting community fixes for alfresco and share, and use those to validate the new contribution process alfresco has started?

2017-09-04 14:29:52 GMT <douglascrp> I guess the community knows about lots of projects/fixes available out there

2017-09-04 15:10:47 GMT <AFaust> douglascrp: That sounds like a valid idea - though it would take the most knowledgable people (likely to consolidate the fixes) from other projects...

2017-09-04 15:11:39 GMT <AFaust> I already have a PR that I use as my personal "test balloon": https://github.com/Alfresco/alfresco-data-model/pull/2

2017-09-04 15:11:40 GMT <alfbot> Title: Fix for ALF-21849 by AFaust · Pull Request #2 · Alfresco/alfresco-data-model · GitHub (at github.com)

2017-09-04 15:15:10 GMT <douglascrp> AFaust, yes, indeed

2017-09-04 15:15:28 GMT <douglascrp> but I believe we should not try to PR all of them

2017-09-04 15:15:49 GMT <douglascrp> maybe create a list for what we believe is still valid, and maybe after that, start working on it

2017-09-04 15:15:56 GMT <douglascrp> something like the idea for the docs review

2017-09-04 15:16:27 GMT <douglascrp> after that, I guess we will be able to discover it the process will work or not at all

2017-09-04 15:17:07 GMT <douglascrp> about your test balloon, 14 days, :D

2017-09-04 15:20:35 GMT <AFaust> JIRA has seen some status updates since then

2017-09-04 15:21:05 GMT <AFaust> but for this simple change, that seems like more work than "just do it"

2017-09-04 15:21:24 GMT <douglascrp> yes

End of Daily Log

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