• Problema Notificaciones openkm 5.1.7

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #12837  by amwilliam
 
Buenas tardes,

Estoy teniendo problemas con las notificaciones al crear o eliminar documentos en openkm 5.1.7. En la configuración de openkm están las propiedades de las notificaciones ya definidas, igualmente las copie en el archivo de configuración (OpenKM.cfg). Mi configuración de openkm 5.1.7:
Code: Select all
#system.ocr=/usr/bin/cuneiform
#system.openoffice.path=/usr/lib/openoffice
#system.imagemagick.convert=/usr/bin/convert
#system.swftools.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
notification.message.subject	 OpenKM - NOTIFICATION - ${documentName}
notification.message.body	 <b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Message: </b>${notificationMessage}<br/>
subscription.message.subject	 OpenKM - ${eventType} - ${documentPath}
subscription.message.body	 <b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Event: </b>${eventType}<br/><b>Comment: </b>${subscriptionComment}<br/>
subscription.twitter.status	 OpenKM - ${documentUrl} - ${documentPath} - ${userId} - ${eventType}
Lo extraño es que en openkm 5.0 las notificaciones me funcionan sin problema, por esto estoy usando la misma configuración de correo, es decir estoy usando el mismo archivo mail-service.xml para 5.1.7 y para 5.0. Según la documentación la única diferencia entre las configuraciones que encuentro es el uso de corchetes ("{ }") para las variables de las propiedades. Por ejemplo:

Openkm 5.1.7:
Code: Select all
notification.message.body	 <b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Message: </b>${notificationMessage}<br/>
Openkm 5.0:
Code: Select all
notification.message.body	 <b>Document: </b><a href="$documentUrl">$documentPath</a><br/><b>User: </b>$userId<br/><b>Message: </b>$notificationMessage<br/>
Como mencioné en openkm 5.0 me funcionan bien pero en openkm 5.1.7 no funcionan y uso el mismo archivo mail-service.xml.

Gracias.
 #12842  by jllort
 
Las propiedades a partir de la version 5.1.X van en base de datos ( administración - segundo icono por la izquierda ).
Te sugieron que subas a la version 5.1.8 integration.openkm.com por que en la 5.1.7 había algún bug en esta parte que esta solucionado en la 5.1.8

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.