Macro Character Amount Error

Hi All,

i have seen that this macro error has occurred a few years ago with version 1.3. I believed it was fixed when version 1.4 was released. We have been on 1.5 for some time now but when I went to edit some macro's I am getting the error box:

'Failed to validate Code of Macro: Field must contain at most 255 characters'

I am definately in the explaination section and i have seen on the forum that this has been a problem for others too (just not recently).

Any sugegstions how to get around this bug which I'm having in version 1.5?

 

Cheers,

Jess

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Macro Character Amount Error

If you created thhe macro in 1.4 or earlier and have now upgraded to 1.5.1, you will get this error if you try to edit the macro - I got caught with this very error last week and meant to post my solution.

The upgrade from 1.4 to 1.5 added a new field in the Macro lookup display called Description.  The problem arises because the upgrade process populates the description field with the code-name of the macro.

As soon as you try to save the macro you are editing, openVPMS tries to expand the macro in Description, can't, and then returns an error.

Solution is simple: when editing a macro, make sure the Description field is NOT the macro code.

Cheers

Yuri.

Re: Macro Character Amount Error

I've now updated the Macro tutorial with this item of trouble-shooting: see http://www.openvpms.org/documentation/creating-and-using-macros#openvpms....

Yuri.

Re: Macro Character Amount Error

Thanks Yuri,

Your solution has been invaluable!

Thanks again

Jess

Re: Macro Character Amount Error

>Just to be sure - Do I need to have the description filled in with anything?

No.

Yuri.

Syndicate content