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

2018-01-03 05:46:16 GMT <rajkumar> Hi all, I tried to upgrade from YUI2 to YUI3 but the components are missing and the buttons are not functioning .

2018-01-03 07:48:58 GMT <alfbot> fcorti: Sent 3 days, 22 hours, and 54 minutes ago: <digcat> Happy New Year to you and yours too, have a good one, look forward to catch up in lisbon

2018-01-03 07:48:59 GMT <alfbot> fcorti: Sent 2 days, 22 hours, and 22 minutes ago: <digcat> sorry to dash off the other day, following on from the AI stuff, i came across this mob http://www.matelabs.in kinda interesting

2018-01-03 08:37:26 GMT <twen> hello

2018-01-03 08:37:31 GMT <twen> Happy nw year

2018-01-03 08:47:23 GMT <yreg> hi twen, same to you mon ami

2018-01-03 08:47:36 GMT <twen> salut yreg o/

2018-01-03 10:00:48 GMT <DarkStar1> morning everyone

2018-01-03 10:01:04 GMT <DarkStar1> ~later tell douglascrp ping

2018-01-03 10:01:04 GMT <alfbot> DarkStar1: The operation succeeded.

2018-01-03 10:35:43 GMT <twen> hello DarkStar1

2018-01-03 10:36:19 GMT <DarkStar1> Bon Année twen. Tu va bien?

2018-01-03 10:36:36 GMT <twen> DarkStar1 Ca va :) Bonne année !

2018-01-03 11:51:27 GMT <alfbot> douglascrp: Sent 1 hour and 50 minutes ago: <DarkStar1> ping

2018-01-03 11:51:45 GMT <douglascrp> DarkStar1, pong

2018-01-03 11:51:51 GMT <douglascrp> good morning everyone

2018-01-03 12:13:17 GMT <DarkStar1> douglascrp: hey dude.

2018-01-03 12:19:32 GMT <Hiten> Hi All

2018-01-03 12:19:59 GMT <Hiten> I am not able to override activities-service.properties file in SDK 3.0

2018-01-03 12:20:26 GMT <Hiten> earlier it was placed under config/alfresco/messages and it used to work

2018-01-03 12:20:37 GMT <Hiten> but now I am not sure where to place it

2018-01-03 12:20:44 GMT <Hiten> in SDK 3.0

2018-01-03 12:21:11 GMT <Hiten> I have seen many answers on this but none of the seems to be working for me

2018-01-03 12:21:39 GMT <yreg> Hiten, Are you producing a jar or an amp with your project ?

2018-01-03 12:23:33 GMT <Hiten> amp

2018-01-03 12:27:48 GMT <yreg> could you open the amp produced with some archive tool (winrar for instance ..) and check if the message file is there ? if not that might actually be it and you might need to move your file to an other location so that it gets placed in the amp and not in the jar

2018-01-03 12:33:12 GMT <Hiten> I can see that the file is getting placed under <Alfresco_Home>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/messages

2018-01-03 12:33:28 GMT <Hiten> bt still not getting pickedup

2018-01-03 13:16:10 GMT <yreg> Hiten, can you try on load that bundle through an XML context file ?

2018-01-03 13:17:03 GMT <yreg> could it be that you have a different locale in your browser than the one you tweaked

2018-01-03 14:03:33 GMT <Tuxpan_> hello

2018-01-03 14:03:42 GMT <Tuxpan_> I'm having a problema with alfresco 4.0.d

2018-01-03 14:04:00 GMT <Tuxpan_> when trying to download a file we have an application that generates a url

2018-01-03 14:04:30 GMT <Tuxpan_> If i open this url in the browser i can download files but for some reason the app is failing, with error file is not found

2018-01-03 14:05:01 GMT <Tuxpan_> I'm thinking maybe the url generated by the app is not the same as I'm assuming it should create...another file name for example

2018-01-03 14:05:26 GMT <Tuxpan_> when generating the url it gets file name and other information directly from alfresco via the uuid and a web service

2018-01-03 14:05:38 GMT <Tuxpan_> I'm thinking maybe this is not returning what we expect it to

2018-01-03 14:13:10 GMT <Tuxpan_> the node info is obtained with RepositoryServiceSoapBindingStub.get(new Predicate(new Reference[] { ref }, STORE, null)

2018-01-03 14:13:13 GMT <Tuxpan_> this is java

2018-01-03 14:13:29 GMT <Tuxpan_> ref being Reference ref = new Reference(STORE, uuid, null);

2018-01-03 14:17:31 GMT <Tuxpan_> anyways if that doesn't make sense, is there any way to see the incoming download requests in alfresco 4.0.d?

2018-01-03 14:17:43 GMT <Tuxpan_> would be useful if I knew the link that is being loaded

2018-01-03 14:37:21 GMT <resplin> Happy New Year everybody!

2018-01-03 14:42:17 GMT <twen> happy new year resplin

2018-01-03 14:44:17 GMT <resplin> I was tempted to stay on holiday and not come back to work, but I can't risk getting fired and missing out on DevCon! grin

2018-01-03 14:47:35 GMT <yreg> Tuxpan_, can you share a link sample ?

2018-01-03 14:48:00 GMT <yreg> resplin, hi there! Happy new year to you too !

2018-01-03 14:48:37 GMT <Tuxpan_> yreg, yes I know the cause of the error, a correct url example is this:

2018-01-03 14:49:01 GMT <Tuxpan_> but in this specific case it's generating

2018-01-03 14:49:13 GMT <Tuxpan_> instead of "workspace" alfresco is returning the uuid

2018-01-03 14:49:16 GMT <Tuxpan_> hence the file is not found

2018-01-03 14:49:40 GMT <Tuxpan_> it's the only case i can find so far in the logs

2018-01-03 14:49:46 GMT <Tuxpan_> happy new year btw :-D

2018-01-03 14:50:59 GMT <yreg> Tuxpan_, how are you building that URL ?

2018-01-03 14:56:23 GMT <Tuxpan_> yreg, using this code https://pastebin.com/fhmG2TRE

2018-01-03 14:56:24 GMT <alfbot> Title: [Java] public static final Store STORE = new Store(Constants.WORKSPACE_STORE, "SpacesSt - Pastebin.com (at pastebin.com)

2018-01-03 14:56:29 GMT <Tuxpan_> that is how i get the value that is failing

2018-01-03 14:59:06 GMT <yreg> Tuxpan_, you mean you use that code to build the value between "...direct/" and "/SpacesStore..." ?

2018-01-03 15:00:03 GMT <yreg> Do you actually leverage any store other than the default workspace store ? if not, you could simply use a constant string for it

2018-01-03 15:00:32 GMT <Tuxpan_> yreg, yes exactly well the "SpaceStore" value also comes from the node but it's not the problem

2018-01-03 15:01:09 GMT <Tuxpan_> yreg, yes I was thinking about using it hardcoded

2018-01-03 15:02:26 GMT <Tuxpan_> as far as I know we only use one store

2018-01-03 15:02:41 GMT <Tuxpan_> where can I see the existing stores to know if there's more than one?

2018-01-03 15:02:51 GMT <yreg> I assume it is safe to do that as long as you do not expect to have to serve content that was deleted (from recycle bin)

2018-01-03 15:03:10 GMT <Tuxpan_> yreg, nope, no deleted content is needed

2018-01-03 15:03:10 GMT <yreg> aka archive protocol

2018-01-03 15:06:53 GMT <Tuxpan_> so the workspace is the main storage in alfresco where all my folders are created?

2018-01-03 15:07:39 GMT <yreg> kind of

2018-01-03 15:08:08 GMT <yreg> it's safe to assume so

2018-01-03 15:08:18 GMT <Tuxpan_> great thanx!

2018-01-03 15:08:25 GMT <yreg> urw

2018-01-03 15:12:06 GMT <Tuxpan_> I was looking at alf_store and how many files are in each one

2018-01-03 15:12:13 GMT <Tuxpan_> I have quite a few in archive

2018-01-03 15:12:23 GMT <Tuxpan_> kind of worries me to put workspace hardcoded

2018-01-03 15:14:31 GMT <Tuxpan_> but we do have a process that eliminates files from alfresco, I'm guessing thats why and no access is needed

2018-01-03 15:30:14 GMT <Tuxpan_> any idea if u can execute the alfresco web service from soapui or something like that? so i can replicate what my java code is sending

2018-01-03 15:31:04 GMT <yreg> Tuxpan_, theoritically speaking you can use whatever client you like to consume whatever webservice you have assuming that obey to the contract

2018-01-03 15:31:29 GMT <Tuxpan_> yreg, nice I'll will have to find out how to test it from another client, thanx

2018-01-03 15:32:31 GMT <yreg> note that SOAP Webservices have been dicontinued in alfresco a while back, and it is probably not recommended to invest any further effort in developing features that rely on it

2018-01-03 15:32:46 GMT <Tuxpan_> yreg, ok thanx for the tip

2018-01-03 15:36:54 GMT <Tuxpan_> I found this url to be the web service api but I can't load it in soapui :-(

2018-01-03 15:42:26 GMT <Tuxpan_> is there a wsdl published by alfresco for its web services?

2018-01-03 15:43:00 GMT <yreg> Tuxpan_, try

2018-01-03 15:43:40 GMT <Tuxpan_> yreg, that doesn't load anything i believe that is for later versiones 4.2 or something

2018-01-03 15:43:54 GMT <Tuxpan_> the url loads a page, it says "Axis HTTP Servlet"

2018-01-03 15:44:07 GMT <Tuxpan_> but I can't load it in soapui for example

2018-01-03 15:44:19 GMT <Tuxpan_> I'm guessing because soapui expects a wsdl

2018-01-03 15:45:07 GMT <yreg> then try appending ?wsdl to the url ?

2018-01-03 15:46:18 GMT <Tuxpan_> yreg, tried it, i get "AXIS error, could not generate WSDL, tehere is no sopa service at this location" :-(

2018-01-03 15:46:36 GMT <yreg> https://community.alfresco.com/docs/DOC-4707-alfresco-content-management-web-services this page is supposed to document that but it seems it did not survive the migration to Jive

2018-01-03 15:46:37 GMT <alfbot> Title: Alfresco Content Management Web Services | Alfresco Community (at community.alfresco.com)

2018-01-03 15:47:21 GMT <yreg> Tuxpan_, could it be that /api is just the placeholder for different services and you need to point to a particular service to be able to access its wsdl

2018-01-03 15:49:56 GMT <Tuxpan_> yreg, think i found it

2018-01-03 15:49:57 GMT <Tuxpan_> thanx

2018-01-03 15:50:36 GMT <yreg> Tuxpan_, that's probably CMIOS soap binding

2018-01-03 15:50:44 GMT <yreg> CMIS**

2018-01-03 15:52:13 GMT <yreg> Tuxpan_, probably something like /api/AuthenticationService?wsdl would work, but you will need to figure out the service name

2018-01-03 16:01:00 GMT <Tuxpan_> yreg, yeah i have a wsdl for example this one

2018-01-03 16:01:17 GMT <Tuxpan_> I could load it in soapui but i get an authenticaction error

2018-01-03 16:01:22 GMT <Tuxpan_> at least i'm getting closer! :-D

2018-01-03 17:49:32 GMT <Tuxpan_> hello

2018-01-03 17:49:35 GMT <Tuxpan_> again :-p

2018-01-03 17:49:50 GMT <Tuxpan_> I'm executing alfresco 4.0.d cmis web services from soap

2018-01-03 17:49:52 GMT <Tuxpan_> soapui

2018-01-03 17:50:05 GMT <Tuxpan_> there is an objectId that is needed in many cases

2018-01-03 17:50:14 GMT <Tuxpan_> i thought it was the uuid but that returns an error

2018-01-03 17:50:19 GMT <Tuxpan_> any idea what the objectId is?

2018-01-03 19:10:02 GMT <Tuxpan_> any idea how to use the old alfresco api from a browser? i.e.

2018-01-03 19:10:18 GMT <Tuxpan_> I have it implemented from java but not sure how to replicate in a browser

2018-01-03 20:41:44 GMT <Tuxpan_> ok i managed to find the old api web service my app is using

2018-01-03 20:42:40 GMT <Tuxpan_> but i get an error because of the header

2018-01-03 20:42:46 GMT <Tuxpan_> this is the response https://pastebin.com/1u4vTSc4

2018-01-03 20:42:47 GMT <alfbot> Title: [XML] response - Pastebin.com (at pastebin.com)

2018-01-03 20:42:53 GMT <Tuxpan_> apparently some security issue

2018-01-03 20:42:59 GMT <Tuxpan_> oh and this is my request

2018-01-03 20:43:52 GMT <Tuxpan_> https://pastebin.com/Lgyf9Ues

2018-01-03 20:43:53 GMT <alfbot> Title: [XML] request - Pastebin.com (at pastebin.com)

End of Daily Log

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