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-06 05:05:59 GMT <Sandy> Hai Everyone, I am facing this issue [org.alfresco.repo.cache.TransactionalCache.org.alfresco.personTransactionalCache] [LocalFeedGenerator1] Transactional update cache 'org.alfresco.personTransactionalCache' is full (1000). can anyone help me please.

2016-12-06 06:19:37 GMT <HouseLanister> hi all im trying to add a script in my workflow to give the initiator only access to edit a document in a workflow, i get this error : org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 11060006 Failed to execute supplied script: 11060005 TypeError: Cannot call method "setOwner" of null (AlfrescoJS#7) so i understand that the value i use in the script is wron

2016-12-06 06:19:45 GMT <HouseLanister> but to the person who initiated the workflow

2016-12-06 06:19:53 GMT <HouseLanister> http://pastebin.com/pe2Cdxg0

2016-12-06 06:19:54 GMT <alfbot> Title: setPermissions - Pastebin.com (at pastebin.com)

2016-12-06 06:20:38 GMT <HouseLanister> so i want to initiator to be the only one that can make any changes to the document.

2016-12-06 06:43:37 GMT <Sandy> Hai Everyone, I am facing this issue [org.alfresco.repo.cache.TransactionalCache.org.alfresco.personTransactionalCache] [LocalFeedGenerator1] Transactional update cache 'org.alfresco.personTransactionalCache' is full (1000). can anyone help me please. i am using alfresco-community 5.1.f

2016-12-06 08:11:42 GMT <Sandy> Hai Everyone, I am facing this issue [org.alfresco.repo.cache.TransactionalCache.org.alfresco.personTransactionalCache] [LocalFeedGenerator1] Transactional update cache 'org.alfresco.personTransactionalCache' is full (1000). can anyone help me please. i am using alfresco-community 5.1.f

2016-12-06 08:15:11 GMT <IanW1> Sandy: you need to set the value of cache.userToAuthoritySharedCache.tx.maxItems in alfresco-global.properties to something larger

2016-12-06 08:18:33 GMT <Sandy> Hai IanW1, i have small confusion need to set org.alfresco.personTransactionalCache or cache.userToAuthoritySharedCache.tx.maxItems ..?

2016-12-06 08:19:38 GMT <IanW1> For example use this line: cache.userToAuthoritySharedCache.tx.maxItems=1000

2016-12-06 08:21:59 GMT <Sandy> ok thank you IanW1

2016-12-06 08:23:22 GMT <qwebirc94651> Hola! It's the authority-issue guy from yesterday again... I'm still struggling with the JavaScript API for adding a new group to existing Sites. Does someone know where I can find related information? Especially for site.createAndSaveContainer(containerId, containerType, description). What is the containerId?

2016-12-06 08:25:36 GMT <qwebirc94651> one more: If I just want to check if a container is available with site.hasContainer(componentId) - what is the componentId then?

2016-12-06 08:35:07 GMT <magp> Looking quickly at the source code: the componentId seems to be the same as the containerId and both correspond to the name of the node

2016-12-06 08:38:21 GMT <qwebirc94651> magp: Thanks, but if I want to create the container, I dont have the node yet or what else is meant with node name?

2016-12-06 08:44:20 GMT <magp> qwebirc94651: componentId is passed to fileFolderService.create and is used as a name

2016-12-06 08:46:43 GMT <Loftux> With 5.2 and MariaDB, mysql-connector-java-5.1.40 I get the error: Caused by: org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: org.hibernate.HibernateException: connnection proxy not usable after transaction completion

2016-12-06 08:55:00 GMT <magp> qwebirc94651:to create groups look at: http://docs.alfresco.com/5.1/references/API-JS-AuthorityService.html

2016-12-06 08:55:01 GMT <alfbot> Title: Authority service | Alfresco Documentation (at docs.alfresco.com)

2016-12-06 08:56:21 GMT <magp> qwebirc94651: Hmm, after a closer look there doesn't seem to be any methods for creating anything other than rootGroups..

2016-12-06 08:56:46 GMT <AFaust> Loftux: Any reason you are using MySQL connector and not the MariaDB JDBC driver?

2016-12-06 08:59:02 GMT <Loftux> We did upgrade from a very old Mysql that showed the same error, thought the problem was with that. Never had any problems with the mysql driver, but will try the mariadb one. Didn't know there was one.

2016-12-06 09:01:02 GMT <Loftux> AFaust: Didn't post the full error, but has something to do with the connection pool. The ootb admin tools shows no more than the min 10 is used (max at 120), even if there are 22 active sessions.

2016-12-06 09:03:08 GMT <AFaust> bmejias had similar discrepencies with the original support tools addon and for that reason started his ootbee alfguard hackathon project

2016-12-06 09:03:44 GMT <qwebirc94651> magp: Thanks for looking at it. So has anyone managed it to add a new authority group to an existing site with the JS API?

2016-12-06 09:04:28 GMT <yreg> Good morning

2016-12-06 09:04:47 GMT <AFaust> Strangely he was able to demonstrate the discrepency at the beginning of the hackathon but not when the demos were being showing on TTL

2016-12-06 09:06:00 GMT <AFaust> Could also be an issue with connections being returned to the pool when they have not been properly cleaned up (reporting wrong numbers in use in admin tools vs. DB server)

2016-12-06 09:06:33 GMT <Loftux> More of the error: ERROR [hibernate.jdbc.BorrowedConnectionProxy] [defaultAsyncAction32] Unusable connection proxy was rendered unusable at 2016-12-05T12:57:35.454 on thread 'defaultAsyncAction32': org.hibernate.jdbc.BorrowedConnectionProxy@4d29767e

2016-12-06 09:12:21 GMT <Loftux> Findin the error logged here: https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/3rd-party/src/hibernate-3.2.6-src.diff

2016-12-06 09:21:23 GMT <yreg> how can I lookup all documents with a null property ?

2016-12-06 09:21:50 GMT <AFaust> yreg: "all documents"?

2016-12-06 09:22:11 GMT <AFaust> And do you mean null actually been stored in the DB or effectively null (not set)?

2016-12-06 09:22:20 GMT <yreg> ISNULL:"myNameSpace:myProp" AND TYPE:"myNameSpace:myType" does not seem to work

2016-12-06 09:22:33 GMT <yreg> both

2016-12-06 09:22:56 GMT <AFaust> DB FTS or is SOLR fine?

2016-12-06 09:25:18 GMT <AFaust> Since SOLR 4 I only ever use NULLPROPERTIES:"fullyQualifiedQName" and never ISNULL

2016-12-06 09:26:41 GMT <AFaust> But actually ISNULL is an alias for: NULLPROPERTIES:"fullyQualifiedQName" -PROPERTIES:"fullyQUalifiedQName"

2016-12-06 09:27:20 GMT <AFaust> The propery QName is valid?

2016-12-06 09:27:36 GMT <AFaust> Otherwise the query will not be properly conerted...

2016-12-06 09:27:36 GMT <yreg> yes! That I am sure of

2016-12-06 09:28:28 GMT <AFaust> Is the property multi-valued and you want to find a null-value in a list that otherwise contains values? Because then it won't work due to how the query is rewritten

2016-12-06 09:29:46 GMT <AFaust> Have you tested the alternative NULLPROPERTIES field query using the fully qualified property name (e.g. NULLPROPERTIES:"{http://www.alfresco.org/model/content/1.0}name" instead of NULLPROPERTIES:"cm:name")?

2016-12-06 09:30:57 GMT <yreg> Will try that out and keep you pasted

2016-12-06 09:31:44 GMT <AFaust> If you really don't care about the difference between "null" and "not set" then you might also simply do: TYPE:"myNameSpace:myType" AND NOT PROPERTIES:"{myNamespace}myProp"

2016-12-06 09:34:08 GMT <yreg> Actually, I would like to recover both, null and not set !

2016-12-06 09:35:26 GMT <AFaust> that's what I meant - you don't care about the distinction and want both...

2016-12-06 09:37:17 GMT <yreg> It works !

2016-12-06 09:37:21 GMT <yreg> Thanks !

2016-12-06 09:40:47 GMT <AFaust> Question is: Which one of the options I proposed?

2016-12-06 09:41:05 GMT <AFaust> (I assume the latter)

2016-12-06 09:41:18 GMT <yreg> The latter of course !

2016-12-06 09:43:08 GMT <AFaust> Always make sure you double check the results before doing something crazy, like bulk change / delete...

2016-12-06 09:43:53 GMT <AFaust> Because due to the NOT it may return results when you have a typo in the condition because if you reference a property that does not exist then of course the NOT segment is guaranteed to match

2016-12-06 09:46:32 GMT <yreg> Nope it is just for the verification of the results of some script... purely read-only purposes

2016-12-06 10:09:41 GMT <fwu> hi all!

2016-12-06 10:10:23 GMT <fwu> ppl, Im having a strange behavior in my development environment: sometimes the minimized verson of my js files doesnt work well.

2016-12-06 10:11:09 GMT <fwu> if I chnage is name to run the non minimez version it works. The code inside seems the same, but it seems the file is a little different in what suppose is related with carrieage returns

2016-12-06 10:11:36 GMT <fwu> in win merge the minimized version is an unix file nor a windows file

2016-12-06 10:11:44 GMT <fwu> and it seems it doesnt work well

2016-12-06 10:11:56 GMT <fwu> anyone experienced this behavior before?

2016-12-06 10:12:30 GMT <fwu> in the pom im using this:

2016-12-06 10:12:32 GMT <fwu> <groupId>net.alchim31.maven</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>1.1</version>

2016-12-06 10:46:28 GMT <yreg> bhagyas, the sdk is actually using Spring 4.1 in a specific profile !

2016-12-06 10:46:53 GMT <yreg> 4.1.6.RELEASE actually

2016-12-06 11:29:26 GMT <fwu> another strange thing:

2016-12-06 11:29:39 GMT <fwu> the minimized js files are not always updated

2016-12-06 11:30:17 GMT <fwu> in the log file the js are being minimized, but it seems eclipse is minimizing n old version of the file

2016-12-06 11:30:25 GMT <fwu> I dont know how this is possible

2016-12-06 11:50:49 GMT <cyberz> I've got a problem with our alfresco: after an out of disk issue, alfresco is malfunctioning. In the specific searches are not working anymore

2016-12-06 11:51:22 GMT <cyberz> solr is showing a lot of errors in the logs, as follows: Caused by: org.alfresco.service.namespace.NamespaceException: URI http://www.alfresco.org/model/site/1.0 cannot be imported as it is not defined (with prefix st

2016-12-06 11:51:35 GMT <cyberz> Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 11060018 d_dictionary.compiled_model.err.compile.failure - [pub:publishingmodel]

2016-12-06 11:51:47 GMT <cyberz> which happens when running some quartz job

2016-12-06 11:52:22 GMT <cyberz> any hint is highly appreciated. Maybe I can rebuild the indices? If yes is there any procedure out there? I'm not that into alfresco

2016-12-06 11:52:59 GMT <Tichodroma> in JS, node.aspects is an array of fully qualified QName strings. Is there any way to get them as prefix strings?

2016-12-06 11:55:00 GMT <Tichodroma> found it: node.aspectsShort

2016-12-06 11:55:04 GMT <Tichodroma> thanks :)

2016-12-06 12:22:28 GMT <AFaust> Before I continue googline without success, does anyone have a quick link to a documentation / blog post page about the ability to include other web scripts resource bundles for I18n?

2016-12-06 12:24:29 GMT <AFaust> Ah - forget it. Looked at the code and found the "surf.include.resources" property

2016-12-06 12:32:13 GMT <yreg> AFaust, exactly !

2016-12-06 12:32:32 GMT <AFaust> Unfortunately that is not supported for I18n bundle customizations

2016-12-06 12:32:48 GMT <yreg> one consideration, imports in the included bundles are not processed

2016-12-06 12:33:05 GMT <AFaust> That too

2016-12-06 12:33:22 GMT <yreg> AFaust, I learnt, the hard way of course, the it may sometimes a matter of classpath

2016-12-06 12:33:36 GMT <yreg> so the paths to the files can be really tricky

2016-12-06 12:33:54 GMT <AFaust> So if I need to apply a customization that adds use of a form control into an existing module (create site) I have to copy&paste the relevant properties from form.get.properties

2016-12-06 12:34:31 GMT <AFaust> And since getResources() of AbstractWebScript is final I cannot extend/override it to eliminate this stupid limitation

2016-12-06 12:51:34 GMT <yreg> I think Loftux overrided that in its fork

2016-12-06 13:52:02 GMT <iwkse> AFaust: I remember once you were talking about how org.json.simple sucks. Did you see that? https://github.com/fabienrenaud/java-json-benchmark

2016-12-06 13:52:03 GMT <alfbot> Title: GitHub - fabienrenaud/java-json-benchmark: Performance testing of serialization and deserialization of Java JSON libraries (at github.com)

2016-12-06 13:53:26 GMT <AFaust> I did not see that (although I was looking for something like that), but saw it when profiling Alfresco search performance

2016-12-06 13:54:39 GMT <AFaust> Since SOLR JSON request/response payloads can grow quite large depending on faceting / search scope

2016-12-06 13:54:54 GMT <iwkse> yes

2016-12-06 13:55:52 GMT <AFaust> But there are newer versions of org.json available - I don't know why they chose the 2009 one

2016-12-06 13:56:41 GMT <AFaust> https://github.com/stleary/JSON-java/releases

2016-12-06 13:56:42 GMT <alfbot> Title: Releases · stleary/JSON-java · GitHub (at github.com)

2016-12-06 13:58:01 GMT <iwkse> wow 2009

2016-12-06 13:58:15 GMT <AFaust> The specific issue I found with performance has been fixed for a while...

2016-12-06 13:58:43 GMT <iwkse> in that page it says jackson is the fastest though

2016-12-06 13:59:25 GMT <iwkse> apparently they tested org.json 20090211

2016-12-06 13:59:41 GMT <iwkse> not sure why

2016-12-06 13:59:48 GMT <iwkse> must be something with 2009

2016-12-06 14:00:30 GMT <AFaust> Well - Alfresco uses a similarily old version

2016-12-06 14:00:47 GMT <AFaust> exactly the same to be precise

2016-12-06 14:30:59 GMT <IanW1> Anybody got AOS working with LDAP auth?

2016-12-06 14:31:07 GMT <Loftux> Whats your experience of changing any of the db settings (besides db.pool.max) for any of these? http://docs.alfresco.com/community/concepts/db-config-properties.html

2016-12-06 14:31:09 GMT <alfbot> Title: Advanced database configuration properties | Alfresco Documentation (at docs.alfresco.com)

2016-12-06 14:32:08 GMT <Loftux> Would it for example make sense to have a large db.pool.min than default 10?

2016-12-06 14:48:27 GMT <AxelFaust> the YUI edit-site.js file from Share is only included via the Aikau SiteService - that feels quite dirty especially since the create-site.js is loaded as usual via the resources.get.html.ftl

2016-12-06 15:00:52 GMT <fwu> ppl any idea of what this can mean:

2016-12-06 15:00:57 GMT <fwu> Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 11060027 Request failed 500 /solr/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=1000&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON

2016-12-06 15:01:03 GMT <fwu> ?

2016-12-06 15:04:10 GMT <AxelFaust> There is an internal error in SOLR

2016-12-06 15:04:32 GMT <AxelFaust> as always - check logs for details

2016-12-06 15:06:34 GMT <fwu> 2016-12-06 14:11:59,600 ERROR [quartz.core.JobRunShell] [DefaultScheduler_Worker-6] Job DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#41cef4dc threw an unhandled Exception: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor] failed; nested except

2016-12-06 15:06:39 GMT <fwu> could be this?

2016-12-06 15:11:01 GMT <AFaust> No - that is not related to SOLR

2016-12-06 15:11:05 GMT <AFaust> Check the solr.log

2016-12-06 15:13:15 GMT <fwu> ERROR [solr.core.SolrCore] [http-bio-8443-exec-15] java.lang.NullPointerException at org.alfresco.solr.query.SolrAuthoritySetScorer.createAuthoritySetScorer(SolrAuthoritySetScorer.java:73) at org.alfresco.solr.query.SolrAuthoritySetQuery$SolrAuthoritySetQueryWeight.scorer(SolrAuthoritySetQuery.java:203)

2016-12-06 15:13:24 GMT <fwu> ok, let me see

2016-12-06 15:14:18 GMT <fwu> what I see there is this error

2016-12-06 15:14:30 GMT <fwu> createauthority

2016-12-06 15:14:46 GMT <fwu> I was making a deploy and deleted the models

2016-12-06 15:14:52 GMT <fwu> they were recreated

2016-12-06 15:22:03 GMT <AFaust> When I encountered this error in the past it usually was fixed by restarting SOLR

2016-12-06 15:22:34 GMT <AFaust> No idea what is causing it - other than bad programming (there should never be any NullPointerException occurrences)

2016-12-06 15:22:37 GMT <fwu> hmmm

2016-12-06 15:22:44 GMT <fwu> AFacut look at this:

2016-12-06 15:22:52 GMT <fwu> AFaust, sorry.

2016-12-06 15:22:54 GMT <fwu> 15:09:22,968 ERROR [org.apache.solr.core.SolrCore] java.lang.OutOfMemoryError: Java heap space at org.alfresco.solr.AlfrescoSolrEventListener.newSearcher(AlfrescoSolrEventListener.java:186) at org.apache.solr.core.SolrCore$4.call(SolrCore.java:1163) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unkno

2016-12-06 15:23:07 GMT <fwu> it seems is started from this

2016-12-06 15:23:27 GMT <fwu> after this I always get java.lang.NullPointerException

2016-12-06 15:23:28 GMT <AFaust> That could explain it.

2016-12-06 15:23:52 GMT <AFaust> Some component might not have been properly initialized due to being interrupted by the OOME

2016-12-06 15:24:19 GMT *** praisethemoon_ is now known as praisethemoon

2016-12-06 15:24:29 GMT <fwu> but this is Production.... I tested with the exact same alfresco folder in quality

2016-12-06 15:24:44 GMT <fwu> may I have less heap size in prod?

2016-12-06 15:25:36 GMT <AFaust> I don't know what you have... I would be surprised if PROD had less memory than any TEST or DEV environment, but I have seen all kinds of crazy setups

2016-12-06 15:25:56 GMT <AFaust> Also - the amount of data may be vastly different and contribute to that issue

2016-12-06 15:26:39 GMT <fwu> I may try a restart, but im not confident about the heap memory

2016-12-06 15:31:07 GMT <fwu> where I can see the allocated heap size in tomcat?

2016-12-06 15:36:49 GMT <AFaust> It should be set in the start scripts and if you are using an operating system other than Windows should also be accessible in the process list.

2016-12-06 15:37:03 GMT <fwu> AFaust, the data is almost the same

2016-12-06 15:37:07 GMT <AFaust> Alternatively you can use a JDK tool like JVisualVM to connect to the instance and check

2016-12-06 15:37:13 GMT <fwu> I made a backup and installed in quality

2016-12-06 15:39:11 GMT <fwu> so the data is almost the same

2016-12-06 15:40:48 GMT <fwu> arghhh

2016-12-06 15:40:51 GMT <fwu> Alfresco JVM - v1.7.0_51-b13; maximum heap size 683,000MB

2016-12-06 15:40:57 GMT <fwu> this seems to low to me

2016-12-06 15:42:05 GMT <fwu> but it is the same in both environments

2016-12-06 15:43:37 GMT <fwu> well

2016-12-06 15:43:42 GMT <fwu> but it is working now

2016-12-06 15:43:51 GMT <fwu> a restart solved as you said Afaust

2016-12-06 15:43:56 GMT <fwu> thank you!

2016-12-06 15:44:47 GMT <AFaust> After an OutOfMemoryException there may be any kind of issues since this can be a very hard error no component ever handles (nor should they) - so a restart is the only way to ensure a clean state

2016-12-06 15:45:19 GMT <AFaust> Some applications / components may be better at handling that kind of error. Typically the less state a system has the more resilient it is against this type of issue.

2016-12-06 15:45:31 GMT <AFaust> Unfortunately all components of Alfresco have quite extensive state

2016-12-06 15:47:47 GMT <fwu> AFaust what is hte allocated memory to the heap you usual give?

2016-12-06 15:48:34 GMT <AFaust> Which instance? I always have separate Repository, Share and SOLR instances which will get different heap sizes

2016-12-06 15:49:11 GMT <AFaust> Repository-tier e.g. gets 4 GiB on my local dev laptop, Share 512 MiB and SOLR 2 GiB

2016-12-06 15:49:40 GMT <AFaust> Production systems always depend on the sizing necessary to handle the customer use case

2016-12-06 15:50:47 GMT <fwu> Alfresco JVM - v1.7.0_51-b13; maximum heap size 683,000MB -> this apply to what? Im using the 3 subsystems in the same machine/install

2016-12-06 15:50:54 GMT <fwu> 683 for all?

2016-12-06 15:51:08 GMT <AFaust> But typically Repository-tier will at least around 8 GiB and SOLR 4 GiB. Share may depend on the version being used and how extensively Aikau is being used. In earlier Alfresco releases there were some memory hogs...

2016-12-06 15:51:21 GMT <douglascrp> I'm facing a weird problem with the advanced search form

2016-12-06 15:51:31 GMT <AFaust> If you have all components in one Tomcat instance (bad practice) then the 683 MiB are for all...

2016-12-06 15:51:32 GMT <douglascrp> I have a custom type, with a custom property, that is a simple text

2016-12-06 15:51:45 GMT <douglascrp> if I search by this field, I get not result

2016-12-06 15:52:08 GMT <douglascrp> debugging it, I get the query: TYPE:"rh:documentoEmpregado" AND (rh:tipoDocumentoEmpregado:(01 - Processo Seletivo)) limit=25

2016-12-06 15:52:13 GMT <fwu> douglascrpI suffer with that kind of stuff also arghh

2016-12-06 15:52:25 GMT <douglascrp> if I get this same query and execute it using the node browser, it works

2016-12-06 15:52:58 GMT <douglascrp> exactly the same query.. copied and pasted works

2016-12-06 15:53:02 GMT <fwu> are you search suing list items/combo?

2016-12-06 15:53:40 GMT <douglascrp> yes

2016-12-06 15:53:44 GMT <douglascrp> a combo

2016-12-06 15:53:48 GMT <fwu> AFaust, I will chnage the 683 in quality ...this doesnt seem enought

2016-12-06 15:53:57 GMT <fwu> douglascrp in what version?

2016-12-06 15:54:03 GMT <douglascrp> 5.1.g

2016-12-06 15:54:15 GMT <fwu> hmmm in 4.2.f it seems there was a bug

2016-12-06 15:54:21 GMT <douglascrp> yes

2016-12-06 15:54:24 GMT <fwu> I need to do this:

2016-12-06 15:54:30 GMT <douglascrp> I think we talked about that one

2016-12-06 15:54:31 GMT <douglascrp> once

2016-12-06 15:55:03 GMT <AFaust> douglascrp: That query looks like it is missing some quotation marks

2016-12-06 15:55:21 GMT <douglascrp> but it works just like it is when I use the node browser with fts

2016-12-06 15:55:46 GMT <AFaust> Only because you have matching ( and )

2016-12-06 15:56:25 GMT <douglascrp> that's the query share is creating

2016-12-06 15:56:29 GMT <douglascrp> I'm not manipulating it

2016-12-06 15:56:38 GMT <douglascrp> that's with a multi-select field

2016-12-06 15:56:40 GMT <AFaust> Basically it is a lucky coincidence. And the search.lib.js for executing the search does a bit more processing that might cause it to break

2016-12-06 15:56:57 GMT <douglascrp> that's the exact file I'm debugging

2016-12-06 15:57:25 GMT <AFaust> I know I once had to patch that file because it wasn't handling multi-select fields properly

2016-12-06 15:57:35 GMT <douglascrp> yes, that's right

2016-12-06 15:57:56 GMT <fwu> i needed to change the way the field was indexing

2016-12-06 15:58:01 GMT <fwu> but this was in 4.2.f

2016-12-06 15:58:13 GMT <fwu> just one option worked for me

2016-12-06 15:58:15 GMT <douglascrp> AFaust, fwu in a 4.2 project, I have these two lines in that file

2016-12-06 15:58:17 GMT <douglascrp> /formQuery += (first ? '' : ' AND ') + escapeQName(propName) + ':\\"' + propValue + '\\"';

2016-12-06 15:58:17 GMT <douglascrp> formQuery += (first ? '' : ' AND ') + escapeQName(propName) + ':"' + propValue + '"';

2016-12-06 15:58:28 GMT <douglascrp> sorry...

2016-12-06 15:58:35 GMT <fwu> douglascrp, I didnt solve my issue chnaging that file

2016-12-06 15:58:42 GMT <douglascrp> I commented this one formQuery += (first ? '' : ' AND ') + escapeQName(propName) + ':\\"' + propValue + '\\"';

2016-12-06 15:58:51 GMT <douglascrp> and replaced it with this

2016-12-06 15:58:52 GMT <douglascrp> formQuery += (first ? '' : ' AND ') + escapeQName(propName) + ':"' + propValue + '"';

2016-12-06 15:58:54 GMT <fwu> I beleive that ddidnt work for me

2016-12-06 15:59:14 GMT <douglascrp> let me try the same "fix" on this 5.1

2016-12-06 15:59:15 GMT <fwu> the key was the indexing configuration of the field

2016-12-06 15:59:25 GMT <douglascrp> fwu, mine is already not-tokenized

2016-12-06 15:59:38 GMT <douglascrp> but please, let me know how your configuration is

2016-12-06 16:10:02 GMT <fwu> yes, just a moment, im in a live deploy

2016-12-06 16:31:10 GMT <fwu> douglascrp, this is my use case:

2016-12-06 16:31:27 GMT <fwu> I want to search based on a list of itens in a combo

2016-12-06 16:31:35 GMT <fwu> I want to get exact matches

2016-12-06 16:31:54 GMT <fwu> in 4.2.f it only works like this:

2016-12-06 16:32:08 GMT <douglascrp> fwu, the requirements are the same

2016-12-06 16:32:33 GMT <douglascrp> fwu, I'm going to have lunch now... I will be back in few

2016-12-06 16:32:45 GMT <douglascrp> please, post here and I'll read when I'm back

2016-12-06 16:33:13 GMT <fwu> <property name="my:docType"> <title>Tipo de Documento</title> <type>d:text</type> <index enabled="true"> <atomic>true</atomic> <stored>false</stored> <tokenised>both</tokenised> </index> <constraints> <constraint ref="my_cons:docType_constraint" /> </constraints> </property>

2016-12-06 16:33:42 GMT <fwu> I tried all the combinations until I foiund somewhere someone saying that in 4.2.f it only works like this

2016-12-06 16:33:49 GMT <fwu> and it really works for me

2016-12-06 16:36:28 GMT <douglascrp> fwu, nice

2016-12-06 16:36:30 GMT <douglascrp> tks for sharing ig

2016-12-06 16:36:31 GMT <douglascrp> it

2016-12-06 16:37:01 GMT <douglascrp> the only difference for my config is the tokenised option, as I use false

2016-12-06 16:40:19 GMT <fwu> ok. then you should get more results

2016-12-06 16:40:41 GMT <fwu> no

2016-12-06 16:40:42 GMT <fwu> wait

2016-12-06 16:41:08 GMT <fwu> if you select "my first document"

2016-12-06 16:41:28 GMT <fwu> you want to get all the documents that have "my" or "first" or "document" or all

2016-12-06 16:41:30 GMT <fwu> is that right?

2016-12-06 16:42:13 GMT <fwu> because if that is Not what you want, try "both"

2016-12-06 16:43:02 GMT <douglascrp> I want to get the exact value

2016-12-06 16:43:08 GMT <fwu> yes, like me

2016-12-06 16:43:12 GMT <fwu> so, try using "both"

2016-12-06 16:43:18 GMT <douglascrp> in that case, "01 - Processo Seletivo"

2016-12-06 16:43:20 GMT <fwu> dont ask me why, but it works

2016-12-06 16:43:23 GMT <douglascrp> ignoring the - and the spaces

2016-12-06 16:43:29 GMT <douglascrp> ok, I can give it a try

2016-12-06 16:43:46 GMT <fwu> well, that is your label

2016-12-06 16:44:04 GMT <fwu> you will actually search by code

2016-12-06 16:44:54 GMT <fwu> i dont have sure if you dont need to selete the model from solr after changing that

2016-12-06 16:45:02 GMT <fwu> delete

2016-12-06 16:45:13 GMT <fwu> it ios better to delete tit

2016-12-06 16:48:16 GMT <douglascrp> yes, it's required when such options are change

2016-12-06 16:48:17 GMT <douglascrp> changed

End of Daily Log

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