kitodo-production icon indicating copy to clipboard operation
kitodo-production copied to clipboard

File names with dots are not working

Open BartChris opened this issue 3 years ago • 2 comments

Describe the bug If a file name contains a dot Kitodo cannot differentiate the names, does not display all the images in the metadata editor and throws an error on saving.

"Ambiguous canonical file name part in the same physical division"

To Reproduce Steps to reproduce the behavior:

  1. Name your files test.a-1.tif and test.a-2.tif
  2. Try to open a process with the images in the medatada editor.

Expected behavior Kitodo should support dots in a file name or unallowed charcters should be documented as other characters have problems as well: https://github.com/kitodo/kitodo-production/issues/5044

Release 3.4.4 SNAPSHOT

BartChris avatar Aug 04 '22 12:08 BartChris

This is only the case if you have more then one dot in the file name as your examples has two dots in the file name as the file extension is a part of the file name ;) But you are right that the application should handle this or it should be documented that certain characters are not allowed or should not used many times like the dot character.

henning-gerhardt avatar Aug 04 '22 12:08 henning-gerhardt

Can you try to change you folder setting to add the extension, like this:

images/(processtitle)_mediaimages/(processtitle)_media/*.tif

Just guessing, but it might work

matthias-ronge avatar Aug 05 '22 09:08 matthias-ronge

Can you try to change you folder setting to add the extension, like this:

images/(processtitle)_mediaimages/(processtitle)_media/*.tif

Just guessing, but it might work

This suggestion doesn't work for me.

IkramMaalej avatar Apr 12 '23 07:04 IkramMaalej