CrawlerCode / redmine-time-tracking

Start-stop timer for Redmine
https://chrome.google.com/webstore/detail/redmine-time-tracking/ldcanhhkffokndenejhafhlkapflgcjg
MIT License
17 stars 2 forks source link

Extension don't loads the available "Activities" #2

Closed akirz closed 11 months ago

akirz commented 11 months ago

Just wanted to extend my appreciation for your awesome Chrome Extension - it's been incredibly helpful to me. However, after the latest release (v1.10.2), I've run into a snag. The "Time Entries" to Redmine aren't working as before, as the extension no longer loads the available "Activities." I've attached a screenshot for reference.

image

Additional information:

Environment: Redmine version: 4.0.6.stable Ruby version: 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu] Rails version: 5.2.3 Environment: production Database adapter: Mysql2 Mailer queue: ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery: smtp

CrawlerCode commented 11 months ago

Thank you for reporting this issue.

The problem is your old Redmine version (4.0.6). Because the Enumerations-API does not provide the active state for activties. This is only supported from version 4.1.0 onwards. (see changelog).

However, I have added support for older Redmine versions. So you can select all activities, but also the inactive ones.

I would recommend you to upgrade your Redmine instance to a new version (4.1.0 or higher). Some other functions do not work properly either, because the My Account API is only available since 4.1.0.

CrawlerCode commented 11 months ago

I have uploaded the new version (v1.10.3) to the Chrome Web Store. It should be available tomorrow. If you still have problem please contact me or open a new issue.

akirz commented 11 months ago

Thank you very much for the fix. The extension works for me again :) I will follow your recommendation and update my Redmine as soon as possible.