Webpage option to create "Multi-line String" returns error
Issue #33
resolved
Passing on a report that someone else noticed (but I can confirm it happens with latest commit 5ef01e7).
From the ODB page on midas webpage you have option to create ODB keys. If you choose the option to create "Multi-line String" then the webpage responds
"ODBMCreate() error 310, and that's all we know."
Something does get created. With odbedit the variable shows up as type 'ARRAY'.
Not sure what this type is meant for, but the error message doesn't seem promising.
Comments (2)
-
-
reporter - changed status to resolved
This solution works for me.
- Log in to comment
I always wondered what "multi-line string" was supposed to create. Now I looked. There is no corresponding MIDAS TID. For strings there is only TID_STRING. This is created by the "create string" option. "create multi-line string" in the old code created an empty TID_STRING by special case handling of TID_ARRAY. In the new code the special case is absent, so an empty TID_ARRAY is created. None of this makes sense. As a fix, I remove the choice for create "multi-line string". K.O.