• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

NAB button program fails in INITIALIZE since 6.0.20210421

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NAB button program fails in INITIALIZE since 6.0.20210421

    Hi,

    Since the upgrade to 6.0.20210421 a button program that uploads a file fails in procedure INITIALIZE with the messages:
    Functiefout opgetreden. CPF9898 niet voorzien door JSON bij
    programma-instructie 0000002585, systeeminstructie X'0000'.
    The call to INITIALIZE ended in error (C G D F).

    The program is recompiled.

    Kind regards,
    Theo

  • #2
    Theo,

    Thank you for the information, this will be fixed in the next Valence 6 update. If you need a hot-fix please email support.

    Thanks

    Comment


    • #3
      After the upgrade to 6.0.20210610.0 the upload goes well but the data is corrupted in the sense that some data is added to the file:

      PHP Code:
      H1504;501038;SFGT-015;360;Steam forged games;Sneaky Peet;
      ------
      WebKitFormBoundarybld5MaXJ12iIieLX
      Content
      -Dispositionform-dataname="lang"

      en
      ------WebKitFormBoundarybld5MaXJ12iIieLX
      Content
      -Dispositionform-dataname="vvKey"

      16233931609508483
      ------WebKitFormBoundarybld5MaXJ12iIieLX
      Content
      -Dispositionform-dataname="env"


      Comment


      • #4
        Does your upload complete successfully? After the upload, can you then open and view the file without any issues?

        Are you actually seeing this data (from your screenshot) in the contents of your file?

        Comment


        • #5
          sean.lanktree
          Yes Sean, this is the actual content (the last lines of a csv file) on the AS400 after it's uploaded through Valence.
          This upload doesn't give any errors, not in the browser, not in the errors app and not in the joblog of the HTTP server.
          Kind regards,
          Theo

          Comment


          • #6
            sean.lanktree
            ​​​​​​​See before and after versions
            Attached Files

            Comment


            • #7
              Thanks Theo, we have replicated the issue and have a fix. I will reach out to you shortly to send you a patch if you wish to install it.

              Comment

              Working...
              X