This commit is contained in:
@@ -20,7 +20,8 @@ REQUIREMENTS
|
||||
- Supports specifying what to import so can just pick clients or something.
|
||||
- Pick by name of folder I guess within zip since each object type is in it's own folder
|
||||
|
||||
|
||||
- ?? WAIT A BIT TO DETERMINE THIS: EVENTLOG
|
||||
- NOTE: items will be imported as if newly created so the administrator / manager account is the owner of all imported objects
|
||||
|
||||
- IMPORT
|
||||
- user selects all or collection of folders to import from zip
|
||||
|
||||
@@ -19,9 +19,7 @@ CODING WORK
|
||||
+++++++++++
|
||||
|
||||
Overall plan for now: anything standing in the way of making the initial client shell UI needs to be done first, everything else can wait
|
||||
- Remove CREATED from all *business* objects now that event log tracks it
|
||||
- V7 Import: check for efficiency changes after seeing how seeder needed to be optimized
|
||||
- Also need to see about event log working with it, should it attempt to keep the v7 created / modifed or start afresh
|
||||
|
||||
- Localized text
|
||||
- Search and search text indexing
|
||||
- Auto visible id number assigning code
|
||||
|
||||
@@ -449,7 +449,10 @@ namespace AyaNova.Biz
|
||||
|
||||
ct.Locale.Add(l);
|
||||
ct.SaveChanges();
|
||||
|
||||
|
||||
//Log now that we have the Id
|
||||
EventLogProcessor.AddEntry(new Event(1, l.Id, AyaType.Locale, AyaEvent.Created), ct);
|
||||
ct.SaveChanges();
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -254,6 +254,9 @@ namespace AyaNova.Biz
|
||||
{
|
||||
await ct.SaveChangesAsync();
|
||||
var mapItem = new ImportAyaNova7MapItem(oldId, AyaType.Tag, o.Id);
|
||||
//Log
|
||||
EventLogProcessor.AddEntry(new Event(userId, o.Id, AyaType.Tag, AyaEvent.Created), ct);
|
||||
await ct.SaveChangesAsync();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -269,6 +272,6 @@ namespace AyaNova.Biz
|
||||
|
||||
}//eoc
|
||||
|
||||
//
|
||||
//
|
||||
}//eons
|
||||
|
||||
|
||||
Reference in New Issue
Block a user