Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate ImportContentletsProcessor to Use New Import Result Format While Maintaining Legacy Support #31339

Open
6 tasks
Tracked by #30882
jgambarios opened this issue Feb 11, 2025 · 0 comments

Comments

@jgambarios
Copy link
Contributor

jgambarios commented Feb 11, 2025

Parent Issue

#30882

Task

Implement structured import results in the ImportContentletsProcessor while maintaining backward compatibility with the legacy HashMap format for the existing admin UI.

Current Situation

  • The ImportUtil has been refactored to support a new structured format for import results
  • The legacy format (HashMap<String, List>) is still required by the admin UI
  • ImportContentletsProcessor currently uses the legacy format directly

Objective

Enhance ImportContentletsProcessor to:

  1. Use the new structured format internally for better type safety and maintainability
  2. Convert results to legacy format only when needed for backward compatibility
  3. Maintain existing functionality without breaking changes

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

Acceptance Criteria

  • ImportContentletsProcessor uses structured format
  • Legacy format support maintained for admin UI
  • No changes required in existing UI code
  • All existing functionality preserved
  • Unit tests pass and maintain coverage
  • No regression in error handling or reporting

Related issues

#31236
#31237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant