...
- Inventory Item Import Error: ERROR [main] o.h.i.ExceptionMapperStandardImpl HHH000346: Error during managed flush [Validation failed for classes [org.ssdt_ohio.usas.inventory.model.AssetClass] during persist time for groups [javax.validation.groups.Default,]List of constraint violations:[ConstraintViolationImpl{interpolatedMessage='Code must be max 4 characters long.', propertyPath=code, rootBeanClass=class org.ssdt_ohio.usas.inventory.model.AssetClass, messageTemplate='Code must be max 4 characters long.'}
InventoryItemImportImpl: error: Inventory Item Import Error - tag #, row #
- These type of errors could be due to a wrapping issue on the ITEMS_EXP.TXT extract file caused by a hidden tab/space issue. Please review the extract file in NOTEPAD++ to determine if each item is displayed on its on row starting at the left margin. If you see wrapping similar to this (screenshot snippet below), it's a very good indication there are hidden spaces/tabs in the data causing the formatting to wrap and resulting in the error message messages above. In the screenshot example, tags #001657, #001658 & #001659 are in the correct format. The row below it, however you no longer see tags numbers line up to the left after that (red area). The next tag #001660 should be listed at the left margin of row 1601. Instead, it's still on row 1600 due to a possible hidden/tab space issue. Please create a helpdesk ticket to SSDT attaching both the inventory import results file as well as the items extract file.
...