Hi,

When saving a vendor form after adding fields (from the plugin) I got
this error:
Field limit definition is invalid (ARERR 129).

However, if creating the fields using std admin functinality and map
the field to the plugin in Database properties of the field, the error
does not occour.

This is how the fields are created in the plugin:

public List<ARVendorField> getMultipleFields(ARPluginContext context,
VendorForm form) throws ARException {
        context.logMessage(pluginInfo,
ARPluginContext.PLUGIN_LOG_LEVEL_DEBUG, "getMultipleFields()");

        ArrayList<ARVendorField> list = new ArrayList<ARVendorField>();

        list.add(new ARVendorField("ids", 0, Constants.AR_DATA_TYPE_CHAR, new
CharacterFieldLimit(15, 0, 0, null, null, 0)));
        list.add(new ARVendorField("Users", 0, Constants.AR_DATA_TYPE_CHAR,
new CharacterFieldLimit(254, 0, 0, null, null, 0)));

        return list;
}


Regards,
Jarl

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to