[EXTDAM-373] CLONE - Edit asset breaks when there is a special character in the asset name Created: 05/Apr/23  Updated: 17/Apr/23  Resolved: 17/Apr/23

Status: Closed
Project: External DAMs
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.0

Type: Bug Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Lam Nguyen Bao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.25h
Original Estimate: Not Specified

Attachments: GIF File NewNameField.gif    
Issue Links:
Cloners
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: SaaS Migration - AuthX
Story Points: 5
Team: AuthorX
Work Started:
Approved:
Yes

 Description   

Steps to reproduce:

  1. Open the assets app
  2. Upload an asset with a special character e.g:`%`.
  3. Clear and reselect the asset.
  4. Edit the asset.

Expected results:

  The asset can be edited.

 

Actual results:
   The editing breaks as the asset location is not correctly encoded in the url.

Notes:
This cause url encode/decode exception -> url are not changed accordingly when we select item, therefore we decide to go with the simple solution that the fieldName type should be used to avoid having a special characters in name or use node name validator.


Generated at Mon Feb 12 01:54:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.