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

2016-12-28 06:50:19 GMT <Sumit> Hi All, What is recommended for digital signature? Any addons like alfresco-esign-cert, rouxemmanuel/DigitalSigning or PDF Toolkit sign feature.

2016-12-28 06:50:58 GMT <Sumit> what's a best option to use?

2016-12-28 10:40:17 GMT *** praisethemoon_ is now known as praisethemoon

2016-12-28 11:04:09 GMT <douglascrp> good morning

2016-12-28 11:04:35 GMT <douglascrp> hey Loftux

2016-12-28 11:04:41 GMT <douglascrp> have you seem my email?

2016-12-28 11:07:05 GMT <Loftux> douglascrp: Yep, thanks for the feedback

2016-12-28 11:07:20 GMT <douglascrp> it was really easy by doing it that way

2016-12-28 11:07:31 GMT <douglascrp> it's weird the add new region didn't work

2016-12-28 11:07:56 GMT <douglascrp> do you fully understand the region-id, source-id and scope concept?

2016-12-28 11:10:06 GMT <Loftux> fully understand is a concept that does not align with Alfresco :/ Once you think you got the hang of it, something turns your understanding upside down

2016-12-28 11:10:22 GMT <douglascrp> Loftux, exactly :D

2016-12-28 11:10:34 GMT <douglascrp> I tried really hard, seriously

2016-12-28 11:10:46 GMT <douglascrp> it might be something really really simple that I'm missing

2016-12-28 11:10:58 GMT <douglascrp> but ok, it's working now

2016-12-28 11:11:05 GMT <douglascrp> thank you again

2016-12-28 11:42:15 GMT <AFaust> douglascrp, Loftux: I'm gonna risk embarrassment and state that I "think" I fully understand region concept

2016-12-28 11:43:18 GMT <douglascrp> AFaust, you are "different"

2016-12-28 11:43:19 GMT <douglascrp> :D

2016-12-28 11:43:27 GMT <douglascrp> I don't even consider that :P

2016-12-28 11:44:20 GMT <douglascrp> I cannot imagine how you can process all that information

2016-12-28 11:47:25 GMT <douglascrp> AFaust, have you read the thread I posted yesterday?

2016-12-28 11:47:44 GMT <douglascrp> about the extension module for edit-metadata form?

2016-12-28 11:47:49 GMT <AFaust> I just checked the question on community.alfresco.com

2016-12-28 11:48:00 GMT <douglascrp> cool

2016-12-28 11:48:04 GMT <douglascrp> so, problem solved, I guess :D

2016-12-28 11:49:51 GMT <AFaust> Where is the final solution? Maybe add that to the thread

2016-12-28 11:50:35 GMT <douglascrp> the final solution uses the old extension mechanism, copying and changing the files in the web-extension folder

2016-12-28 11:50:59 GMT <douglascrp> I gave up of using the extension module

2016-12-28 11:51:01 GMT <AFaust> So you copied the template-instance XML file

2016-12-28 11:51:05 GMT <douglascrp> yes

2016-12-28 11:51:10 GMT <AFaust> Right

2016-12-28 11:51:26 GMT <AFaust> Want to know the most likely reason it didn't work?

2016-12-28 11:51:28 GMT <douglascrp> copied, included the new component (copied from document-details)

2016-12-28 11:51:34 GMT <douglascrp> AFaust, yes, please

2016-12-28 11:51:43 GMT <douglascrp> I wasted almost 2 full days trying to make it work

2016-12-28 11:51:55 GMT <douglascrp> and after that, I gave up

2016-12-28 11:52:12 GMT <AFaust> For a sub-component configuration via an extension module to work, there needs to be a base component already defined in the Surf object

2016-12-28 11:52:28 GMT <AFaust> Otherwise the code to check the extension module will not be called at all

2016-12-28 11:53:07 GMT <douglascrp> but will it work changing it, or is it impossible to achieve what we want using the extension module?

2016-12-28 11:55:29 GMT <douglascrp> is there anyway to add the component in the surf object using the extension-module? and AFTER that, use the other config to add the region?

2016-12-28 11:55:41 GMT <douglascrp> like, playing with the order of the things?

2016-12-28 11:56:25 GMT <AFaust> You can change and add sub-components to an existing component, but the very first, initial region-component binding can (as far as I know and see in the code) only occur in the regular Surf object XML files

2016-12-28 11:56:58 GMT <AFaust> You cannot modify the base Surf object XML file contents via an extension module

2016-12-28 11:57:10 GMT <douglascrp> so, maybe what dave suggested, declaring a new global component, and then use it, could work?

2016-12-28 11:57:27 GMT <douglascrp> or am I understanding it wrong?

2016-12-28 11:58:51 GMT <AFaust> It can work with page / template components as well, you only have to remember how components were defined before they were part of the page or template XML

2016-12-28 11:59:22 GMT <douglascrp> I didn't get that part

2016-12-28 11:59:36 GMT <AFaust> You can define a component for any page / template region by putting a small component XML file in site-data/components/

2016-12-28 11:59:39 GMT <douglascrp> ~seen Bindu

2016-12-28 11:59:39 GMT <alfbot> douglascrp: I have not seen Bindu.

2016-12-28 11:59:59 GMT <AFaust> ~seen binduwavel

2016-12-28 11:59:59 GMT <alfbot> AFaust: I have not seen binduwavel.

2016-12-28 12:00:01 GMT <AFaust> ~seen binduwavell

2016-12-28 12:00:01 GMT <alfbot> AFaust: binduwavell was last seen in #alfresco 7 weeks, 3 days, 16 hours, 39 minutes, and 54 seconds ago: <binduwavell> Anyone know if Jens Goldhammer is around? Or possibly contact info for him on Skype?

2016-12-28 12:00:24 GMT <douglascrp> AFaust, where is he when such important topics are being discussed

2016-12-28 12:00:31 GMT <douglascrp> he was really interested in the topic another day

2016-12-28 12:01:10 GMT <AFaust> It is still documented: http://docs.alfresco.com/5.2/references/surf-object-xml-reference-component.html

2016-12-28 12:01:11 GMT <alfbot> Title: Component | Alfresco Documentation (at docs.alfresco.com)

2016-12-28 12:01:35 GMT <douglascrp> AFaust, thank you

2016-12-28 12:01:39 GMT <douglascrp> I'm going to read that

2016-12-28 12:02:00 GMT <AFaust> So you only need to provide a "dummy" component XML to initialise the component and can then customize it via an extension module

2016-12-28 12:03:05 GMT <douglascrp> too much "hacky" to a simple thing like that

2016-12-28 12:03:13 GMT <douglascrp> IMHO

2016-12-28 12:03:19 GMT <AFaust> FYI: The stupid issue about Share Admin Tools not being accessible in DEBUG mode is related to this

2016-12-28 12:03:26 GMT <douglascrp> I see

2016-12-28 12:04:42 GMT <AFaust> douglascrp: The main issue is that the extension module feature is just an addon / convenience layer above the core Surf framework (same as the "component in page/template"), but everyone communicates the extension module stuff as "the new standard" when it really is just sugaring...

2016-12-28 12:04:53 GMT <AFaust> So people forget about / neglect the basics...

2016-12-28 12:05:37 GMT <douglascrp> AFaust, in my case, is my lack of undestanding on this

2016-12-28 12:05:45 GMT <AFaust> And as always, Alfresco PMs - who define the acceptance criteria - only focus on the 80% use cases

2016-12-28 12:06:12 GMT <AFaust> It could have problably been supported via sub-compoenent quite easily, but no one thought about this use case

2016-12-28 12:06:40 GMT * AFaust is going for a late breakfast before heading off with a friend for the day...

2016-12-28 12:06:46 GMT <douglascrp> AFaust, does the Bob answer make sense at all?

2016-12-28 12:07:00 GMT <douglascrp> he proposed a solution, that he says works on 4.2

2016-12-28 12:07:06 GMT <douglascrp> has that changed since that?

2016-12-28 12:07:17 GMT <AFaust> I haven't seen a "Bob answer"

2016-12-28 12:07:18 GMT <douglascrp> AFaust, enjoy it

2016-12-28 12:07:26 GMT <AFaust> I just looked at https://community.alfresco.com/thread/227385-how-to-include-the-web-preview-component-in-the-edit-metadata-form-on-share-51f

2016-12-28 12:07:28 GMT <alfbot> Title: How to include the web-preview component in the... | Alfresco Community (at community.alfresco.com)

2016-12-28 12:07:35 GMT <AFaust> No comments there

2016-12-28 12:07:37 GMT <douglascrp> it in the other thread, in the link I posted in the beginning

2016-12-28 12:08:33 GMT <AFaust> I haven't checked the logs for "the beginning" yet - and don't have time left now, so may do it in the evening when I am back...

2016-12-28 12:08:42 GMT <douglascrp> ok... no worries

2016-12-28 12:08:48 GMT <douglascrp> thank you for the lessons :D

2016-12-28 15:06:56 GMT <douglascrp> angelborroy, hey

2016-12-28 15:06:58 GMT <douglascrp> how are you?

2016-12-28 15:07:21 GMT <angelborroy> hey

2016-12-28 15:07:22 GMT <douglascrp> angelborroy, I have just found this summit session you gave https://summit.alfresco.com/london/sessions/10-enhancements-require-less-10-lines-code

2016-12-28 15:07:23 GMT <alfbot> Title: 10 Enhancements That Require Less Than 10 Lines of Code | Alfresco Summit is becoming Alfresco Days (at summit.alfresco.com)

2016-12-28 15:07:30 GMT <angelborroy> aha

2016-12-28 15:07:40 GMT <douglascrp> do you consider that a "fix" for this? https://issues.alfresco.com/jira/browse/MNT-16328

2016-12-28 15:07:42 GMT <angelborroy> that was in London 2013, right?

2016-12-28 15:07:46 GMT <douglascrp> I'm trying it right now

2016-12-28 15:07:52 GMT <douglascrp> yes

2016-12-28 15:07:57 GMT <douglascrp> the bug is still there

2016-12-28 15:08:05 GMT <angelborroy> small recipes

2016-12-28 15:08:16 GMT <douglascrp> yes, really nice

2016-12-28 15:08:30 GMT <douglascrp> those small recipes are learnt only by experience :D

2016-12-28 15:08:39 GMT <douglascrp> hitting the head agains the wall

2016-12-28 15:08:41 GMT <douglascrp> against

2016-12-28 15:09:03 GMT <angelborroy> so it’s working in 5.0 but it does not work in 5.1?

2016-12-28 15:09:28 GMT <douglascrp> I haven't tested it on 5.0, but by the link I gave you, it seems it's not working on 5.0 too

2016-12-28 15:09:33 GMT <douglascrp> I'm facing this with 5.1

2016-12-28 15:09:41 GMT <douglascrp> so, I guess, the bug was never really fixed

2016-12-28 15:10:08 GMT <douglascrp> I'm testing your code right now.. let's see if it can do the trick, and if that's the case, I'm going to send the link for them

2016-12-28 15:10:19 GMT <angelborroy> luck

2016-12-28 15:11:04 GMT <douglascrp> :D

2016-12-28 15:11:04 GMT <douglascrp> tks

2016-12-28 15:11:26 GMT <douglascrp> this issue process is sad

2016-12-28 15:11:36 GMT <douglascrp> really, it has to be improved

2016-12-28 15:11:50 GMT <douglascrp> I understand the "luck" meaning :D

2016-12-28 15:11:58 GMT <angelborroy> ;-)

End of Daily Log

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