If there are no updates made, the length of string strUIDList is zero, the following code fails:
'get the string of UIDs updated
For Each vKey In oDict.Keys
strUIDList = strUIDList & vKey & ","
Next vKey
strUIDList = Left(strUIDList, Len(strUIDList) - 1) '<<< error
Solution:
'get the string of UIDs updated
If oDict.Count > 0 Then
For Each vKey In oDict.Keys
strUIDList = strUIDList & vKey & ","
Next vKey
strUIDList = Left(strUIDList, Len(strUIDList) - 1)
End If
Todo:
[x] assign this issue
[x] label the issue for enhancement or bug
[x] label the issue with codemodule (so fixes can be aggregated and hotfixed together)
[x] checkout appropriate branch and create topic branch
[x] design, code and test
[x] update codemodule x.y.z
[x] update CurrentVersions.xml manually
[x] commit changes prefix comment with Issue #XXX -
[x] merge topic into appropriate branch(es) and push
Problem:
If there are no updates made, the length of string
strUIDList
is zero, the following code fails:Solution:
Todo:
topic
branchIssue #XXX -
topic
into appropriate branch(es) and push