View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007098||OXID eShop (all versions)||4.07. Source code, Test||public||2020-02-20 15:13||2020-02-20 16:05|
|Target Version||Fixed in Version|
|Summary||0007098: composer does overwrite files which are often adapted|
|Description||After executing the commands "composer update" or "composer install" at least the files offline.html, favicon.ico, .htaccess, robots.txt and nopic.jpg are always overwritten. |
Better would be if the files are only copied to the directory when the target file doesn't exist. And do nothing when the file is already there. So the changes are not gone and doesn't need to get restored all the time.
|Steps To Reproduce||1. Make changes to one or more or all of the listed files. |
2. Execute composer update or composer install
3. Have a look at your changes. They are gone.
|Additional Information||Please note that those files have in common that they get in most cases customized. Maybe there are even more of those "customized"-like files. |
Idea: An extendable blacklist of files which will not be overwritten after executing composer install/update.
|PHP Version||Not defined|
|Database Version||Not defined|