IBM Support

LO73287: XPAGES: FILE UPLOAD IS NOT SAVED AFTER UPDATING SSJS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • User inserts some strings with SSJS - currentDocument.setValue
    to Rich Text control.
    After that, user uploads a file with File Upload control and
    save the document.  But the uploaded file isn't saved.
    
    Steps to reproduce:
    
    1. Create a new XPage
    2. Create a Rich Text (e.g. "Body")
    3. Create a Button that inserts some strings to the Rich Text
    4. Set the following SSJS on onclick event and set Full Update
    ----------------------
    var richTxt = getComponent("Body").getValue();
    if(richTxt != null && richTxt != ""){
          currentDocument.setValue('Body'
    ,getComponent("Body").getValue() + String("<br>" +
    "http://linktest"));
    }else{
          currentDocument.setValue('Body' ,"http://linktest");
    }
    ----------------------
    5. Create a File Upload control and bind it to Rich Text
    6. Create a File Download control and bind it to Rich Text
    7. Create a Save button that execute "Save Doc Variable" simple
    action
    8. Create a new doc with this XPage
    9. Input some characters in Rich Text
    10. Push Insert button
    11. Some strings are inserted to the Rich text
    12. Upload a File with File Upload control
    13. Push Save button
    
    You can see the Uploaded file isn't saved in the document.
    After that, you edit the document and upload a file, you can
    see the Rich Text data is deleted.
    

Local fix

Problem summary

  • This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# MNAA93CDC3.
    This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

APAR Information

  • APAR number

    LO73287

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    853

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-26

  • Closed date

    2013-01-04

  • Last modified date

    2013-01-06

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

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

Fix information

Applicable component levels

  • R853 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 January 2013