modifying a non object member of a read only js object fails silently

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      See QA-19

      There may not be much we can do about this - just wanted to bring it up:

      • If I perform an operation on an array within a read only document, it fails silently rather than printing an error:
        obj.arr[0] = 1;
      • Same for other data types:
        obj.date.setSeconds( 1 );

            Assignee:
            Antoine Girbal (Inactive)
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: