Skip to content

Bynt-1328/1332 Preserving Arabic titles media import/Web Import Can't Import Content With Long Titles#67

Merged
tarekio merged 9 commits intomainfrom
bynt-1328-preserving-arabic-titles-media-import
Mar 22, 2025
Merged

Bynt-1328/1332 Preserving Arabic titles media import/Web Import Can't Import Content With Long Titles#67
tarekio merged 9 commits intomainfrom
bynt-1328-preserving-arabic-titles-media-import

Conversation

@cango91
Copy link
Contributor

@cango91 cango91 commented Jan 20, 2025

Jira Issue

  1. BYNT-1328
  2. BYNT-1332

Description

Changes:

  • Sheet Import: CSV upload endpoint now follows the same approach to unicode characters in uploaded filename as media upload endpoint.
  • Upload Endpoints: /admin/api/media/chunk and /import/api/csv/upload now include original_filename in their response.
  • Media Import: for mode==1 (Upload mode), use original_filename to derive Bulletin/Media titles. Truncate long titles (>255) and add original title to description if truncation happened.

Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • New strings prepared for translations

API Changes (if applicable)

  • Permissions checked
  • Endpoint tests added

Additional Notes

[Any other relevant information]

apodacaduron and others added 2 commits January 20, 2025 08:57
…tent. Introduce 'original_filename' field to upload endpoints' responses. Import tool: preserve original filename in bulletin's description if it was modified during the upload process
@cango91 cango91 requested a review from tarekio January 20, 2025 15:43
@cango91 cango91 self-assigned this Jan 20, 2025
@cango91 cango91 changed the title feat: Bynt-1328 Preserving Arabic titles media import Bynt-1328 Preserving Arabic titles media import Jan 20, 2025
@cango91 cango91 changed the title Bynt-1328 Preserving Arabic titles media import Bynt-1328/1332 Preserving Arabic titles media import/Web Import Can't Import Content With Long Titles Jan 21, 2025
@cango91
Copy link
Contributor Author

cango91 commented Jan 21, 2025

Merged changes from PR: 65 closing it.

@tarekio tarekio merged commit 0ddbf13 into main Mar 22, 2025
6 checks passed
@tarekio tarekio deleted the bynt-1328-preserving-arabic-titles-media-import branch March 22, 2025 22:44
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