LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Problem with trim node

    Employee
    Posted 05-21-2013 04:30

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: aop

    Hi!

    I'm trying to use trim node for easy conversion of empty strings to null. Seems to work fine if only one field is provided in FieldSet parameter. However I could not enter multiple fields in the FieldSet parameter (only the first gets converted). I tried entering one field name per line as indicated in the node help.


  • 2.  RE: Problem with trim node

    Employee
    Posted 05-22-2013 04:41

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Hi,

    This appears to be a bug in the node.
    The "trimming" part works correctly, however only the last "NullEmptyFields" parameter only operates on the last field to be trimmed on a record.
    This has been raised as issue # 4924.

    I can't think of any nice workaround, except for either using Brainscript in a filter node to check the fields and set them to null, or using multiple Trim Fields parameters.

    Regards,
    Tim.