DIRACGrid/DIRAC — pull request #648 by KrzysztofCiba (2012-04-05 15:35:58+00:00)
Title: RegistartionTask: TypeError when setting SubRequest.Error

* fixes exception in RegistrationTask:
```
2012-04-05 15:24:48 UTC DataManagement/RegistrationAgent EXCEPT: ===============
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: Exception in process of pool
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: == EXCEPTION ==
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: :sequence item 0: expected string, dict found
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: File "/opt/dirac/pro/DIRAC/Core/Utilities/ProcessPool.py", line 390, in process
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: self.__taskResult = taskObj()
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT:
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: File "/opt/dirac/pro/DIRAC/DataManagementSystem/private/RequestTask.py", line 389, in __call__
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: ret = self.handleRequest()
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT:
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: File "/opt/dirac/pro/DIRAC/DataManagementSystem/private/RequestTask.py", line 458, in handleRequest
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: subRequestFiles )
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT:
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: File "/opt/dirac/pro/DIRAC/DataManagementSystem/private/RegistrationTask.py", line 128, in registerFile
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: requestObj.setSubRequestAttributeValue( index, "register", "Error", ";".join( errors )[:255] )
2012-04-05 15:24:49 UTC DataManagement/RegistrationAgent EXCEPT: ===============
```

* small typo in TransferAgent.