Error trying to save Personal and contact information

Discussion in 'Bugs & Issues' started by Jason, Mar 28, 2007.

  1. Jason

    Jason Developer / Handyman Staff Member

    ==== error 1 ===== trying to save Personal and contact information ====
    [error [command-failed]
    fail [update-user 1645 "RAB" "ALA" "27-Nov-1963" "Mr" "M" none "--" "6926311421LA" "109 Clave Drive" "" "" "Test" "ON" "90210" "" "(912) 111-0125" "" "" "" "7430" "" false "" "" "" {make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'update-user
    arg2: 'ethnic
    arg3: [string!]
    near: [update-user 1645 "RAB" "ALA" "27-Nov-1963"]
    where: 'read-msg
    ]}]
    ]
    === error 2 == trying to change the ethnicity

    An error has occurred. If this occurred with an upgrade, please revert to the older version for the meantime, and report the error message as documented below.

    make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'tail
    arg2: 'series
    arg3: [series! port!]
    near: [view*/caret: tail face/text if face/para]
    where: 'show-focus
    ]

    ====

    The error occurs on my patients, but for some reason didn't occur on a test patient. version 205.

    Repeatable error.
  2. Graham

    Graham Developer Staff Member

    Try latest server and client ...

  3. Graham

    Graham Developer Staff Member

    Are these two separate errors ?

    What's the exact sequence?
  4. Jason

    Jason Developer / Handyman Staff Member

    Same.



    Error2:

    change to patient ... go to Personal tab. click on ethnicity drop down. select an ethnicity ... error.

    Error1:
    change to patient ... go to Personal tab. change anything press save ... error. or don't even change anything ... press save ... error.
  5. Graham

    Graham Developer Staff Member

    [quote user="Jason"]

    ========= trying to save Personal and contact information ====
    [error [command-failed]
    fail [update-user 1645 "RAB" "ALA" "27-Nov-1963" "Mr" "M" none "--" "6926311421LA" "109 Clave Drive" "" "" "Test" "ON" "90210" "" "(912) 111-0125" "" "" "" "7430" "" false "" "" "" {make object! [



    [/quote]

    Well, I can't see how this error occurs. It says that "none" is being passed as the ethnicity, but the client is supposed to prevent blank enthnicity from being transmitted.

    Anyway I have uploaded a new server B3 that traps this, and converts the "none" to a blank string. Try that to see if it fixes the problem for you.

  6. Jason

    Jason Developer / Handyman Staff Member

    with new server

    Error 2 ... same problem.

    Please Note: if changing from one response to another .. it's OK, but from blank to something the error occurs.
  7. Jason

    Jason Developer / Handyman Staff Member

    Think I figured it out.

    Most (at least quite a few) of my patients have the title and ethnicity blank.



    Attempt #1)

    change to patient, tried to change ethnicity ... ERROR.

    Attempt #2)

    change to patient, add title, add occupation ... SAVE. try to change ethnicity ... No Error.




    Attached Files:

  8. Jason

    Jason Developer / Handyman Staff Member

    error and solution repeated.



    So ... what happens is ... when I attempt to choose an ethnicity if the Title and occupation are blank ... i get the immediate error. If I have those filled out and pick the ethnicity .. no error.

    ?

  9. Jason

    Jason Developer / Handyman Staff Member

    The interesting problem here is ... ethnicity and title and sex are now set by default.

    Note: adding a gender by default is bound to cause wrong gender errors.

    "Dr. M, you told Specialist so and so I was a MAN !"



    This error is not repeatable by adding a new patient, because the ethnicity and title and sex are now set by default.

  10. Graham

    Graham Developer Staff Member

    Well I don't see such errors as I always titles, ethnicity and occupation.

    Try server beta-4 now to see if this fixes it.

  11. Jason

    Jason Developer / Handyman Staff Member

    My suggestion is not adding default values to the fields but to add default values to the popup and then giving them the option to change the defaults when adding a patient.

    This allows people to do things quickly when needing to add a patient quickly, but at least shows them what they are adding. I could see that in a rush, people add the required values but don't realize many of the things they entered were wrong (Title, Gender, address, city, state) for that patient.

    JMO.

    Attached Files:

  12. Jason

    Jason Developer / Handyman Staff Member



    Beta site only shows beta3<table cellpadding="0" cellspacing="0" class="table"><tbody><tr class="attach_synapse-serverexe"><td class="bg2 group firstcol">[​IMG]</td>
    <td class="bg2 group firstcol">[​IMG]</td>
    <td class="bg2 group leftcol">synapse-server.exeR74B3 for windows</td></tr></tbody></table>
  13. Graham

    Graham Developer Staff Member

    Uploaded Beta-4 again .. don't know where it went B4!

    As for a quick add window .. the idea of that window is to search for duplicate entries.

    I'll think on it.

  14. Jason

    Jason Developer / Handyman Staff Member



    BetaDownloads still says b3 ... i downloaded and it says b3.
  15. Graham

    Graham Developer Staff Member

    Must be a limit to the number of files I can upload to one page.

    I've deleted a few older files and uploaded it again ( 3rd time ). I do see it available now.

Share This Page