Skip to main content
Björn Engelke
Participating Frequently
July 3, 2024

P: Tag import: quote sign missing

  • July 3, 2024
  • 1 reply
  • 399 views

Hello,
I exported my tags from my major catalog (CSV/txt) . When I import these tags to a new catalog the closing quote sign (if used) is missing. The sign is included in the exported files. It seems that import is removing or ignoring quote sign if it's the last char in a tag. It doesn't matte if I use csv or the txt file for import source.

Kind regards

1 reply

johnrellis
Legend
July 4, 2024

Here's a simple recipe for reproducing the bug in LR 13.4 / Mac OS 14.5:

 

1. Delete all keywords in the Keyword List.

 

2. Select a photo, and in the Keywording panel with Enter Keywords, enter this hierarchical keyword:

A>B "C"

 Verify that the Keyword List contains exactly A > B "C":

 

3. Do Metadata > Export Keywords > .CSV. 

 

4. In the Keyword List, delete all the keywords.

 

5. Do Metadata > Import Keywords and select the file exported in step 3.  Observe that the imported keyword B "C is missing the trailing quote:

 

6. Repeat steps 1 - 5 but exporting as a .TXT file. Observe the same error.

johnrellis
Legend
July 4, 2024

@Rikk Flohr: Photography@Rick Spaulding -, please consider moving to Bugs. The simple recipe I posted above shows how to reproduce the error from scratch.

johnrellis
Legend
July 4, 2024

Note that LR is not obeying the RFC 4180 standard for CSV.  In particular:

 

"Fields containing a line-break, double-quote or commas should be quoted. (If they are not, the file will likely be impossible to process correctly.)"

 

"If double-quotes are used to enclose fields, then a double-quote in a field must be represented by two double-quote characters."