Skip to content

Export timelines to CSV does not work #233

@shaked8634

Description

@shaked8634

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 🙏🏼

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions