Revision 43dd02a8 trunk/Pithos.Core/Agents/WorkflowAgent.cs

b/trunk/Pithos.Core/Agents/WorkflowAgent.cs
134 134
                            case FileStatus.Modified:
135 135
                                NetworkAgent.Post(new CloudUploadAction(accountInfo, info, fileState,
136 136
                                                                        accountInfo.BlockSize,
137
                                                                        accountInfo.BlockHash));
137
                                                                        accountInfo.BlockHash,state));
138 138
                                break;
139 139
                            case FileStatus.Deleted:
140 140
                                DeleteChildObjects(state, fileState);
141
                                NetworkAgent.Post(new CloudDeleteAction(accountInfo, info, fileState));
141
                                NetworkAgent.Post(new CloudDeleteAction(accountInfo, info, fileState,state));
142 142
                                break;
143 143
                            case FileStatus.Renamed:
144 144
                                if (state.OldPath == null)
......
156 156
                                                             : new FileInfo(state.Path);
157 157
                                NetworkAgent.Post(new CloudMoveAction(accountInfo, CloudActionType.RenameCloud,
158 158
                                                                      oldInfo,
159
                                                                      newInfo));                                
159
                                                                      newInfo,state));                                
160 160
                                //TODO: Do I have to move children as well or will Pithos handle this?
161 161
                               //Need to find all children of the OLD filepath
162 162
                                //MoveChildObjects(state);
......
185 185
                    var childInfo = child.IsFolder
186 186
                                        ? (FileSystemInfo) new DirectoryInfo(child.FilePath)
187 187
                                        : new FileInfo(child.FilePath);
188
                    NetworkAgent.Post(new CloudDeleteAction(state.AccountInfo, childInfo, child));
188
                    NetworkAgent.Post(new CloudDeleteAction(state.AccountInfo, childInfo, child,state));
189 189
                }
190 190
            }
191 191
        }

Also available in: Unified diff