Skip to content

kimai start error 400 when activity got slash char #9

@sotornien

Description

@sotornien

Hi,

my commands look like these:

kimai start --customer 'Customer-X' --project 'Project X' --activity 'Training/Study' --description 'Any description' --tags ''

Please note the different String Parameter:

  • customer uses a dash, which is working
  • project uses a space, which is also working
  • activity uses a slash which results in a error 400 - Bad request
    kimai2

However this is working:

kimai start --customer 'Customer-X' --project 'Project X' --activity '10' --description 'Any description' --tags ''

I switched from activity 'Training/Study' to '10', the ID of this activity -> This is working. Other activity string-parameter like 'Meeting' or 'Docs' is also working

Kimai Version:
Kimai 2 - 1.7 stable (Ayumi) by Kevin Papst and contributors.
Kimai 2 - Remote Console version 0.3.3 2020-01-27 17:22:30 UTC (#5546282)

OS:
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.0.3
DISTRIB_CODENAME=Lysia
DISTRIB_DESCRIPTION="Manjaro Linux"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions