This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
|
||||
MISC ITEMS THAT CAME UP
|
||||
|
||||
todo: GetErrorBoxErrors is not translating due to async / sync mix.
|
||||
proposal is to make a seperate async method for general error box errors or translate earlier in the actual fetch api method call return when error found
|
||||
todo: every form all fields error collection is set to "servererrors" but really its' any kind of validation error local or server so not sure why ti's named that
|
||||
|
||||
|
||||
todo: *biz objects with foreign key constraints should call ValidateCanDelete
|
||||
and validatecandelete *MUST* check for those constraints and return a proper error object
|
||||
Note: this must happen independently for EACH reference so check each referencing table one by one and add an error for each to send back to user
|
||||
@@ -156,7 +161,20 @@ todo: server boot up message should show the port it's listening on if possible
|
||||
|
||||
|
||||
|
||||
CURRENTLY DOING: PartByWarehouseInventory part stock taking view and list
|
||||
CURRENTLY DOING: Cleanup with untranslated error string when attempting to delete a linked warehouse
|
||||
Have fixed it with some code at server, see partwarehouse ValidateCanDelete code.
|
||||
so now that's working, clean it up
|
||||
Remove translation await code from gzform as it's not going to work that way and assume all errors come with pre-translated or do not require a fetch
|
||||
all stock error number validation codes errors should nto need to fetch as be prefetched so no need for async for that particualr purpose
|
||||
At server add standard *biz function to Translate(key) to replace the long winded one in ValidateCanDelete that is available to *all* biz objects
|
||||
Then go into every validate save and validate delete and look for lt keys and replace with this pre-translate call to Translate(key)
|
||||
Finally the error display for a referential integrity error on delete is ugly, confusing and has too much shit going on
|
||||
clean it up to a one liner that clearly mixes in the object name with the error however that has to happen.
|
||||
just want to see a clean list of all the types of objects it's linked to
|
||||
|
||||
|
||||
|
||||
PartByWarehouseInventory part stock taking view and list
|
||||
todo: make the adjustments list item the partinventorytransactions list
|
||||
todo: make the partinventory just be the partinventory reconcilliation stock taking thing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user