Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

BugLogHQ
Project Home Blog Wiki Known Issues Screenshots External Project Link Contact Project

BugLogHQ Issue: Method not found when upgrading from 1.7 to 1.8

Name: Method not found when upgrading from 1.7 to 1.8
ID: 20
Project: BugLogHQ
Type: Bug
Area: Code
Severity: Normal
Status: Open
Related URL:
Creator: Joost van der Drift
Created: 09/03/13 8:19 AM
Updated: 09/03/13 9:40 AM
Description: After upgrading we got the following error:

[coldfusion.runtime.TemplateProxy$InvalidMethodNameException : The method validate was not found in component /var/www/html/netbasics/buglog/components/bugLogListenerAsync.cfc.Ensure that the method is defined, and that it is spelled correctly.]

We found out it is caused by a listener which is not updated after upgrading.

We found three possible solutions:
* Manually stop/start the listener after upgrading
* Stop/start the listener on App reset
* Add the listener to the Application scope in stead of the session scope

We chose the last one.

Regards
Joost van der Drift

History: Created by djiest (Joost van der Drift) : 09/03/13 8:19 AM

Comment by oarevalo (Oscar Arevalo) : 09/03/13 9:40 AM
I think you mean "server" scope on your last bullet.

I'd be careful on changing the scope of the listener since there are multiple places throughout the app that requires to get hold of the listener instance, and those would need to be properly tested.

But you are right, since bugloghq uses persistent memory scopes to store instances of many things, sometimes upgrades could be problematic.

I'm usually more inclined to the 1st option (stop/start listener service during upgrades). Maybe at some point we could have an integrated upgrade mechanism that could take care of this...

To add a comment to this bug, please login using the link above.