Hi guys. I don't know if it's the correct mailing list to ask this but it's code related.
I've got several issues in "Notice List" in webapp: the notifications are displayed incorrectly (my notifications are HTML-based). After seeing the database and logs from "notifd.log", I saw quote a difference: in DB, the text was truncated at 4000 chars but in the log, the text wasn't truncated. The DB, in table "notifications", column "textmsg" is "text", with size 2147483647. So, I thought the problem was when writing the notification to the DB. After inspecting class "OnmsNotification", the "getTextMsg()" method is annotated with "@Column(length=4000)". I'm using ONMS 1.8.17 in production, 1.12.5 in development. In both versions, the annotation exists. Finally, the question: is there a reason to add this constraint "@Column(length=4000)" to the method? Sorry about my english... :-) T.I.A., Vítor Rui Moreira -------------------------------------------------------------------------------- Declaração: A informação contida nesta mensagem, e os ficheiros anexos, é privilegiada e confidencial, destinando-se exclusivamente ao(s) destinatário(s).Se não é o destinatário (ou o responsável pela sua entrega ao destinatário) e recebeu a mesma por engano, fica notificado que é estritamente proibido reproduzir, guardar ou distribuir toda ou qualquer parte desta mensagem e ficheiros anexos. Por favor reencaminhe a mensagem para o responsável pelo seu envio ou contacte-nos por telefone e elimine a mensagem e ficheiros anexos do seu computador, sem os reproduzir. Disclaimer: The information contained in this message, and any files attached, is privileged and confidential, and intended exclusively for the included addresses. If you are not the intended recipient (or the person responsible for delivering to the intended recipient) and received this message by mistake, be aware that copy, storage, distribution or any other use of all or part of this message and the files attached is strictly prohibited. Please notify the sender by reply e-mail or contact us by telephone and delete this message and the files attached, without retaining a copy. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel