IBM Support

LO49317: JAVASCRIPT IN NOTES, UNABLE TO GET VALUE FROM ANOTHER FRAME TOOB JECTERROR;

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • 1) Download the database provided (in Attachment db)
    2) Place the Database on a 851 Server/Client environment
    3) Open the Database
        -by defaults it launches into a 2 frame frameset
    4) Click on "LotusTest" on the bottom of the Left frame
        - The right frame is populated with a view, One document
    "aaa"
    5) Double click on the document to open it
        - Launches another 2 frame frameset (top and bottom) with an
    embedded view
    on the top frame
        - Note: there is one button called "grabVal"
    6) Click on the one document inside the embedded view (Overhead
    
    Office-expense)
        - The bottom frame is populated with a document
    7) Click on "grabVal"
        - You should get a "Error:ToObjectError:
    window.parent.frames[1] has no
    properties"
    
    The code behind "grabVal" is written in JavaScript:
    alert
    (window.parent.frames[1].document.forms[0].Amount.value);
    
    Addition Steps to produce the working version.
    8) Go to the Launch Properties of the database
    9) Change the Launch Frameset from "MainFrame" to "Frameset2"
    10)Close and reopen the database
        - Database should launch straight to "Framset2"
        - Similar results from opening the document in step 5
    11)Click on the one document inside the embedded view (Overhead
    
    Office-expense)
        - The bottom frame is populated with a document
    12) Click on "grabVal"
        - You get the correct value "217.04" from the Amount field
    
    Note: If This application was opened with Client version 701,
    both scenario
    returns the correct value
    

Local fix

  • Downgrade client to 701
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# CTSI6V7P8Q.
     Support should continue to log customer reports against this
     SPR.  If weight increases sufficiently, it may be re-raised
     for triage for an upcoming maintenance or feature release.
    

APAR Information

  • APAR number

    LO49317

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    851

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-26

  • Closed date

    2010-09-21

  • Last modified date

    2010-09-21

  • 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

  • R851 PSN

       UP

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

Document Information

Modified date:
21 September 2010