Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    overdue-summary-1 doesn't always include CRLF

    • Article Type: General
    • Product: Aleph
    • Product Version: 19.01

    Description:
    Problem Description: Depending on the order of the fields in overdue-summary-1.xsl emails arrive with some items lumped together and some on individual lines.

    Actual Results: With the z36 fields immediately following bib info the email has the z36 info appended to bib info lines. With a non-z36 field immediately following bib-info the email has all of the fields on separate lines

    Expected Results: All fields would print on separate lines

    Resolution:
    From issue resolution:
    Dear Liz,

    I want to close this - if possible.

    This is the best *I* can do - and I think that this *does* answer the request of the customer.

    The customer wanted to have this (line break after every bib record, before loan date and other loan details),
    - Instead of having everything together in one line - for the first Loan.

    And this it wht we have after the fix I suggest.

    Please see the following and confirm:

    (1) The attached MS-Word document from today, 03 - January - 2012,
    (2) The message received.
    I attached as: 38932_Overdue_Summary_0_03-Jan-2010.msg

    and:
    (3) also the XSL file: plain-funcs-grid.xsl_orenm.03_Jan_2012
    (save on local GUI as: .\Alephcom\files\USM50\PrintTemplates\eng\ plain-funcs-grid.xsl )

    The correction is the addition of: <xsl:call-template name="new-line"/> - as follows:

    <!-- bib-info -->
    <xsl:if test="$type ='bib-info' and $header =''">
    <xsl:call-template name="bib-info">
    <xsl:with-param name="line" select="$value"/>
    <xsl:with-param name="label" select='concat($label,":")'/>
    </xsl:call-template><xsl:call-template name="new-line"/>
    </xsl:if>
    </xsl:template>
    [03/01/2012 14:28:54 Oren Maurer]
    Final Status: To Integrate [4/10/2012 11:50:45 AM Liz Best]

    Since it is just a case of one extra character (and a space at that) rather than clumping on one line, then this will have to do.

    Thank you very much for all of the time you have spent on this.

    Liz[4/10/2012 11:51:42 AM Liz Best]
    Final Status: Closed [5/14/2012 4:34:42 PM Oren Maurer]


    • Article last edited: 10/8/2013