fix: FI0-10940 add 50-char max validation to Plane containerNumbers#128
Open
salfedev wants to merge 10 commits into
Open
fix: FI0-10940 add 50-char max validation to Plane containerNumbers#128salfedev wants to merge 10 commits into
salfedev wants to merge 10 commits into
Conversation
…laneSchema and catchCertificateTransportDetailsSchema
…ayload and transport controllers; update session store methods to support TTL
…handling, data deletion, and TTL functionality
…on store error handling in ExportPayloadController
…ontroller, TransportController, UploadsController, and UploadsRoutes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Please include a summary of the change:
Summary
Adds the missing
.max(50)constraint to thecontainerNumbersarray items in the Plane transport validation schemas. This restores the original 50-character limit for the Plane transport type container identification field that was lost when the field was migrated fromcontainerNumber(singular) tocontainerNumbers(array).planeSchema.ts— added.max(50)+string.maxmessage to array itemscatchCertificateTransportDetailsSchema.ts— added.max(50)+ccContainerIdentificationNumberMaxLengthmessage to Plane branch items (used by progress service)progress.service.jest.spec.ts— added test: plane with >50-char containerNumbers returns INCOMPLETEFixes - Jira Link # FI0-10940
Ticket
FI0-10940
Type of change
Please tick the relevant option for your PR request. Follow Semantic Version: v
MAJOR.MINOR.PATCHChecklist: