CVS bugs

bradymiller wrote on Saturday, April 19, 2008:

hey,
Figured I’d do some quick testing with the current CVS version; sorry don’t have time to debug. I’m using traditional mode with default calendar.

1.
Unable to ‘edit’ a user from the admin->user&groups form, instead I get:
ERROR: query failed: SELECT * FROM cl_user_beroep WHERE cl_beroep_userid=1
Error: Table ‘openemr.cl_user_beroep’ doesn’t exist

I am able to add users though, but again unable to edit them.

2.
No calendar shows up in the calendar screen(not even the 8:00 AM red box usually seen on default). If I try to add a new event via ‘save’, nothing happens(except the add event box turns white) and get following error in log:
PHP Fatal error:  Call to undefined function selected_ac() in /var/www/html/openemr/interface/main/calendar/add_edit_event.php on line 169, referer: http://192.168.1.155/openemr/interface/main/calendar/add_edit_event.php?startampm=1&starttimeh=9&starttimem=0&date=20080419&userid=0&catid=0

thats all for now,
Brady

sunsetsystems wrote on Saturday, April 19, 2008:

I applied a fix to interface/usergroup/user_admin.php.

Also interface/main/calendar/add_edit_event.php was badly broken.  It appears the Dutch update was applied to version 1.30 instead of the then-current version 1.33, causing the changes that went into versions 1.31, 1.32 and 1.33 to be discarded.  In addition the resulting version 1.34 simply didn’t work.

Therefore I reverted this file to the 1.33 version (now 1.35).

Dr. Bosman: Someone in your group should re-apply your changes to this file, correctly!  Also please have your developers allocate some time to reading the CVS manual.  When used properly, CVS provides safeguards against overwriting changes by other developers.  The general idea is that you work from a "checked out" copy of the project, make changes, then update and commit.  If there are conflicts then the update will either resolve them automatically, or give an error message indicating that it could not do so.

If there is any confusion about this, please ask!

Rod
www.sunsetsystems.com