Hi there,
We find there is something wrong with the register_publish function. If there are two Local File Storages with the same configurations which defined on the Preferences page, the register_publish function will not register the right local file storage to the path field of published file. For example, there are two local storages(Storage01, Storage02) defined like below:
Storage01:
Windows Path: I:\projectFiles
Storage02:
Windows Path: I:\projectFiles
The Storage02 will be used as a root of the project , i publish a file by the register_publish function: 'I:\projectFiles\proj001\file.v003.mb'.
When you view the result of the path field of the published file, you will find that local_storage in the field is Storage01, but not Storage02 which used as a root of the project. And this also effort the result of util.find_publish function.
Thanks,
Zhy