Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package: Missing backup files for files with the same content #5012

Closed
rolfschmidt opened this issue Jan 19, 2024 · 0 comments
Closed

Package: Missing backup files for files with the same content #5012

rolfschmidt opened this issue Jan 19, 2024 · 0 comments
Assignees
Milestone

Comments

@rolfschmidt
Copy link
Collaborator

Used Zammad Version

6.2

Environment

  • Installation method: [e.g. source, package]
  • Operating system (if you're unsure: cat /etc/os-release ): [e.g. debian 10.4, ubuntu 20.04]
  • Database + version: [e.g. postgresql 9.3, mysql 5.7, mariadb 10.3]
  • Elasticsearch version: [e.g. 7.17]
  • Browser + version: [e.g. chrome 83, safari 14, firefox 105]

Actual behaviour

Currently, files with the same content will not create backup files.

This leads to an invalid state, especially when you have a backported feature which then get released and the system gets upgraded. The file already does exist with the same content, so there is no backup file. If then the developer decides to remove the file from the package because it is not necessary any more, then the core file will get deleted not restored by the backup file because there is none.

Expected behaviour

Always create backups for package files.

Steps to reproduce the behaviour

  • Backport feature
  • Update system after a couple of months
  • Remove the backport of the file which now exists in the core from the package

Support Ticket

Ticket#10149686

I'm sure this is a bug and no feature request or a general question.

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant