LO72380: XPAGES: FILE IS NOT SAVED WHEN DOC OBJECT IS CREATED IN SSJS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • When Document object is created in SSJS, the attachment file
    isn't saved correctly in XPages application.
    
    *** Steps to reproduce ***
    1. Create a new form (form1) and place one Rich Text field
    (field1).
    2. Create a new XPages form (xp1) and place one File Upload
    Control and File Download Control.
    3. Place two buttons in xp1.
    button 1:
    This is for "save" button by simple action.
    
    button 2:
    The following Server-side Javascript code is written in the
    "postscript" button.
    -------------------------
    var doc:NotesDocument = currentDocument.getDocument(true);
    return false
    -------------------------
    4. Access to the database via web browser.
    5. Create a new document and upload certain file and click
    "postscript" button. The uploaded files is attached into the
    document.
    6. Click save" button to save the document.
    7. Close and reopen the document. You can see the file isn't
    saved.
    

Local fix

Problem summary

  • A programming error was found and will be corrected in a future
     release.
    

Problem conclusion

  • A programming error was found and will be corrected in a future
     release.
    

Temporary fix

Comments

  • This APAR is associated with SPR# ANIA8ZJGFP.
    The problem was caused by a user error or user misunderstanding.
    

APAR Information

  • APAR number

    LO72380

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    853

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-29

  • Closed date

    2013-02-11

  • Last modified date

    2013-02-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DOMINO SERVER

  • Fixed component ID

    5724E6200

Applicable component levels

  • R853 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Domino

Software version:

8.5.3

Reference #:

LO72380

Modified date:

2013-02-11

Translate my page

Machine Translation

Content navigation