Hello,
One SmartTask's script which used to work on the version R81.10, is not working correctly in the R81.20
It is about the script to run before publishing that will force to write a session name with more than 20 characters :
#!/bin/bash
namelen=`echo $1 | base64 -id | jq -r .session.\"session-name\" | wc -c`
if [[ $namelen -le 20 ]]; then
printf '{"result":"failure","message":"Session name should be at least 20 characters"}\n'
exit 0
else
printf '{"result":"success"}\n'
exit 0
fi
So everything looks right when I write a session name of less than 20 characters. I will use the default session name :
As usual, the publish operation failed :
Then, I wrote a session name of more than 20 characters :
Surprise. I got the same error :
I tested the same in a R81.10 and the result with a session name of more than 20 characters, was the spected one :
It looks like there is a bug on the R81.20 version
I will try to update the SMS with the last jumbo.
If you have no news, it means that the update did not work.
Have a nice end of the day
Miguel