Problem/Motivation

We would like to validate the csv mapping used to update the asset references. This will identify if any wedam id or widen asset id is in invalid format e.g null or empty or non alphameric etc and pop up a message accordingly.

This will ensure any asset mapping is not lost due to invalid id and the sync works fine.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

malaynayak created an issue. See original summary.

malaynayak’s picture

Issue summary: View changes
dipayanpramanik5’s picture

Hi

Added a validation for checking valid Widen asset ID is referred to the old webdam asset IDs. If there's any invalid asset ID is mapped with old webdam asset ID, Then Update asset reference form will throw an error and CSV will not be imported. CSV file will be imported only if all the widen asset IDs are mapped with webdam IDS are in valid format.

For validation we checked, widen asset ID must be 36 characters long, contain letter, digits and hyphen only.

malaynayak’s picture

Issue summary: View changes

japerry’s picture

Status: Active » Fixed

This was fixed at some point

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.