-
Notifications
You must be signed in to change notification settings - Fork 127
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
Unable to use some placeholders in archive names #1954
Comments
We may not pass those to Borg and our current placeholders are filled by Vorta only. I think. If this is the case, we should look into passing them through, as you expect here. |
@m3nu I think that if we pass them through to borg, we may not be able to show the preview. |
Will this change solve it for you, @daPhipz ? It's a clever change actually. |
I don't really know how to (read that) code - would this solution mean that the placeholders would work, but the preview text under the text field could be wrong? Or where is the compromise? I personally don't care about the preview if the actual naming works, but maybe the user should be informed in that case. |
Both (Placeholders and the Preview) will work here. The naming would be same as preview. |
In that case, I am perfectly fine with this solution! Thank you very much for this quick PR! 😍 |
@m3nu, is this PR good to be closed then? |
Yes, we will merge it. Let's just give others a chance to look at it too. |
Description
When trying to add the following placeholders (see here) to the archive name, Vorta says "Error in archive name template.":
When I navigate away from that tab in Vorta (e.g. to the "Schedule" tab) and then go back, the "problematic" part of the archive name is removed from the text input field
Reproduction
OS
Kubuntu 22.10
Version of Vorta
0.9.1
What did you install Vorta with?
Flatpak
Version of Borg
1.2.4 according to Vorta, 1.2.6 according to
borg --version
(I guess one comes with the Flatpak and the other is a deb package)Logs
No response
The text was updated successfully, but these errors were encountered: