Here is a code:
function vr_campaign_create_campaign($node) {
[...]
'name' => $node_type . ' [' . $node->nid . '] ' . date('Y-m-d H:i'),

Names longer than 40 symbols are not accepted by VR, so if we have rather long $node_type or $node->nid an error occurs. To fix it, we can truncate $node_type to necessary length if 'name' is longer than 40 symbols.

CommentFileSizeAuthor
#1 campaign-name.patch778 bytesaaronbauman

Comments

aaronbauman’s picture

Status: Active » Fixed
StatusFileSize
new778 bytes

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.