adfinis / timed

Monorepo for the Timed time-tracking application
GNU Affero General Public License v3.0
4 stars 5 forks source link

[BUG]: Magic Link is not working correctly #343

Closed MitanOmar closed 1 week ago

MitanOmar commented 1 month ago

Description

The magic link only include the task id in the URL, it's not including the customer id and the project id Screenshot from 2024-07-15 11-33-29

Steps to Reproduce

Expected Behavior

The Link should include the customer id and the project id in the link

Attachments

No response

Additional Context

No response

Version

4.1.10

Required

c0rydoras commented 1 month ago

I don't see the issue here, task has a foreign key to project and that project has a foreign key to customer, this would be redundant information afaict

MitanOmar commented 1 month ago

but after copying the link that only have a task id, it's not showing the information correctly.

The customer and the project are not selected

c0rydoras commented 1 month ago

those can be inferred from the task?

MitanOmar commented 1 month ago

Check this image

c0rydoras commented 1 month ago

That is in fact a bug

c0rydoras commented 1 month ago

But shouldn't be caused by customer and project not being inlcuded in the URL

MitanOmar commented 1 month ago

anyway i will take care of fixing it, whatever is the solution of it

c0rydoras commented 1 month ago

Nice :)