Store::create() Make outgoing storeid object unstorified
This commit is contained in:
parent
9f213ddc31
commit
41d7d1c213
1 changed files with 7 additions and 4 deletions
|
@ -344,10 +344,13 @@ impl Store {
|
||||||
se
|
se
|
||||||
});
|
});
|
||||||
|
|
||||||
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
id.unstorified(self)
|
||||||
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
|
.and_then(|id| {
|
||||||
.map_err_into(SEK::PostHookExecuteError)
|
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
||||||
.map(|_| fle)
|
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
|
||||||
|
.map_err_into(SEK::PostHookExecuteError)
|
||||||
|
.map(|_| fle)
|
||||||
|
})
|
||||||
.map_err_into(SEK::CreateCallError)
|
.map_err_into(SEK::CreateCallError)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue