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-04-18 02:50:17 GMT <qwebirc19844> Hi everyone, I want to make one share page (made by aikau) can be accessed without login, how can I do this? Thanks in advance:)

2017-04-18 02:51:14 GMT <qwebirc19844> Or if there has any resources I can read?

2017-04-18 07:03:17 GMT * yreg greets everyone !

2017-04-18 07:50:42 GMT <yreg> ~later tell ohej ping

2017-04-18 07:50:42 GMT <alfbot> yreg: The operation succeeded.

2017-04-18 08:06:57 GMT <yreg> What is the best way to override a Java controller of a repo-side webscript ?

2017-04-18 08:08:46 GMT <AFaust> yreg: Other than overriding the Spring bean, there is no other way...

2017-04-18 08:09:07 GMT <AFaust> As always, I advocate the PostProcessor approach...

2017-04-18 08:09:56 GMT <qwebirc19844> How can I make an aikau page to be viewed without login?

2017-04-18 08:10:22 GMT <qwebirc19844> Kinda like quickshare page

2017-04-18 08:15:51 GMT <AFaust> qwebirc19833: You need to provide it via a Surf page model object.

2017-04-18 08:16:10 GMT <AFaust> https://github.com/aviriel/wrap-aikau-into-surf

2017-04-18 08:16:11 GMT <alfbot> Title: GitHub - aviriel/wrap-aikau-into-surf: Wrapping Aikau pages into Surf pages in Alfresco Share (at github.com)

2017-04-18 08:16:27 GMT <AFaust> On the page model object you can set the required authentication...

2017-04-18 08:28:23 GMT <Loftux> I was asked to sign a contributor agreement for this patch https://issues.alfresco.com/jira/browse/MNT-17113. Why would that be necessary? It's just a simple patch to their already lgpl licensed code, isn't that implied then that they can use it?

2017-04-18 08:34:13 GMT <AFaust> Same here - didn't bother to find the old issue where I already provided a signed agreement in 2010/2011

2017-04-18 08:37:19 GMT <Loftux> AFaust: I've also signed this before, maybe we can suggest a document management system to keep track of their documents?

2017-04-18 08:37:48 GMT <yreg> and the 500 error on alfresco public repo is back

2017-04-18 08:39:01 GMT <bhagyas> Too much effort for a simple pull request πŸ˜‚

2017-04-18 08:39:32 GMT <bhagyas> It's almost as if they don't like anyone providing patches πŸ˜‰

2017-04-18 08:51:03 GMT <yreg> AFaust, the utf special chars bhagyas just used work just fine in my hexchat

2017-04-18 08:51:16 GMT <yreg> you see, its UTF-8 support is not bad after all

2017-04-18 08:58:06 GMT <AFaust> yreg: I never said its UTF-8 support was bad - only its font support to render the UTF-8 characters.

2017-04-18 08:58:40 GMT <AFaust> e.g. my table flipping emoticons were properly logged as unicode characters in the log text file

2017-04-18 09:02:37 GMT <yreg> anyone here used SDK3 to develop for alfresco 5.1 ?

2017-04-18 09:03:56 GMT <yreg> nevermind, I had to use latest 5.1.x in my project setup

2017-04-18 09:13:48 GMT <qwebirc19844> Thank you @AFaust @alfbot, it all works now :)

2017-04-18 10:07:53 GMT <digcat__> oh what joy, UK going for a general election June 8th !

2017-04-18 10:15:19 GMT <AFaust> digcat__: Well, an easy way out for Theresa then. Just like her predecessor - trigger a massive change and soon after leave the responsibilities to somebody else...

2017-04-18 10:21:42 GMT <digcat__> yes, the stench of disowning brexit is undeniable, although looks to be taking advantage of the chaos in the Labour party

2017-04-18 10:23:55 GMT <AFaust> Hasn't the discontent in Labour been going on ever since Brexit referendum (or even before)? At least from what I gather from my Twitter feed mentions of Corbyn...

2017-04-18 10:24:58 GMT <digcat__> yes, the parliamentry lot dont like Corbyn, but he has won two votes by his party, so he stays

2017-04-18 11:05:55 GMT <DarkStar1> AFaust: She inherited a messy situation. I think she was looking at the prospect of being vilified as the next Margaret Thatcher and rightly decided she'd had enough. Personally I don't blame her.

2017-04-18 11:19:17 GMT <sam___> hi

2017-04-18 11:19:54 GMT <sam___> how to get exact repository URL for Alfresco enterprise version (for our case - v4.1.8(.16 r78348-b67) schema 5139)

2017-04-18 11:20:27 GMT <sam___> is this like http://localhost:8080/alfresco/cmisatom ?

2017-04-18 11:20:58 GMT <sam___> or like https://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom ?

2017-04-18 11:21:14 GMT <sam___> pls reply as this is a urgent need..

2017-04-18 11:24:51 GMT <sam___> anyone there to help me in this ?

2017-04-18 11:26:17 GMT <Loftux> sam___ Everyone is on lunch, back in an hour

2017-04-18 11:36:13 GMT <sam___> Thanks for ur reply, Loftux

2017-04-18 11:48:23 GMT <angelborroy> try http://localhost:8080/alfresco

2017-04-18 11:48:33 GMT <DarkStar1> sam___: If your installation is secured behind a proxy then you need the proxy address, if not (

2017-04-18 11:50:01 GMT <DarkStar1> sam___: and you have the server address then you'd just use http://server-address(or ip):8080/alfresco

2017-04-18 11:51:00 GMT <DarkStar1> like angelborroy just posted. Of course this assumes you're using the default port(s)

2017-04-18 11:53:16 GMT <sam___> actually i need the endpoint for accessing the alfresco repository

2017-04-18 11:53:49 GMT <sam___> FYI, http://docs.alfresco.com/4.1/concepts/cmis-41-endpoint.html

2017-04-18 11:53:51 GMT <alfbot> Title: CMIS endpoint URL for an Alfresco 4.1 repository | Alfresco Documentation (at docs.alfresco.com)

2017-04-18 11:54:40 GMT <sam___> and http://docs.alfresco.com/5.0/pra/1/concepts/cmis-request-url-format-onpremise.html

2017-04-18 11:54:42 GMT <alfbot> Title: Request URL format for on-premise Alfresco | Alfresco Documentation (at docs.alfresco.com)

2017-04-18 11:55:30 GMT <sam___> which to follow ?

2017-04-18 11:56:23 GMT <sam___> DarkStar1, able to get my point ?

2017-04-18 11:58:16 GMT <DarkStar1> sam___: Oops sorry I am busy so didn't see your response. CMIS is one endpoint and REST is another endpoint. If you just want cmis then: https://your-server-address-or-ip/alfresco/api/-default-/public/cmis/versions/1.1/atom

2017-04-18 11:58:36 GMT <bhagyas> Hopefully CMIS will be discontinued in favour of the ADF

2017-04-18 11:58:40 GMT <bhagyas> and JS APIs

2017-04-18 11:59:25 GMT <DarkStar1> bhagyas: I for one hope CMIS stays for a long time

2017-04-18 11:59:46 GMT <bhagyas> CMIS would stay, but Alfresco would not support it

2017-04-18 12:00:16 GMT <bhagyas> There has not been much activity I've noticed related to Open APIs and integrations, but rather the regular Bingo stuff

2017-04-18 12:01:41 GMT <DarkStar1> hope they do. a DMS standard for accessing DMS'es is always a nice thing to have. Especially if you consider that there are older systems out there that support it. It can make migration between systems easier

2017-04-18 12:02:52 GMT <sam___> bhagyas, DarkStar1: is this the same for Alfresco enterprise version (for our case - v4.1.8(.16 r78348-b67) ?

2017-04-18 12:03:06 GMT <bhagyas> DarkStar1: Hope is overrated when it comes to Alfresco stuff, we're now learning Nuxeo instead :)

2017-04-18 12:04:26 GMT <bhagyas> And I'd personally encourage everyone to do so as well, since it feels pretty solid - even if you're stuck with Alfresco for the coming future

2017-04-18 12:04:32 GMT <sam___> bhagyas, DarkStar1: we need this for client side deployment, so please clarify on this..

2017-04-18 12:04:47 GMT <DarkStar1> sam___: I can't be 100% sure for an enterprise version as I haven't worked with one for a while but that url was grabbed from a community 5.0.d installation. I addume enterprise editions have the same/similar url

2017-04-18 12:05:15 GMT <DarkStar1> sam___: Why don't you just use opencmis browser and try the url

2017-04-18 12:05:35 GMT <DarkStar1> if you can login then you have then you have what you need]

2017-04-18 12:06:12 GMT <AFaust> CMIS 1.1 was added in Alfresco 4.2, so Alfresco 4.1.x will not support it.

2017-04-18 12:06:22 GMT <bhagyas> sam___: If you're an enterprise customer/partner - call Alfresco India for urgent matters

2017-04-18 12:06:32 GMT <bhagyas> sam___: tel:+919820355558

2017-04-18 12:06:54 GMT <bhagyas> I'm sure they would be delighted to help you :)

2017-04-18 12:07:52 GMT <DarkStar1> Thanks AFaust. sam___ then try https://your-server-address-or-ip/alfresco/api/-default-/public/cmis/versions/1.0/atom

2017-04-18 12:08:30 GMT <bhagyas> DarkStar1: Also, echo "your-server-address-or-ip 127.0.0.1" >> /etc/hosts

2017-04-18 12:08:31 GMT <bhagyas> :p

2017-04-18 12:08:51 GMT <AFaust> DarkStar1: I think the public API URL was also added in Alfresco 4.2 - so the URL may be different as well.

2017-04-18 12:09:05 GMT <DarkStar1> sam___: make sure to remember to add the port number in case

2017-04-18 12:10:13 GMT <DarkStar1> sam___: on AFaust's note then try: http://docs.alfresco.com/4.1/concepts/cmis-41-endpoint.html

2017-04-18 12:10:14 GMT <alfbot> Title: CMIS endpoint URL for an Alfresco 4.1 repository | Alfresco Documentation (at docs.alfresco.com)

2017-04-18 12:10:45 GMT <DarkStar1> meaning we're back at square 1 :)

2017-04-18 12:11:39 GMT <bhagyas> πŸ˜‚

2017-04-18 12:13:48 GMT <sam___> bhagyas, DarkStar1, AFaust: thanks for ur replies. Also whats that 'public API URL' ?

2017-04-18 12:20:17 GMT <sam___> bhagyas, DarkStar1, AFaust: will this affect the repo url ?

2017-04-18 12:20:42 GMT <DarkStar1> sam___: No. Why should it?

2017-04-18 12:21:31 GMT <DarkStar1> sam___: If you're have access related problem just describe it and someone will be able to help you with it

2017-04-18 12:21:43 GMT * DarkStar1 looks in the direction of AFaust :D

2017-04-18 12:24:26 GMT <sam___> DarkStar1: we are developing application using alfresco api. In dev environment we used community version and the URL what u specified.

2017-04-18 12:24:49 GMT <bhagyas> sam___: You owe DarkStar1a chocolate if he provides the answer xD

2017-04-18 12:25:12 GMT <AFaust> sam___: The "public API URL" is the basic pattern of a URL like /alfresco/api/<tenant>/public/<endpointType>/versions/<version>/<endpointUri>

2017-04-18 12:25:41 GMT * DarkStar1 doesn't really like chocolate except hot chocolate :)

2017-04-18 12:25:55 GMT <AFaust> This is meant to differentiate the API from legacy APIs that may change between versions and should not be used for application-application integration...

2017-04-18 12:26:24 GMT <alfbot> resplin: Sent 4 days, 4 hours, and 6 minutes ago: <yreg> ping !

2017-04-18 12:26:45 GMT <yreg> resplin, I forgot what that was about

2017-04-18 12:26:48 GMT <yreg> sorry

2017-04-18 12:27:13 GMT <yreg> oh wait, now I remember

2017-04-18 12:27:52 GMT <DarkStar1> sam___: are you developing against the latest community version and hoping to apply the same app to an "older" enterprise version? Or a community version newer than your target enterprise version?

2017-04-18 12:30:08 GMT * DarkStar1 is working on his Beecon presentation.

2017-04-18 12:32:45 GMT <sam___> DarkStar1: we are using Community - 5.2.0 (r135134-b14) for dev and applying this to Alfresco enterprise version (for our case - v4.1.8(.16 r78348-b67) schema 5139) for prod, will this work ?

2017-04-18 12:34:05 GMT <sam___> DarkStar1: and thanks for ur query regarding this. I need confirmation for this too :)

2017-04-18 12:35:33 GMT <sam___> DarkStar1: will our app work in the enterprise version ?

2017-04-18 12:36:03 GMT <DarkStar1> sam___: Short answer is No. Not out of the box.

2017-04-18 12:36:30 GMT <sam___> unfortunately, we are not having access to client's alfresco...........

2017-04-18 12:36:35 GMT <DarkStar1> I don't know which sdk is 4.1 compatible but maybe someone else knows

2017-04-18 12:37:40 GMT <DarkStar1> sam___: you should still be able download 4.1 community or ask client to provide you with access to the enterprise support portal and bug alfresco for what you need.

2017-04-18 12:37:58 GMT <DarkStar1> Just like bhagyas suggested earlier.

2017-04-18 12:40:21 GMT <sam___> we are not using the SDK of community, but we use the endpoints of Alfresco

2017-04-18 12:41:04 GMT <bhagyas> sam___: Are you an Alfresco partner"?

2017-04-18 12:41:39 GMT <bhagyas> sam___: If your job depends on the solution to this problem as early as possible, I would highly recommend calling Alfresco support

2017-04-18 12:43:22 GMT <yreg> has anyone else experienced issues with SDK 3 dependencies resolution / debug ?

2017-04-18 12:43:23 GMT <sam___> No, we are consuming the REST services of alfresco and wrote our own SDK to use the ECM functionality

2017-04-18 12:43:38 GMT <bhagyas> yreg: I'm sure you're the only one...

2017-04-18 12:43:43 GMT <bhagyas> :P

2017-04-18 12:43:59 GMT <DarkStar1> sam___: If your developments are interfacing with alfresco via cmis 1.0 then I don't see why they shouldn't work (bar the change in cmis endpoint url)

2017-04-18 12:44:09 GMT <yreg> I was trying to use sdk3 with alf 5.1

2017-04-18 12:44:26 GMT <yreg> first I was only able to develop against latest 5.1.x

2017-04-18 12:45:27 GMT <yreg> and then, when I was debugging alfresco services using IntelliJ, I found myself stopping in add lines and having inconsistent results...

2017-04-18 12:46:24 GMT <yreg> it turned out I was debugging with the sources of 5.1.g against the classes of 5.2.a-EA

2017-04-18 12:46:35 GMT <DarkStar1> sam___: if you're using REST then you really ought to look at an alfresco 4.1.x to make sure that the REST APIs you're using exists. I would suggest you ask your client to make provisions for you to contact alfresco support. We can only really help you with community issues here because we all (I assume) work with community

2017-04-18 12:47:40 GMT <DarkStar1> sam___: https://sourceforge.net/projects/alfresco/files/ if you want to download past community versions (couldn't find the links to past community versions on alfresco's site)

2017-04-18 13:07:49 GMT <sam___> DarkStar1: thanks for that link. Also whats that opencmis browser ?

2017-04-18 13:08:59 GMT <sam___> is that helpful for our case ?

2017-04-18 13:09:32 GMT <sam___> ...our requirement ?

2017-04-18 13:09:50 GMT <DarkStar1> sam___: https://www.apache.org/dyn/closer.lua/chemistry/opencmis/1.1.0/ use it to access and browse your cmis repository

2017-04-18 13:09:51 GMT <alfbot> Title: Apache Download Mirrors (at www.apache.org)

2017-04-18 13:10:30 GMT <DarkStar1> sam___: It is not a requirement, it was a suggestion to test that your alfresco is CMIS accessible via the given url

2017-04-18 13:12:47 GMT <sam___> DarkStar1: by requirement, i mean finding the repo url of Alfresco..

2017-04-18 13:13:02 GMT <DarkStar1> sam___: No

2017-04-18 13:15:41 GMT <sam___> DarkStar1: ok.... thanks for that !

2017-04-18 13:17:01 GMT <AxelFaust> yreg: Note that latest 5.1.x is actually a mix of 5.1 and 5.2 - you need to pick the correct repo-tier WAR dependency for correct classes.

2017-04-18 13:21:07 GMT <sam___> DarkStar1: could u pls explain how to test that ?

2017-04-18 13:25:40 GMT <DarkStar1> sam___: I merely suggested that you should download opencmis workbench and use it to test that your alfresco is accessible via the url

2017-04-18 13:28:19 GMT <yreg> AxelFaust, well the one before latest does not even build

2017-04-18 13:31:07 GMT <sam___> DarkStar1: thanks a lot !

2017-04-18 14:41:52 GMT *** mmccarthy1 is now known as mmccarthy

2017-04-18 16:32:25 GMT *** mmccarthy1 is now known as mmccarthy

2017-04-18 18:04:38 GMT <eswbitto> I'm having a hard time finding where I would over write a file in an exploded war file via the SDK. I can't find anything relating to where (or file paths) to make this change.

2017-04-18 19:44:40 GMT <eswbitto> If I want to modify a js file that lives in /install/tomcat/webapps/share/components/dashlets would I make the modification in the platform-jar or the share-jar of the sdk?

2017-04-18 23:24:31 GMT <kjflorence> Hello, I would like to add a tag "Not Tagged" to taggable documents with no existing tags.

2017-04-18 23:25:03 GMT <kjflorence> Having trouble identifying nodes with no tags

2017-04-18 23:25:06 GMT <kjflorence> function UpdateUntagged(){ //var query = var query = 'TYPE:"mmp:Policy" AND (ISNULL:"cm:taggable")'; var nodes=search.luceneSearch(query); for each (node in nodes){ document.addTag("Not Tagged"); document.save(); } } UpdateUntagged();

2017-04-18 23:26:15 GMT <kjflorence> Can someone help me with a lucene query - this updates all nodes whether there are tags or not.

2017-04-18 23:26:39 GMT <kjflorence> thank you

End of Daily Log

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