IBM Support

LO82247: PARTIAL REFRESH OF A DIFFERENT PORTION OF AN XPAGE CAUSES THE CONTENT OF A FILE UPLOAD CONTROL TO DUPLICATE.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • Multiple duplicated copies of a single attachment selected in a
    File Upload control can get created on a XPage that has a
    action that does a partial refresh of a different, unrelated
    portion of the XPage.
    
    To reproduce the issue:
    
    1.  Create a new blank database.
    
    2.  Add a form named "Reg" with a Rich Text field named
    "Attachments".
    
    3.  Create an XPage using this source:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <xp:view xmlns:xp="http://www.ibm.com/xsp/core"
    xmlns:xc="http://www.ibm.com/xsp/custom">
      <xp:this.data>
         <xp:dominoDocument var="dominoDocument1"
            formName="Reg"
        databaseName="#{javascript:sessionScope.currentFileDBPath}">
         </xp:dominoDocument>
      </xp:this.data>
      <xp:fileUpload id="Attachments"
        value="#{dominoDocument1.Attachments}">
      </xp:fileUpload>
      <xp:br></xp:br>
      <xp:br></xp:br>
      <xp:button value="Refresh Panel below" id="button2">
      <xp:eventHandler event="onclick" submit="true"
        refreshMode="partial" refreshId="NotifyPanel">
      </xp:eventHandler></xp:button>
      <xp:panel id="NotifyPanel"></xp:panel>
      <xp:button value="Save" id="button1">
        <xp:eventHandler event="onclick"
            submit="true" refreshMode="complete">
            <xp:this.action>
               <xp:saveDocument></xp:saveDocument>
            </xp:this.action>
         </xp:eventHandler>
      </xp:button>
    </xp:view>
    
    4.  Launch the XPage in a web browser.
    
    5.  Click on the browse button and select an attachment.
    
    6.  Click on the "Refresh Panel" button three times.
    
    7.  Click on the Save button.
    
    8.  Open the document in the Notes Client and observe that the
    "Attachments" field contains three copies of the selected
    attachment.
    

Local fix

  • None, other than not using partial refresh.
    

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# JSHN9PJQXF.
    This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

APAR Information

  • APAR number

    LO82247

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    901

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-03

  • Closed date

    2016-07-25

  • Last modified date

    2016-07-25

  • 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

  • R901 PSN

       UP



Document information

More support for: IBM Domino

Software version: 9.0.1

Reference #: LO82247

Modified date: 25 July 2016