Re: [xwiki-users] searching for public user profile data in a XWiki Enterprise 2.4.30451 installation

2015-04-19 Thread Ricardo.Julio.Rodriguez.Fernandez
Please, allow me to document this issue: the answer is in xwikivars.vm where 
$blacklistedSpaces is set.

Once again, sorry for the noise. Thanks!

Ricardo

--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo 
Julio
Enviado: sábado, 18 de abril de 2015 11:32
Para: users@xwiki.org
Asunto: Re: [xwiki-users] searching for public user profile data in a XWiki 
Enterprise 2.4.30451 installation

Sorry for the noise! I found this rigth now...

[xwiki-users] search when not logged in
http://markmail.org/thread/zcynk6cswjpoefgz

I'll check it and report back.

Thanks!

Ricardo

--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


De: users [users-boun...@xwiki.org] en nombre de Rodriguez Fernandez, Ricardo 
Julio
Enviado: sábado, 18 de abril de 2015 11:22
Para: users@xwiki.org
Asunto: [xwiki-users] searching for public user profile data in a XWiki 
Enterprise 2.4.30451 installation

Hi,

Searching for first names, last names or any other public user profile data 
gives for guest user no hits in this old installation. I'm using database index.

I'm not able to remember, and has not documented, any change affecting how 
search works on this information.

Guest users can see that information, for instance...

http://atriumkm.idisantiago.es/bin/XWiki/AteneaSotoSimon

... but search gives no hit looking for any string included in these fields.

I see that XWiki 7.0 index that fields out of the box, thus I guess XWiki 
follows the same policy in previous releases. But I'm not able to find how/why 
I broke this feature.

This old XWiki installation keeps been really useful for us and I would like 
keep it running. But we do need this search running.

Please, could you please point me in the right direction? Where must I change 
to allow guests to get users' profiles in their searches?

Thanks for your help!

Ricardo

--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es



Nota: A información contida nesta mensaxe e os seus posibles documentos 
adxuntos é privada e confidencial e está dirixida únicamente ó seu 
destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por 
favor elimínea. A distribución ou copia desta mensaxe non está autorizada.

Nota: La información contenida en este mensaje y sus posibles documentos 
adjuntos es privada y confidencial y está dirigida únicamente a su 
destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
por favor elimínelo. La distribución o copia de este mensaje no está autorizada.

See more languages: http://www.sergas.es/aviso_confidencialidad.htm
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



Nota: A información contida nesta mensaxe e os seus posibles documentos 
adxuntos é privada e confidencial e está dirixida únicamente ó seu 
destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por 
favor elimínea. A distribución ou copia desta mensaxe non está autorizada.

Nota: La información contenida en este mensaje y sus posibles documentos 
adjuntos es privada y confidencial y está dirigida únicamente a su 
destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
por favor elimínelo. La distribución o copia de este mensaje no está autorizada.

See more languages: http://www.sergas.es/aviso_confidencialidad.htm
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



Nota: A información contida nesta mensaxe e os seus posibles documentos 
adxuntos é privada e confidencial e está dirixida únicamente ó seu 
destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por 
favor elimínea. A distribución ou copia desta mensaxe non está autorizada.

Nota: La información contenida en este mensaje y sus posibles documentos 
adjuntos es privada y confidencial y está dirigida únicamente a su 
destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
por favor elimínelo. La distribución o copia de este mensaje no está autorizada.

See more languages: http://www.sergas.es/aviso_confidencialidad.htm
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Fwd: Can'tbuild project xwiki-platform-wiki-default

2015-04-19 Thread vinc...@massol.net
Hi,

No, unless you prefer IDEA over Eclipse ;)  

A lot of XWiki devs use Eclipse without problem.  

This is not your problem here unless you’re building inside your IDE. Just run 
from the command line if that’s not already the case.

The issue could simply be that you’re on Windows and these custom sourcepaths 
may not work on Windows for some reason:


            !-- We need custom sourcepaths for our Component Annotation 
Process work
                (See ComponentCheckerAnnotationProcessor.java). This is 
required because of
                http://jira.codehaus.org/browse/MCOMPILER-122.

                However note that IntelliJ IDEA doesn't honor custom 
sourcepaths, see
                https://youtrack.jetbrains.com/issue/IDEA-133120, which means 
that you need to turn off
                Annotation Processing in IDEA or IDEA will generate errors 
while building modules --
            execution
              iddefault-compile/id
              configuration
                compilerArguments
                  
sourcepath${project.basedir}/src/main/java:${project.basedir}/src/main/resources/sourcepath
                /compilerArguments
              /configuration
            /execution
            execution
              iddefault-testCompile/id
              configuration
                compilerArguments
                  
sourcepath${project.basedir}/src/test/java:${project.basedir}/src/test/resources/sourcepath
                /compilerArguments
              /configuration
            /execution

For the moment try to turn off annotation processors and tell us if it builds 
fine:

mvn install -Dproc=none

Thanks  
-Vincent

PS: Please always reply to the list!


On 18 Apr 2015 at 22:10:18, Khjintcorp 
(khjintc...@gmail.com(mailto:khjintc...@gmail.com)) wrote:

 Vincent,
  
 I use eclipse, do I need change to idea?  
  
 Thanks  
  
 Ken
  
 Sent from my iPhone  
  
 On Apr 18, 2015, at 2:00 PM, vinc...@massol.net(mailto:vinc...@massol.net) 
 wrote:
  
   
   
   
   
  On 17 Apr 2015 at 22:47:00, Khjintcorp 
  (khjintc...@gmail.com(mailto:khjintc...@gmail.com)) wrote:
   


   Sent from my iPhone

   Begin forwarded message
 
Hi Marius.
 
I think this is related to MCOMPILER-122.
 
(See ComponentCheckerAnnotationProcessor.java). This is required 
because of
http://jira.codehaus.org/browse/MCOMPILER-122.
 
However note that IntelliJ IDEA doesn't honor custom sourcepaths, see
https://youtrack.jetbrains.com/issue/IDEA-133120, which means that you 
need to turn off
Annotation Processing in IDEA or IDEA will generate errors while 
building modules --  
   
   
   
   
   
  FTR I’ve fixed this on master (i.e.7.1-SNAPSHOT) and you don’t need to do 
  anything in IDEA now, it’s turned off automatically if you’re doing a make 
  inside IDEA.
   
   
   
   
   
   
  Thanks
   
   
  -Vincent
   
   
   
   
   


Vincent Massol’ note
 
I've hit this problem too.
 
I've had to do the following 
(https://github.com/xwiki/xwiki-commons/blob/master/pom.xml#L762):
 
 
org.apache.maven.plugins
maven-compiler-plugin
 
3.2
 
1.7
1.7
 
 
 
 
default-compile
 
 
${project.basedir}/src/main/java:${project.basedir}/src/main/resources
 
 
 
 
default-testCompile
 
 
${project.basedir}/src/test/java:${project.basedir}/src/test/resources
 
 
 
 
 
However this isn't perfect. It works in Maven but fails in IDEA (see 
https://youtrack.jetbrains.com/issue/IDEA-133120). I'm also not sure it 
works on Windows machines (but that could be fixed with profiles).
 
In addition I've noticed that it runs javac with 2 -sourcepath 
parameters! For example:
 
[DEBUG] -d 
/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/classes
 -classpath 
/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/classes:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-component-generation/6.4-SNAPSHOT/xwiki-commons-tool-component-generation-6.4-SNAPSHOT.jar:
  
-sourcepath 
/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/java:/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/generated-sources/annotations:
  
-s 
/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/generated-sources/annotations
  
-g -deprecation -target 1.7 -source 1.7 -encoding UTF-8  
-sourcepath