From 219b1fc3f936ca904b3eb75ddd6ed6cbfb24d1e9 Mon Sep 17 00:00:00 2001 From: "philippgodbersen@b5b6f1c85f129c3bbf300214eb690810f9c582b6" Date: Thu, 7 Jan 2016 23:27:10 +0000 Subject: [PATCH] --- ...etadata_breaks_field__61____42___view.mdwn | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 doc/bugs/slash_in_metadata_breaks_field__61____42___view.mdwn diff --git a/doc/bugs/slash_in_metadata_breaks_field__61____42___view.mdwn b/doc/bugs/slash_in_metadata_breaks_field__61____42___view.mdwn new file mode 100644 index 0000000000..f43b616233 --- /dev/null +++ b/doc/bugs/slash_in_metadata_breaks_field__61____42___view.mdwn @@ -0,0 +1,42 @@ +### Please describe the problem. + +When using the metadata driven view fields values that contain a slash break the view field=* functionality + +### What steps will reproduce the problem? + + $ git annex metadata --set test=a/b file.tex + $ git annex view test=* + view (searching...) + git-annex: fd:13: commitBuffer: invalid argument (invalid character) + failed + git-annex: view: 1 failed + + + +### What version of git-annex are you using? On what operating system? + +git-annex version: 5.20151218-g5008846 on ArchLinux + + +### Please provide any additional information below. + +To me it seems like this is only occuring during a field=* view. +Everywhere else the field value behaves normally, For example its possible to directly address the field value in a view without issue. + + $ git annex view test=a/b + view (searching...) + Switched to branch 'views/(test=a/b)' + ok + + +I dont have any issues with non latin characters so this doesnt seem related to the locale issues in [https://git-annex.branchable.com/bugs/view_fails_with___34__invalid_character__34__/](https://git-annex.branchable.com/bugs/view_fails_with___34__invalid_character__34__/) + +I was trying out the metadata extraction via libextractor and for the mimetype there often are slashes involved. + + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +Apart from this git-annex is working very well for me. I mostly use it as an archive, distributing numerous copies on various hard drives and cloud providers and keeping track of what is where.Its an amazing tool for that. + + +