Serious Bug - Carriage Returns in Caption field

LR for Windows does not handle Carriage Returns/Line Feeds correctly in the metadata Caption field.
Windows Vista SP1, 32-bit
Adobe Lightroom 2.4
Library Module, Grid View
Initial settings:
LR Menu bar > Edit > Catalog Settings... > Metadata tab > Editing
uncheck Offer suggestions from recently entered values
uncheck Automatically write changes into XMP
LR Menu bar > View > View options... > Grid View tab > Cell Icons
check Unsaved Metadata
Metadata panel: choose the Default Metadata Set.
Import a JPG file into LR which contains no IPTC metadata.
LR Menu bar > File > Import Photos from disk... > Choose the JPG file
In the Import Photos dialog box, Information to Apply:
Develop Settings: None
Metadata: None
Keywords: None
Click Import.
Click thumbnail of the JPG file which was Imported.
In the Metadata panel click Caption field.
Type "Word1" in the Caption field and press Return/Enter key.
The Caption field loses focus.
The Caption field should not lose focus when the Return/Enter key is pressed.
Click the Caption field and press the Delete key to remove "Word1" from the field.
In the Caption field type "Word1" and press Ctrl+Return/Enter key.
As expected, the cursor moves to the line below "Word1" and the Caption field remains in focus.
Type "Word2" and press Ctrl+Return/Enter key.
As expected, the cursor moves to the line below "Word2" and the Caption field remains in focus.
Click the JPG thumbnail and notice a down-arrow icon appears on the thumbnail indicating that the metadata for this JPG has been changed in the LR catalog and that it does not match the IPTC metadata that is embedded in the JPG file on the hard disk. Also notice in the Metadata panel, Metadata Status is "Has been changed".
Click the down-arrow on the JPG thumbnail.
See the dialog box that pops up saying "The metadata for this photo has been changed in Lightroom. Save the changes to disk?"
Click Save.
Notice on the JPG thumbnail, the down-arrow icon remains visible and does not disappear as it should if the JPG's metadata in the LR catalog and the metadata embedded in the JPG file on the hard disk were the same.
Also notice in the Metadata panel, Metadata Status is "Has been changed".
Click LR Menu bar > Edit > Catalog Settings... > Metadata tab > Editing
check Automatically write changes into XMP
Click OK.
Notice on the JPG thumbnail, the down-arrow icon blinks rapidly. Also notice in the Metadata panel that "Metadata Status: Has been changed" blinks rapidly.
Click LR Menu bar > Edit > Catalog Settings... > Metadata tab > Editing
uncheck Automatically write changes into XMP
Notice the blinking stops.
Using a program that properly handles Carriage Returns/Line Feeds in IPTC metadata, such as Photo Mechanic 4.5, edit the metadata of another JPG file by typing "Word1", pressing the Return/Enter key, and typing "Word2" in the Caption field.
Import that JPG into LR.
LR Menu bar > File > Import Photos from disk... > Choose the JPG file
In the Import Photos dialog box, Information to Apply:
Develop Settings: None
Metadata: None
Keywords: None
Click Import.
Click the JPG thumbnail in LR Library Module.
Notice in the Metadata panel, "Word1Word2" appears in the Caption field, in both the Default Metadata Set and the Large Caption Metadata Set. The CR/LF has been stripped away.
CR/LFs typed into or pasted into the Large Caption set, also result in the persistence of the down-arrow icon even after metadata is saved to disk. And, if the Automatically write changes into XMP option is checked, the down-arrow icon blinks rapidly. And, if you view the Default set, notice Metadata Status: "Has been changed" blinks rapidly.
When metadata is saved to disk, the down-arrow icon should disappear from the thumbnail, and in the Metadata panel, Metadata Status should read "Up to date". I would guess the blinking behavior indicates LR is stuck in some kind of loop - it is trying to save the metadata to disk and verify that it has been saved, but it keeps going round in a vicious circle. I also notice there is increased hard drive activity during the blinking behavior.

Here is a related problem (using Lightroom 3.3, Windows).  When I import photos that have the IPTC caption field created in another program (ThumbsPlus, or IrfanView), carriage returns in the original do not show up in Lightroom.  Does anyone know why, or what to do about it?  I'd like to import lots of photos with existing captions, and some have carriage returns I would like to retain.
For me, adding a carriage return to the Caption metadata within Lightroom works fine.  In the Library view, using the right panel, I can enter a carriage return using Ctrl+Enter in the Metadata > Default view or in the Metadata > IPTC view.  I can enter a carriage return directly with the Enter key (no Ctrl required) in the Metadata > Large Caption view.  After these entries are saved to the file, they show up correctly in other programs (IrfanView > Image > Properties > IPTC Info)

Similar Messages

  • Remove carriage returns from a field in an oracle table

    I have a field that is defined as a LONG in my oracle table; the data contained in this field has carriage returns/line feeds (it's free form text); as i'm selecting data from this field, i need the carriage returns removed so that the data from this field all appears on one line.
    I tried using the TRANSLATE function to convert the carriage returns to something else, but that doesn't work.
    Example:
    Select comment from Notes:
    COMMENT
    the applicant called for an appointment;
    an exam was scheduled for 4/1/05 at 9am;
    called applicant to confirm app
    this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled for 4/1/05 at 9am; called applicant to confirm app"
    How can i do this? Can the decode function be used to remove the carriage returns in this field?

    when i used translate its giving correctly,
    SQL> ed
    Wrote file afiedt.buf
    1 select translate('the applicant called for an appointment;
    2 an exam was scheduled for 4/1/05 at 9am;
    3 called applicant to confirm app
    4 this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled
    5 How can i do this? Can the decode function be used to remove the carriage returns in this field
    6* ',' ') from dual
    SQL> /
    TRANSLATE('THEAPPLICANTCALLEDFORANAPPOINTMENT;ANEXAMWASSCHEDULEDFOR4/1/05AT9AM;CALLEDAPPLICANTTOCONF
    the applicant called for an appointment; an exam was scheduled for 4/1/05 at 9am; called applicant t
    SQL> ed
    Wrote file afiedt.buf
    1 select 'the applicant called for an appointment;
    2 an exam was scheduled for 4/1/05 at 9am;
    3 called applicant to confirm app
    4 this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled
    5* How can i do this? Can the decode function be used to remove the carriage returns in this field
    SQL> /
    'THEAPPLICANTCALLEDFORANAPPOINTMENT;ANEXAMWASSCHEDULEDFOR4/1/05AT9AM;CALLEDAPPLICANTTOCONFIRMAPPTHIS
    the applicant called for an appointment;
    an exam was scheduled for 4/1/05 at 9am;
    called applicant to confirm app
    this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled for 4
    How can i do this? Can the decode function be used to remove the carriage returns in this field?
    SQL>

  • Carriage Returns in Textarea field in APEX Mail

    Greetings all,
    I have a form that the users fill out and when they click submit it uses APEX Mail to send the contents to individuals in an HTML format. One of the fields is a text area where the individual will enter information like the sample below:
    First to Arrive:  Bob
    Second to Arrive: Jane
    Third to Arrive: Sandy
    Last to Arrive: FredWhen the email is received, instead of being on one line, each entry follows the next like:
    First to Arrive: Bob Second to Arrive: Jane Third to Arrive: Sandy Last to Arrive: Fred
    I posted about getting the form fields to show the carriage returns and that works fine. Now trying to figure out what to add to make sure that line breaks are handles as html breaks br tags. Any assistance and examples would be appreciated.
    Thanks
    Wally
    Edited by: wfsteadman on Feb 17, 2011 4:49 PM

    3.  Re: Carriage Returns in Textarea field in APEX Mail
           617301
    this code looks like it should work but doesnt,
    REPLACE(REPLACE(REPLACE(:TEXT_FIELD_ITEM,CHR(10)||CHR(13),'<br/>'),CHR(10),'<br/>'),CHR(13),'<br/>')
    ....thanks.

  • Address Book Adds Carriage Return to Street Field on Import

    I've been having some fun and games trying to import a large list of addresses in a tab delimited file into the Address Book. After finally managing to sort out all the issues with importing the file, I have now discovered that the value for the Street in all of the imported addresses has a carriage return (\r) character appended to them. There was not a carriage return present in the tab delimited file.
    I doublechecked the Address Book entries using Applescript to inspect the final character of the Street field and it was indeed a carriage return.
    I presume that this is due to the mapping of fields in the Address Book to the columns in my file. The Address Book allows you to enter 2 values for the Street, yet I am only using the first one with the second one being set to be ignored.
    However, the import still adds the carriage return character despite the second Street field not being required. It's not obvious that this is happening when viewing entries in the Address Book, yet when it comes to printing the imported addresses onto labels, a blank line is left due to the empty second Street field.
    If I edit the card and amend the Street field to, say, add a comma to the end of the Street or, take it away, the problem disappears. I don't want to manually edit all the imported address of which I have 275. Is there a workaround for this, or some Applescript that will automatically edit all the Street entries to remove the carriage return?
    Is anyone else experiencing this? Could this be classified as a bug?
    Before someone suggests I use the thirdparty Address Book Importer, I have tried that too and it also results in the same problem.
    Stuart
    Mac mini   Mac OS X (10.4.6)  

    The blank line appears when looking at the addresses through applications like SOHO Labels and Envelopes or Imprint. The problem is that the carriage return is added by the Address Book as it is being imported, rather than the carriage return being there already, so loading the tab delimited file into a spreadsheet will not show any carriage return characters.
    In the end I cooked up some Applescript to go through the Address Book and strip out any trailing carriage returns from the Street field for all addresses. I'm no Applescript guru, but the following seemed to do the trick:
    tell application "Address Book"
    set thePeople to every person
    repeat with thePerson in thePeople
    set theAddresses to every address of thePerson
    repeat with theAddress in theAddresses
    set streetinfo to street of theAddress
    if streetinfo ends with "\r" then
    set streetinfo2 to (text of characters 1 thru -2 of (streetinfo as string) as string)
    set street of theAddress to streetinfo2
    end if
    end repeat
    end repeat
    save addressbook
    end tell
    The other alternative was to write a script to parse my file in something like Ruby and then use Applescript to add the records rather than use the Address Book import feature. That would probably have given me some flexibility with being able to add multi-line notes, but the above was quicker to hack together.
    Stuart
    Mac mini (PPC)   Mac OS X (10.4.6)  

  • Place a carriage return in the field separator of an iChart

    In the Data Mapping of an iChart, the Field Separator is a good tool to obviously separate data.  The problem I see is the two fields and the separator are on one line.  How can I place a carriage return to place the two fields on separator lines?

    Hi,
    This is not possible to do; however, perhaps it could be entered as a feature request for a later version.
    Diana Hoppe

  • Simple Question: Carriage Return in description field

    Hi,
    i need to know how to insert a carriage return in my description field.
    Its a string field and I use the following code:
    rpt.DataDefinition.FormulaFields["BSpalte"j].Text ="\""bperiod((char)13)"Durchschnitt"bsperiod"\"" ;
    It compiles and the code is done faultless, but when the report needs to be shown,
    I get the message:
    Fault in report: .....
    Fault in formula BSpalte1...
    "Content of string
    " There is something missing..
    (i translated the message from german to english, maybe the translation is not quite correct )
    can you help me?
    Maria

    Hi,
    In SAP carriage return is represented by # symbol, when it reaches the form it turn out to be /n you dont need any script as such to see text in multiple lines.
    If you are using a textfield on the form for such data just make sure * Allow Multiple Lines * check box is selected.
    Then if the source is of n lines, the text field will represent n lines with a scroll bar respectively.
    Let me know if you need more help.
    Cheers,
    Sai

  • Reports not retaining carriage returns from htmldb_item.textarea

    I’m created a tabular form for multi row updates using htmldb_item.textarea for one of the fields. When I update the tabular form it keeps any carriage returns in this field, which is good. I then created a “PL/SQL function body returning a SQL Query” report for printing purposes. The problem is that the field populated by the htmldb_item.textarea does not retain any of the carriage returns in the report.
    I enter the following in the textarea on the tabular form:
    Line 1
    Line 2
    Line 3
    The report I created then displays the data as:
    Line 1 Line 2 Line 3
    I need the report to display the data the same as it appears on the tabular form.
    I tried this in my report from reading other similar situations on this forums, but didn’t work.
    replace("TEXTAREA",''||chr(13)||'',''||
    ||'') as title
    Anyone know of a solution?

    How about this?
    Go the page where you can edit the report column attribute - here is the bread crumb to help you figure out what I am talking about
    Home>Application Builder>Application 99999>Page Definition>Report Attributes>Column Attributes
    The second box in this page is Column formatting, you will find 4 text boxes (Number / Date Format, CSS Class, CSS Style, Highlight words) and a text area (HTML Expression). In the text area replace #COLUMN_ALIAS# with <PRE>#COLUMN_ALIAS</PRE>. You will get your newlines without tweaking the query or removing Strip HTML. Strip HTML is a security feature that I would not disable. On the down side you will loose some of the ability to format like fonts etc (:-(,
    Here is why you loose the newlines in the report. When browsers render html they have the liberty to reformat it. When reformating they can play around with whitespaces including new lines. To force a new line you have to use the BR tag or you can say the text is preformated using the PRE tags.

  • How to capture carriage return in SAP Business One?

    Hi guys,
    I am using C# for developing a plug-in for SAP business one 2005, I tried to use '\n' to capture carriage return in some fields that are stored in SQL server 2005, but it didn't work. I tried the same code in a C# windows application and it worked. I just want to know that if the carriage return in SAP has a special sequence code for that or not.
    The code I tried is "
    string s = "something";
    if (s.contains('\n'))
       //do something;
    Thanks  a lot

    Hi,
    I guess you did a typo: Chr(9) is TAB... I think you meant Chr(10).
    Regards,
    Eric

  • Carriage Returns / Line Breaks

    I have a requirement to display a customers address in 1 column of a report. The address is stored in the RPD as Address1, Address2, etc. etc. Can I create a formula that concatenates the address fields and puts a line break, carriage return after each field?

    Hi,
    I had the same problem as member "user12673225". This worked well if I print the file in HTML, but when I print the file in PDF, the HTML control code appear in the PDF report.
    e.g.
    LTHEA A | P.O. BOX 877 *<br* | KY | VERNON A 100000479 |
    VERNON | /> GRAND...........|....|.............................|
    ...........| CAYMAN.............|....|.............................|
    ...........| KY1-1103 *<br*......|....|.............................|
    ...........| /> CAYMAN.........|....|.............................|
    ...........| ISLANDS.............|....|.............................|
    Presently I generate the report in HTML then I convert it in PDF format.
    Is there a way to print the report directly in PDF without the html control appearing in clear in the pdf, to do the job all in one step?

  • Insert a Carriage Return in template

    Hello All,
    I need to replace a character '#' with carriage return in form field of RTF Template, Is it possible to do it. I am using XML publisher 5.0.
    Eg: <SAMPLE>123#345#567</SAMPLE>
    Output:
    <SAMPLE>123
    345
    567</SAMPLE>
    Your response is appreciated.

    111 <?xdoxslt:chr(10)?>2222will give you the new line character,
    in-between 111 and 2222 there will be in new line.
    http://winrichman.blogspot.com/search/label/BIP%20xsl%20extended%20function
    But you need latest version for this :)
    if am not wrong, this function was introduced above 10.1.3.3.+
    latest BIP EBS version should have this extended function too.

  • Inserting carriage returns in metadata when using fcsvr_client createasset

    Anyone know how to insert a carriage returns into a field when using fcsvr_client createasset? For example:
    ./fcsvr_client createasset paassetspot /dev/6/test.mov PAMD_CUSTNOTES="With \n line \n breaks"

    You can enter newlines as you type inline without variables; you just have to escape them to the shell.
    In bash, do:
    ./fcsvr_client createasset paassetspot /dev/6/test.mov PAMD_CUSTNOTES=$'With \nline \nbreaks'
    (The difference from your initial attempt is the dollar sign and the single quotes.)
    In tcsh, you could do:
    ./fcsvr_client createasset paassetspot /dev/6/test.mov PAMD_CUSTNOTES="With \
    ? line \
    ? breaks"

  • Can I generate a CR (Carriage Return) in a dynpro entry field ?

    My problem is the following
    I have a card reader and the information of this card will go into a SAP dynpro entry field.
    Now I need an addition CR (Carriage Return)
    Is that possible ?
    Thanks

    Basically this card reader is nothing more than any other barcode scanning or otherwise, so here is what I'm thinking.  At my old company, we had a bunch of barcode scanners which connected directly with SAP, the user would scan the barcode and it would put the value directly in the dynpro field.  This was great, but the user had to then hit enter.  There was no way for us to control this on the ABAP side.  We then discovered that in the barcode reader itself, there is some configuration around what is called a "postamble".  This is a keystroke which is fired automatically when a barcode is scanned, or maybe when a card is swiped?  Check your terminal and see if their is such a setting or configuration.
    Regards,
    Rich Heilman

  • How to replace an html br tag in the field to a carriage return?

    Hi All,
    I have a requirement to replace the <<br>> tag in the text field with a carriage return character "
    Currently the data in the Comments field looks like :
    "20100627 -115541 SECURITY WILL MEET AT MAIN ENTERANCE"<<<br>>"20100627 -115605 Officer notified: ALPHA : DF-10-011891; ST VINCENTS HOSPITAL, ST VINCENTS HOSPITAL, SAINT VINCENTS HOSP, MERRION RD, MERRION, BOOTERSTOWN, DUBLIN; FIRE/ALARM ACTIVATION;'<<br>>'20100627 -115609 PDA MOBILISED AFTER AMENDMENT VIN1'<<br>>'20100627 -"
    The <<br>> break tag was used for HTML purpose and now I would like to replace it with a carriage return character for BI Publisher report.
    Appreciate3 your help.
    Regards
    B
    Edited by: Bees on Jul 21, 2010 4:36 AM

    I downloaded your html template and it works fine for that template and the xml, but in my case it is not working. I need to assign the template just for one field called "Comments" where I need <<br>> tag to work.
    I modified the html as you suggested with the Tidy software, here is what I have done may be you can help me here. I very much appreciate your help.
    1. I have imported the template with the tag <<?import:file:///C:/dfb/biPub/code/htmlmarkup.xsl?>> and it works fine.
    2. Assigned the xsl - assign-template to the comments field.
    <xsl:apply-templates select="Fact._COMMENTS_" />
    *** IncidentsFact_._COMMENTS is the field name where it has <<br>><</br>> embedded into the comments data.
    Edited by: Bees on Jul 30, 2010 6:29 AM

  • Add a carriage return in a Unbound String Field

    Post Author: Razzle00
    CA Forum: Formula
    Hi,
         How can I add a carriage return to an unbound string field in a crystal report.  I am using the bundled version of CR with MS Visual Studio 2003 & 2005.  My formula needs to look something like this....
    'Heading One:' + CARRIAGE RETURN + trim({tablename.fld_1}) + CARRIAGE RETURN + 'Heading Two:' + CARRIAGE RETURN  + trim({tablename.fld_2})
    this code all needs to be in 1 unbound string field.  Is this possible?
    Thanks,
    Razzle

    Post Author: SKodidine
    CA Forum: Formula
    To add a carriage return, add CHRW(13)
    For example:
    'Heading One:' & chrw(13) & 'sample text';
    will result in:
    Heading One:
    sample text

  • IDoc output is not showing blank fields before the carriage return

    When we produce the Material Master IDoc (MATMAS), we send it to a ascii file, to a file port.  That works fine when we execute BD10 to produce the IDoc and the file.  But, the 3rd party mapping software wants to see every field, even if blank, in each segment it is fed.  So, let's say the E1MARCM segment is 750 chars, when you add up all the field lengths in the structure, but the last 5 fields are blank.  SAP does not include those trailing blanks at the end of the segment in the file.  It just puts a carriage return.  How can we configure it to output the trailing blanks?

    Hi Mark Mathison 
    In IDoc ....if no value is passed in to that field then, the field wonu2019t be populated in Doc....
    There is no chance of getting blank field in IDocs...
    Ramesh

Maybe you are looking for

  • Concat to retrieve column name in select

    This is basically what I am trying to do: SELECT 'LY_'| |to_char(sysdate,'MON')| |'SALES' FROM TERR_ACCT_SUM Except, instead of returning "LY_OCTSALES", I would like to select the rows in the column LY_OCTSALES. How can I "create" the column name to

  • HOW DO I GET AN APP STORE ON MY IPOD TOUCH?

    i have an ipod touch, it has no app store, nor when i hook it up into my computer. its a 1st gen ipod touch.

  • FM to create Pallet HU's with Object reference

    Hi all, Is there any FM which can be used to create a Pallet HU and assign it to Delivery or shipment. I am able to create Pallet HUs using the BAPI: "BAPI_HU_CREATE" but then I am unable to assign them to shipment or delivery. I tried using "HU_ASSI

  • Trying to understand Activation property from Taskflows and childCreation

    Hi !. I would like to know what would be the interpretation If I build a jspx with a popup and I put a task flow with the activation property set to deferred but with the childcreation property from the popup to inmediate ?. Thanklx

  • Any working WebServices tutorial?

    I tried Sun's app server and tutorial, but it just doesn't work! I kept having a 405 error when accessing my web service. Could anyone advice me on a link to working example?