- ๐ฎ๐ณIndia mrinalini9 New Delhi
Hi,
I have rerolled patch #3 for version 3.x-dev branch, please review it.
Thanks & Regards,
Mrinalini - ๐ฉ๐ชGermany jan kellermann
Thank you very much! I will generate a MR from this code.
Suggestions:
- In #2735259 โจ Saving to Server in alternate location Closed: duplicate the schema could be choosen - I like this idea. Will we adapt this?
- In 3.x branch we create the dir on the fly - I think we can drop the creating while installing.
- Merge request !13#3151625: Specify PDF save directory name and schema โ (Merged) created by jan kellermann
- ๐ฉ๐ชGermany jan kellermann
We implemented your patch and added some tests.
Please review and feedback.
- ๐ฌ๐งUnited Kingdom eyedrops
looks good!
Please make sure that theโpdf_save_pathโ
configuration value is validated. For example'../documents'
causes aDirectoryNotReadyException
in$this->fileRepository->writeData
This can be avoided by validating the access/existance and making sure that if$this->fileSystem->prepareDirectory
returnsfalse
, all subsequent operations are canceled. - ๐ฌ๐งUnited Kingdom eyedrops
looks all right.
I would prefer if it wasn't stored unvalidated, but I understand that the current architecture doesn't support that. Maybe in the future we can generate/validate this directory when submitting the configuration form. Then it will be similar to how file paths are handled. - ๐ฉ๐ชGermany jan kellermann
Thank you all for 5 years from idea to merge!
I merged this issue to 3.x.
-
jan kellermann โ
committed b6e11ca6 on 3.x
#3151625: Specify PDF save directory name and schema
-
jan kellermann โ
committed b6e11ca6 on 3.x
Automatically closed - issue fixed for 2 weeks with no activity.