timetracker icon indicating copy to clipboard operation
timetracker copied to clipboard

Export timelines to CSV does not work

Open shaked8634 opened this issue 11 months ago • 1 comments

I tried to export few timelines to check the plugin. It fails and instantly errors on the client:

timelines:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.
Element with focus: select
Ancestor with aria-hidden:  <select id=​"filter-project" style=​"width:​ 200px;​" data-select2-id=​"filter-project" tabindex=​"-1" class=​"select2-hidden-accessible" aria-hidden=​"true">​</select>​

And on nextcloud:

{"reqId":"1AM9EToT95F6MkdnyYcG","level":3,"time":"2025-02-23T10:21:39+00:00","remoteAddr":"172.25.0.9","user":"<USERNAME>","app":"index","method":"POST","url":"/apps/timetracker/ajax/timeline","message":"cost is not a valid attribute","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36","version":"30.0.6.2","exception":{"Exception":"BadFunctionCallException","Message":"cost is not a valid attribute","Code":0,"Trace":[{"file":"/var/www/html/lib/public/AppFramework/Db/Entity.php","line":148,"function":"setter","class":"OCP\\AppFramework\\Db\\Entity","type":"->","args":["cost",[700]]},{"file":"/var/www/html/custom_apps/timetracker/lib/Controller/AjaxController.php","line":1019,"function":"__call","class":"OCP\\AppFramework\\Db\\Entity","type":"->","args":["setCost",[700]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"postTimeline","class":"OCA\\TimeTracker\\Controller\\AjaxController","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\TimeTracker\\Controller\\AjaxController"},"postTimeline"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\TimeTracker\\Controller\\AjaxController"},"postTimeline"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\TimeTracker\\Controller\\AjaxController","postTimeline",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"timetracker.ajax.post_timeline"}]},{"file":"/var/www/html/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/timetracker/ajax/timeline"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/public/AppFramework/Db/Entity.php","Line":119,"message":"cost is not a valid attribute","exception":[],"CustomMessage":"cost is not a valid attribute"},"id":"67baf9a6edf73"}

Version NC version: 30.0.6 Time Tracker version: 0.0.84 Chromium: 133.0.6943.126

Attaching full browser side log. nextcloud.o-st.dev-1740306421240.log

Let me know if you need anything else 🙏🏼

shaked8634 avatar Feb 23 '25 10:02 shaked8634

Even when removing the erroneous line (.../apps/timetracker/lib/Controller/AjaxController.php:1019), the export still doesn't work, without any further error message.

sebix avatar Jun 26 '25 09:06 sebix

I see that CSV is in the works, so my question, without opening a new issue, is: what about a DATEV interface? Or to put it another way, how much would it cost to install this interface?

Jensebluemchen avatar Jan 12 '26 19:01 Jensebluemchen

Or to put it another way, how much would it cost to install this interface?

Best ask someone who you can task with this and has experience with "datev".

sebix avatar Jan 13 '26 11:01 sebix