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.
2017-01-05 07:18:28 GMT <aguamemnon> hi all and happy new year i want to trigger rules on accept or reject button adhoc task diferently how plz
2017-01-05 08:06:44 GMT <Loftux> The hibernate exception hunt continues…
2017-01-05 08:08:47 GMT <Loftux> AFaust: It looks like I can trigger the hibernate exception by uploading lots of files, the switiching between views in Share to trigger lots of thumbnail generations. This gives lots of db connections (up to 50) whereas the upload of 128 files just keeps the connection around 3-4.
2017-01-05 08:10:42 GMT <Loftux> From the error logs it looks like it is often the ThumbNailServiceImpl that is involved. So it is either this, or it is actually the webscript js that is not properly transactionally safe. Just throwing out ideas.
2017-01-05 08:18:59 GMT <Loftux> The thumbnail webscript only has <transaction>required</transaction>
2017-01-05 08:18:59 GMT <Loftux> maybe should have <transaction allow="readwrite">requiresnew</transaction>
2017-01-05 08:21:00 GMT <AFaust> I believe it does not make much of a difference between required and requiresnew in this case
2017-01-05 08:21:21 GMT <AFaust> Or in any web script case for that matter.
2017-01-05 08:25:02 GMT <AFaust> When a web script is being executed there should not be any other transaction that has been started, so requiresnew and required result in the exact same behaviour.
2017-01-05 08:26:24 GMT <AFaust> readwrite on the other hand might be appropriate, but is already the default value
2017-01-05 08:26:41 GMT <Loftux> Why do they exist as different then, since each call to the webscript would be a new transaction?
2017-01-05 08:28:49 GMT <AFaust> Don't ask me, but I guess since the web script framework is somewhat independant from the core repository they just wanted to cover all their bases and not assume that any web script container behaves like the Repository-tier one does
2017-01-05 08:29:47 GMT <AFaust> Also - there is always the chance that some bloke does a "local" call to a web script via Java while a transaction is already active...
2017-01-05 08:30:16 GMT <AFaust> i.e. like how the PresentationContainer in Share-tier is used to render the components via web script implementations
2017-01-05 08:30:45 GMT <AFaust> in that case it might make sense to be able to tag specific web scripts as requiresnew
2017-01-05 08:36:03 GMT <aguamemnon_> hi , want to trigger rules on accept or reject button adhoc task diferently can you help me plz ?
2017-01-05 08:38:00 GMT <yreg> aguamemnon_, I don't think it would help to ask your question for the 5th time at least
2017-01-05 08:38:43 GMT <yreg> why don't you look something on the net, try it out and then if you face problems ask here for solutions
2017-01-05 08:40:37 GMT <aguamemnon_> yreg: hi , i have search on web 5 days and i dont find solution for triggering for adhoc task , because there no aspect for simple worflow , and if i put the question multiple times , it s because nobody tell me they can or not help me ....
2017-01-05 08:41:26 GMT <yreg> Can you tell us what are you trying to do
2017-01-05 08:42:15 GMT <AFaust> aguamemnon_: If you want to execute logic on accept / reject of adhoc tasks you should probably enhance the BPMN of the workflow to include task or execution listeners...
2017-01-05 08:47:49 GMT <aguamemnon_> ok i would make a simple workflow with 5 folders / 1 draft whith simple workflow rules copy doc, move original to 5th ,convert pdf / 2 to 4 - 1 workflow accept and reject and triggers if reject ( upgrade vesion ,mail , and move to reject folder )
2017-01-05 08:51:26 GMT <yreg> ~since AFaust
2017-01-05 08:51:26 GMT <alfbot> yreg: <aguamemnon_> ok i would make a simple workflow with 5 folders / 1 draft whith simple workflow rules copy doc, move original to 5th ,convert pdf / 2 to 4 - 1 workflow accept and reject and triggers if reject ( upgrade vesion ,mail , and move to reject folder )
2017-01-05 08:52:01 GMT <yreg> AFaust, wanted to try that alfbot feature for ages :D it seems it works <grin>
2017-01-05 08:52:43 GMT <yreg> the ~since gives you all messages in the channel since <nick> disconnected
2017-01-05 08:52:53 GMT <AFaust> Apparently the IRC client didn't handle the switch from wireless to cabled LAN properly while Skype was able to retain the voice call...
2017-01-05 08:53:07 GMT <yreg> aguamemnon_, are you any familiar with workflow design and evelopment ?
2017-01-05 08:54:08 GMT <yreg> aguamemnon_, have you ever followed ecmarchitect.com alfresco developer series ? and checked the workflow tutorials ?
2017-01-05 09:15:53 GMT <aguamemnon_> yreg: for the design of workflow , i start to learn with eclipse , and for ecmarchitect no
2017-01-05 11:19:14 GMT <vikash> hi< alfresco
2017-01-05 13:08:24 GMT <fwu> hi all! good year for everyone
2017-01-05 15:15:46 GMT <jpotts1> ~ seen resplin
2017-01-05 15:15:47 GMT <alfbot> jpotts1: resplin was last seen in #alfresco 2 weeks, 5 days, 22 hours, 37 minutes, and 45 seconds ago: <resplin> I won't be seeing Rogue One until next Wednesday.
2017-01-05 15:16:18 GMT *** jpotts1 is now known as jpotts
2017-01-05 15:22:00 GMT <yreg> jpotts, last time he was here, he said that he will be having 3 weeks vacation
2017-01-05 15:22:35 GMT <jpotts> yreg: Oh wow, good for him!
2017-01-05 15:27:31 GMT <davidwebster> @Vasquez: following up on your question yesterday about building RM Community from GitHub. I’ve spoken to Tuna, the RM build guru, and he says to make sure you’re inside the rm-community directory and run “mvn clean install -Ddependency.surf.version=6.3”
2017-01-05 16:03:55 GMT <resplin> Happy New Year everyone!
2017-01-05 16:04:18 GMT <jpotts> resplin: Happy New Year!
2017-01-05 16:14:30 GMT <fwu> What?!? Does alfbot makes a direct connection to a person when someone makes "seen person" lololol
2017-01-05 16:17:28 GMT <resplin> It's magic!
2017-01-05 16:20:53 GMT <jpotts> We could totally add that feature by leveraging something like Twilio, lol
2017-01-05 16:21:33 GMT <jpotts> Bots are the future, after all
2017-01-05 16:29:55 GMT <yreg> jpotts, there is already tons of undiscovered features over here, some of them involves bots
2017-01-05 16:30:47 GMT <yreg> did you know that you can type '/notify resplin' to get a notification on each and every time replin joins or parts for example?
2017-01-05 16:31:36 GMT <yreg> or that you could color you texts like this or this !
2017-01-05 16:32:06 GMT <jpotts> yreg: Yes, I knew about notify. I like the color idea, but my IRC client doesn't support it
2017-01-05 16:32:25 GMT <yreg> what client are you using ?
2017-01-05 16:32:59 GMT <yreg> you will need CTRL+K (CMD+k for mac) then type color code and start typing
2017-01-05 16:33:19 GMT <jpotts> Adium 22.214.171.124
2017-01-05 16:33:35 GMT <yreg> and if you have a bad connectivity and you got disconnected and missed some messages you can ask alfbot to give you a summary of what you missed using "~since"
2017-01-05 16:33:38 GMT <resplin> Color didn't come through for me either.
2017-01-05 16:33:51 GMT <resplin> I didn't know about ~since. Interesting.
2017-01-05 16:33:56 GMT <jpotts> +1
2017-01-05 16:34:03 GMT <resplin> That's handy.
2017-01-05 16:34:30 GMT <resplin> I didn't know about /notify either.
2017-01-05 16:35:22 GMT <resplin> That's a ChanServ command instead of an alfbot command.
2017-01-05 16:35:24 GMT <resplin> Cool to know.
2017-01-05 16:36:36 GMT <resplin> Speaking of alfbot. I'm finally upgrading that server from wheezy to jessie, so it might be gone for a few hours while I get everything configured correctly.
2017-01-05 16:37:51 GMT <yreg> resplin, if you want to discover all the plugins on alfbot in depth
2017-01-05 16:38:11 GMT <yreg> you can enter a private chat with alfbot "/query alfbot"
2017-01-05 16:38:33 GMT <yreg> then ask it to list plugins 'list'
2017-01-05 16:38:55 GMT <yreg> then list commands for each plugin 'list <plugin name>'
2017-01-05 16:39:16 GMT <yreg> and for each command you can display the help 'help <command>' ;)
2017-01-05 16:39:58 GMT <resplin> I've played with that before, but I didn't go into the level of detail that you have. Thanks for the tips!
2017-01-05 17:12:33 GMT <eswbitto> AFaust are you busy?
2017-01-05 17:13:24 GMT <AFaust> I am working, yes, but you are more likely asking if I can spare some of my attention here - and the answer to that would be: sure
2017-01-05 17:17:44 GMT <odino1> hi all
2017-01-05 17:19:18 GMT <eswbitto> AFaust I'm running into this same issue on 5.1
2017-01-05 17:19:19 GMT <eswbitto> https://community.alfresco.com/thread/204428-cache-is-full#comment-722602
2017-01-05 17:19:34 GMT <eswbitto> Would this solution work for 5.1?
2017-01-05 17:20:00 GMT <AFaust> Yes - cache configuration hasn't changed at all since 4.2
2017-01-05 17:22:08 GMT <eswbitto> So I would make two additions to the global.properties file: cache.myCache.maxItems=20000 and cache.mycache.tx.maxItems=20000 The one thing that I'm not really sure of is the item amount. What should I base that on?
2017-01-05 17:25:59 GMT <eswbitto> AFaust
2017-01-05 17:27:37 GMT <AFaust> The amount always depends on the specific cache and how you want to use the data it manages
2017-01-05 17:28:13 GMT <AFaust> i.e. the thread was about the userToAuthorityCache so that person apparently was running some code that needed to resolve a lot of users in a single transaction
2017-01-05 17:28:52 GMT <AFaust> Normally, a tx.maxItems of 100 should be more than enough, but for that specific use case or customisation that was being applied it was too little
2017-01-05 17:29:53 GMT <AFaust> Also, the cache.myCache.maxItems is for the shared cache which you will never see a log message about being full, so you probably don't even know if you need to increase that right now
2017-01-05 17:30:14 GMT <eswbitto> AFaust this is the message I'm getting : 2017-01-05 08:42:30,158 WARN [org.alfresco.repo.cache.TransactionalCache.org.alfresco.userToAuthorityTransactionalCache] [LocalFeedGenerator1] Transactional update cache 'org.alfresco.userToAuthorityTransactionalCache' is full (100).
2017-01-05 17:30:21 GMT <eswbitto> so I would put something like this...
2017-01-05 17:30:36 GMT <AFaust> That's one of the reasons why I recently created a new "Caches" tool for the Community Support Tools project to have a better overview of shared cache states
2017-01-05 17:30:54 GMT <eswbitto> cache.userToAuthorityTransactionalCache.maxItems=1000 I don't want to increase it too much
2017-01-05 17:31:37 GMT <eswbitto> AFaust is it in the addons?
2017-01-05 17:31:40 GMT <AFaust> cache.userToAuthorityTransactionalCache.tx.maxItems=500 would be better instead
2017-01-05 17:31:53 GMT <eswbitto> ok
2017-01-05 17:32:08 GMT <AFaust> Not yet listed on addons.alfresco.com because it will move ownership pretty soon and has not yet been published to Maven Central
2017-01-05 17:32:22 GMT <eswbitto> I see
2017-01-05 17:32:46 GMT <eswbitto> Well thanks for the help and the background info. I wasn't really sure on what its purpose was for.
2017-01-05 17:33:30 GMT <AFaust> oh - wait a second
2017-01-05 17:33:43 GMT <AFaust> The WARN message actually gives you an incorrect cache name for the configuration
2017-01-05 17:33:58 GMT <AFaust> cache.userToAuthoritySharedCache.tx.maxItems=500 is the correct setting
2017-01-05 17:34:19 GMT <eswbitto> ah sweet thanks for that lol
2017-01-05 20:11:46 GMT <eswbitto> Anyone know if you are able to use an evalutor on a dashlet much like you would use on a module for a menu header etc?
2017-01-05 20:21:49 GMT <resplin> ~log flush
2017-01-05 20:21:49 GMT <alfbot> resplin: Error: "log" is not a valid command.
2017-01-05 20:22:39 GMT <resplin> ~HtmlLogger flushlog
2017-01-05 20:22:39 GMT <alfbot> resplin: Woooosh, your log has been flushed...
2017-01-05 20:23:16 GMT <resplin> The IRC logs are back at chat.alfresco.com. It doesn't look like alfbot missed anything.
2017-01-05 21:34:23 GMT <eswbitto> ok so I'm a bit miffed....I've read all the docs on creating a custom dashlet in alfresco, but I don't see anything that would elude to being able to write a condition of seeing the dashlet or not based on group.
2017-01-05 23:19:19 GMT <AFaust> eswbitto: Something like that is not really possible uot-of-the-box
2017-01-05 23:20:29 GMT <AFaust> The only thing you could do is use an extension module to post-process the model of the customise-dashlets.get.js web script regarding the "availableDashlets"
2017-01-05 23:20:35 GMT <AFaust> And that extension module can use an evaluator
2017-01-05 23:21:18 GMT <AFaust> But that will only restrict the dashlet during the customisation of the dashboard, but there is no way to restrict them dynamically during rendering
2017-01-05 23:23:07 GMT <AFaust> I mean - you could use sub-components in an extension module if you knew the component ID beforehand, but as long as dashlets can be place in any column / in any row you cannot effectively target a specific addon at all
2017-01-05 23:35:11 GMT <eswbitto> AFaust dam that sucks
The other logs are at http://esplins.org/hash_alfresco