A ticker with a due date of 2m crashes GUI.

Discussion in 'Bugs & Issues' started by Jason, Sep 27, 2007.

  1. Jason

    Jason Developer / Handyman Staff Member

    make object! [
    code: 200
    type: 'syntax
    id: 'invalid
    arg1: "integer"
    arg2: "2m"
    arg3: none
    near: "(line 1) 2m"
    where: none
    ]


    2 space m - is what I wanted.

    2m - crashes. It crashes when I hit the tab button
  2. Graham

    Graham Developer Staff Member

    It's not crashing the gui .. it's just a debugging message that I left in and need to remove [:$]
  3. Jason

    Jason Developer / Handyman Staff Member

    [quote user="Jason"]

    make object! [
    code: 200
    type: 'syntax
    id: 'invalid
    arg1: "integer"
    arg2: "2m"
    arg3: none
    near: "(line 1) 2m"
    where: none
    ]


    2 space m - is what I wanted.

    2m - crashes. It crashes when I hit the tab button


    [/quote]

    Still needs fixing. I was demoing Synapse today and I crashed it with "6m"



  4. Graham

    Graham Developer Staff Member

    B12 just gives an alert now ...

  5. Jason

    Jason Developer / Handyman Staff Member

    Would it be possible to accept 2m as 2 m ?
  6. Graham

    Graham Developer Staff Member

    That would completely change how the date dialect is processed .. it's like a miniature interpreter and you're asking me to change the syntax!

    You see, "2 m" is short for "2 months" and you wouldn't write "2months" normally .. the idea is to resemble english syntax rules as much as possible.


  7. Jason

    Jason Developer / Handyman Staff Member

    I was hoping for a quick, easy fix.

    Otherwise, I am sure I'll get used to it.

    Trapping the error will help.

    It *DID* tarnish my demo to the nurses.

    But I recovered quickly. :)

  8. Graham

    Graham Developer Staff Member

    No quick fix .. the same dialect is also used for appointments.


    I suggest you don't show the nurses or anyone the shortcuts until they've learned the "correct" way.

    And then the spaces will come naturally to them when you show them the shortcuts[;)]

Share This Page