Alfresco discussion and collaboration. Stick around a few hours after asking a question.
Official support for Enterprise subscribers: support.alfresco.com.
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.
More help is available in this list of resources.
2018-02-13 00:01:40 GMT <AFaust> ~later tell jpotts: In my open source acosix-utility module I have already included the patch for cssRequirements (https://github.com/Acosix/alfresco-utility/blob/master/share/src/main/config/module-context.xml#L114) - i18nRequirements would be similar
2018-02-13 00:01:40 GMT <alfbot> AFaust: The operation succeeded.
2018-02-13 08:28:19 GMT <Loftux> If the permission is changed to "Site Manager" the 'Delete' shows up, but not with 'Site Collaborator'. It should, especially for own content.
2018-02-13 09:01:51 GMT <AFaust> ~flushLog
2018-02-13 09:01:51 GMT <alfbot> AFaust: Woooosh, your log has been flushed...
2018-02-13 09:04:27 GMT <AFaust> Loftux: Are you sure there is no behaviour / rule in place to revoke the ownership status? I tend to recommend that in various customer projects since imho the ownership status messes quite a lot with the role-based access paradigm. To ensure content is still deletable without requiring Site Manager role, there'll sometimes be a new role "Site Collaborator+" which includes delete permissions (though explicitly denied on special nodes like the site itself)
2018-02-13 09:06:31 GMT <Loftux> AFaust: Trying to debug the permissionService to find out what the hasPermission("Delete") actually evaluates to find out what is going on. Turns out is that is a rabbit hole...
2018-02-13 09:28:08 GMT <raveena> hi
2018-02-13 09:28:53 GMT <raveena> I am trying to customize the node-header of document list page in alfresco
2018-02-13 09:30:17 GMT <raveena> what I am doing is that I am checking for the presence of an aspect and if the aspect is present,it puts a label.
2018-02-13 09:30:47 GMT <raveena> for this I have put the following code in node-header.get.html.ftl file
2018-02-13 09:31:08 GMT <raveena> <#if !isContainer> <#assign nodeType = node.type?replace(":","_") + ".title"> <#assign fileExtIndex = item.fileName?last_index_of(".")> <#if fileExtIndex gt -1> <#assign fileExt = item.fileName?substring(fileExtIndex + 1)?lower_case> <#elseif node.mimetype?? && mimetypes.getExtension(node.mimetype)??><#-- Mimetype may be null if it is not known in the repository -->
2018-02-13 09:31:56 GMT <raveena> <#assign fileExt = mimetypes.getExtension(node.mimetype)> <#else> <#assign fileExt = "generic"> </#if> <#if node.hasAspect("ev:pdffolder")> <#assign viewType = "Compressed"> <#else> <#assign viewType = "Original"> </#if> </#if>
2018-02-13 09:32:45 GMT <raveena> but the exception "The following has evaluated to null or missing: ==> node.hasAspect [in template "org/alfresco/components/node-details/node-header.get.html.ftl" at line 33, column 21]"
2018-02-13 09:33:03 GMT <raveena> I am not able to figure out the problem
2018-02-13 09:33:16 GMT <raveena> why it is giving the null
2018-02-13 09:33:35 GMT <raveena> anyone plz help me
2018-02-13 09:34:55 GMT <rluders> raveena, on tip, you can put your code here on pastebin (https://pastebin.com/) and the share the link. Make it better to read.
2018-02-13 09:34:56 GMT <alfbot> Title: Pastebin.com - #1 paste tool since 2002! (at pastebin.com)
2018-02-13 09:35:57 GMT <Loftux> raveena: please use something like pastebin to paste code/errors. This can be because you are modyfing a Share template, hasAspect is not available there.
2018-02-13 09:35:58 GMT <raveena> okie
2018-02-13 09:36:28 GMT <raveena> okie
2018-02-13 09:36:39 GMT <raveena> so what should I use
2018-02-13 09:37:16 GMT <rluders> what is the line 33 of your code?
2018-02-13 09:37:36 GMT <raveena> <#if node.hasAspect("ev:pdffolder")>
2018-02-13 09:39:01 GMT <raveena> and the code is throwing the exception for node.hasAspect
2018-02-13 09:39:16 GMT <raveena> why this is so
2018-02-13 09:39:48 GMT <rluders> I had a similar issue once, I'm trying to remember how did I solve it.
2018-02-13 09:44:47 GMT <rluders> raveena, if you try to use something like
2018-02-13 09:45:27 GMT <rluders> <#if hasAspect(node, "ev:pdffolder") == 1>
2018-02-13 09:46:25 GMT <raveena> okie I will try this and let you know
2018-02-13 09:49:01 GMT <raveena> @rluders now it is showing "The following has evaluated to null or missing: ==> hasAspect [in template "org/alfresco/components/node-details/node-header.get.html.ftl"
2018-02-13 09:50:48 GMT <rluders> :(
2018-02-13 09:51:30 GMT <rluders> So, I have no idea, I'm new with Alfresco. I can try to find out what is happening.
2018-02-13 09:52:16 GMT <raveena> @rluders okie rluders
2018-02-13 09:52:25 GMT <raveena> I appreciate ur help
2018-02-13 09:52:36 GMT <rluders> we can try to do something different, just to test it
2018-02-13 09:52:47 GMT <raveena> okie
2018-02-13 09:53:31 GMT <Loftux> raveena: You are using a method that is not available in Share, only Repository. They are different applications, and you may have to use remote connect from Share to Repo to get that information.
2018-02-13 09:53:39 GMT <raveena> tell me whatever u want to test and I will test it and will let u know
2018-02-13 09:53:54 GMT <rluders> Loftux, :D
2018-02-13 09:54:12 GMT <Loftux> So you want me to write your code+
2018-02-13 09:55:19 GMT <Loftux> raveena: https://docs.alfresco.com/5.2/concepts/alfresco-arch-about.html
2018-02-13 09:55:20 GMT <alfbot> Title: Alfresco Content Services architecture overview | Alfresco Documentation (at docs.alfresco.com)
2018-02-13 09:56:02 GMT <raveena> @Loftux thanks loftux
2018-02-13 09:56:12 GMT <raveena> I will study it and will let u know
2018-02-13 12:44:12 GMT <mbui> Anyone know when/where the slides from DevCon will be available?
2018-02-13 12:53:52 GMT <marsjk> mbui: these? https://community.alfresco.com/docs/DOC-7294-devcon-2018-presentations
2018-02-13 12:53:54 GMT <alfbot> Title: DevCon 2018 Presentations | Alfresco Community (at community.alfresco.com)
2018-02-13 12:59:03 GMT <mbui> marsjk: Thank you senpai
2018-02-13 12:59:25 GMT <marsjk> mbui: bare hyggelig :D
2018-02-13 14:35:11 GMT <alfbot> DarkStar1: Sent 3 days, 20 hours, and 11 minutes ago: <douglascrp> wow :D
2018-02-13 14:37:18 GMT <DarkStar1> hello everyone
2018-02-13 17:56:03 GMT <qwebirc18983> I am using ADF with a simple page that contains a "datatable" component
2018-02-13 17:56:36 GMT <qwebirc18983> if I set the rows of the datatable in the ngOnInit method
2018-02-13 17:56:39 GMT <qwebirc18983> it works
2018-02-13 17:56:55 GMT <qwebirc18983> but if the ngOnInit calls an async method to get the list of rows
2018-02-13 17:57:04 GMT <qwebirc18983> the datatable is not udpated
2018-02-13 17:57:49 GMT <qwebirc18983> I can see that the variable bound to the datatable is modified and receives the expected rows
2018-02-13 17:58:29 GMT <qwebirc18983> I have also tried adding a button that updates the rows, but again nothing changes in the UI
2018-02-13 20:53:13 GMT *** rluders__ is now known as rluders
2018-02-13 22:47:19 GMT <sakshi> hello,
2018-02-13 22:48:31 GMT <sakshi> Hello, I have installed Uploader Plus I have my custom metadata in the form of aspects. need to bring this up in uploader plus Allowed types which only shows up models and not aspects. Is there a way metadata from my aspect can come in the uploader form of uploader plus
2018-02-13 22:49:59 GMT <sakshi> please help
The other logs are at http://esplins.org/hash_alfresco