Menu

#20 Character limit on new Notes?

v0.4
open-accepted
8
2003-12-08
2003-12-07
Nowhere Man
No

Working on a plugin for syncing the Notes soup. When I try
to create a new Note on the newton it fails and hangs the
sync if the note is more than ~450 characters long. To the
best of my recolection, this problem did not exist in nSync
0.3k.

I'm using GetRoot().paperroll:MakeTextNote() to create the
notes on the Newton.

Discussion

  • John Anderson

    John Anderson - 2003-12-08
    • labels: --> Newton Client
    • milestone: --> v0.4
    • priority: 5 --> 8
    • assigned_to: nobody --> everchanging
    • status: open --> open-accepted
     
  • John Anderson

    John Anderson - 2003-12-08

    Logged In: YES
    user_id=687528

    So there's a ~450 character limit when you run -[Newton
    executeScript:]? Does the limit only apply for setting data via a
    script, and not getting it via -[Newton getNextRecord]? Or does it
    apply to both?

     
  • Nowhere Man

    Nowhere Man - 2003-12-08

    Logged In: YES
    user_id=593699

    It only seems to happen with executeScript.
    getNextRecord works fine with longer notes.

     
  • John Anderson

    John Anderson - 2003-12-08

    Logged In: YES
    user_id=687528

    One change that I was thinking of making to the API is to allow
    transfer of records in both directions via binary, instead of using
    ExecuteScript to transfer records to the Newton. This would seem
    to address this issue. Was thinking of a setNextRecord method to
    correspond to the getNextRecord method.

     
  • Nowhere Man

    Nowhere Man - 2003-12-10

    Logged In: YES
    user_id=593699

    That sounds very promising. a method that takes an NSDictionary
    as an argument and adds it as a record to the current soup would
    be very nice. The way things work right now, it is _much_ easier
    to get information out of the Newton than to put it in.

     

Log in to post a comment.

MongoDB Logo MongoDB