yossiedri / Redmine-Admin-Monitor-Plugin

Redmine Admine Errors and Exceptions Monitor plugin
7 stars 9 forks source link

malfunctioning, while using sqlite db #6

Open vavanych opened 10 years ago

vavanych commented 10 years ago

"alerts monitor" page can't be opened at all

yossiedri commented 10 years ago

Sorry i did not test it on sqlite. can you send the error you get?

vavanych commented 10 years ago

I can't. At least today. I've deinstalled this plugin at home But I can provide information. Error occurs in method def index

The value of #{AdminMonitorAlert.table_name}.handle_flag is false, but sqlite doesn't have boolean type, so the sql-script formd in this method is incorrect for sqlite db. By the way, db-initializing script is also incorrect for sqlite. All "boolean" columns become 1byte char with 'f', as a default value.