lnNgyn1 / PeriodInsertBundle

A Kimai plugin which generates entries for a given time-period.
MIT License
5 stars 0 forks source link

Add-on corrupts Kimai projects and activity #7

Open kbkozlev opened 1 month ago

kbkozlev commented 1 month ago

As soon as the add-on was installed, and I tried to use it, the moment I reach the “Activity” tab the following message is shown. The problem is that from there on, even trying to create a new time entry results in the same error message. Removing the add-on does not fix the issue, I had to restore from backup.

Screenshot_1

lnNgyn1 commented 1 month ago

Hi, thanks for opening this issue! I am having trouble reproducing this error. I suspect it has something to do with either the period insert entity or the period insert form though most of the code for the latter part is copied straight from the Kimai source code. Can you please share with me details about your Kimai setup e.g. version, Docker, project/activities, and time zone? I notice that your dates for the time range have the day followed by the month though I don't think that's the cause. Although you're not able to see the activities, do the projects show up fine? When you get that error, are you still able to create a new timesheet entry with the default Kimai form? Also, can you test if a previous version of the PeriodInsertBundle works for you?

kbkozlev commented 1 month ago

Hi, I'm running version 2.24.0 through docker compose. Timezone Europe/Sofia and time formatting English (United Kingdom), I'm running the latest version of the add-on. I'll test tomorrow with the previous version. Otherwise, once the corruption occurs, even creating a new time entry the standard way does not work. I also have the "EasyBackup" Plugin if this might be of help.

lnNgyn1 commented 1 month ago

Thank you, I am still unable to reproduce the error. Can I see your docker compose file? To get a more specific error message, try running the kimai/kimai2 image with the dev tag in your docker compose file and screenshot the error page. Make sure you backup your data.