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
|
||||
});
|
||||
|
||||
id.unstorified(self)
|
||||
.and_then(|id| {
|
||||
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
||||
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue