Skip to content

Conversation

@sauravraw
Copy link
Contributor

No description provided.

@sauravraw sauravraw requested a review from a team as a code owner October 31, 2025 10:43
@sauravraw sauravraw requested review from sayalijoshi27 and umeshmore45 and removed request for a team and umeshmore45 October 31, 2025 11:17
@umeshmore45 umeshmore45 requested a review from Copilot October 31, 2025 12:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the migration system to handle nested Sitecore ZIP files and upgrades the @contentstack/json-rte-serializer package from v2 to v3.0.4 across multiple packages.

Key changes:

  • Added support for detecting and extracting nested ZIP files in Sitecore migrations
  • Enhanced locale extraction with better performance logging and directory filtering
  • Fixed UID generation logic to handle restricted keywords and numeric prefixes
  • Improved dropdown field handling by conditionally setting the advanced flag
  • Added date/isodate field parsing support for Sitecore format dates
  • Upgraded @contentstack/json-rte-serializer dependency to v3.0.4

Reviewed Changes

Copilot reviewed 22 out of 30 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
upload-api/src/validators/sitecore/index.ts Added nested ZIP file detection and validation logic
upload-api/src/helper/index.ts Enhanced saveZip to extract and process nested Sitecore archives
upload-api/migration-sitecore/libs/extractLocales.js Refactored to use local Set, added logging and performance tracking
upload-api/migration-sitecore/libs/convert.js Added XML validation checks before parsing
upload-api/migration-sitecore/libs/contenttypes.js Enhanced UID correction and dropdown field handling
ui/src/pages/Migration/index.tsx Added unmount cleanup and improved error handling
ui/src/components/LegacyCms/Actions/LoadFileFormat.tsx Simplified file format extraction logic
api/src/utils/entries-field-creator.utils.ts Added Sitecore date format parsing support
api/src/utils/content-type-creator.utils.ts Fixed dropdown advanced flag logic and UID cleaning
Files not reviewed (3)
  • upload-api/migration-contentful/package-lock.json: Language not supported
  • upload-api/migration-sitecore/package-lock.json: Language not supported
  • upload-api/migration-wordpress/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…son and package-lock.json to latest versions for improved functionality and security
@sayalijoshi27 sayalijoshi27 merged commit 860ee72 into dev Nov 3, 2025
7 checks passed
@sayalijoshi27 sayalijoshi27 deleted the bugfix/sitecore-zip-issue branch November 3, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants