When one enters a number in the label field, when adding a new exportd job or DocAPI template, the function breaks.
How to reproduce:
Navigate to Exportd job settings and add a new Exportd job
Enter a number, without any alphabetical characters, in the label field
After some testing it appears when checking the name and it only contains numbers the backend tries to get an exportd job/docAPI object template by ID instead of by name. This might be because they share the same route.
The fix works.
Can you verify the code ?