Skip to content

Resolve VSN-2122 "Feature/migrate to UUID-based lots and enhance entity creation workflow"

Oussama Toumi a demandé de fusionner feature/VSN-2122 vers develop

Contract improvements:

  • Migrate lotsId (number[]) to lotsUuids (string[]) in forms and validation
  • Fix departmentUuid not updating when client changes
  • Add contract error codes (101, 104) to global error handler
  • Handle nested backend error format {"code":"001","message":"104"}
  • Remove redundant getContractErrorMessage in favor of global handler
  • Store now throws errors to prevent false success messages

Entity creation workflow enhancements:

  • Add initialTab, defaultSectorId, defaultAgencyId props for form pre-population
  • Auto-navigate to agency tab after sector creation with pre-selected sector
  • Auto-navigate to department tab after agency creation with pre-selected agency
  • Return created entities in onClose callback for parent component integration

Closes VSN-2122

Rapports de requête de fusion