AEM LTS: DAM Touch UI List View shows incorrect asset size (1 B) after ACS Content Sync
This article explains why DAM Touch UI List View displays an incorrect asset size of 1 B (1 byte) after content synchronization and how to resolve it.
Description description
Environment
Adobe Experience Manager (AEM) LTS (including 6.5)
Issue/Symptoms
- In DAM Touch UI List View, certain assets display a file size of 1 B instead of the expected value.
- The same assets show the correct file size in Classic UI.
- This occurs after synchronizing content from one AEM instance to another using ACS Content Sync.
- The
dam:sizeproperty on affected assets is set to1on the target system, while the source system shows the correct value (For example:184628). - When the asset package is installed directly (bypassing ACS Content Sync), the issue doesn’t occur.
Example metadata difference:
Source system: dam:size = {Long}184628
Target system: dam:size = {Long}1
- No error messages are shown in the UI.
- The issue is reproducible by synchronizing assets using ACS Content Sync and viewing them in Touch UI List View.
Cause
ACS Content Sync overwrites the dam:size property with an incorrect value (1), causing Touch UI List View to display 1 B. Classic UI calculates size directly from the asset binary, so it’s not affected.
Resolution resolution
Follow the steps below to resolve the issue:
-
Update ACS Content Sync configuration:
- Ensure that your ACS Content Sync process doesn’t write or default the
jcr:content/metadata/dam:sizeproperty on the target system.
- Ensure that your ACS Content Sync process doesn’t write or default the
-
Identify affected assets:
- In AEM LTS, locate assets where
dam:size = 1under the relevant asset paths.
- In AEM LTS, locate assets where
-
Recompute asset size metadata:
- Run the DAM Update Asset or Add Asset Size workflow on the affected assets. This will recalculate
dam:sizefrom the binary data.
- Run the DAM Update Asset or Add Asset Size workflow on the affected assets. This will recalculate
-
Verify the fix:
- Check the same assets in Touch UI List View; the file size should now display correctly and match the value shown in Classic UI.
-
For future migrations:
- Treat
dam:sizeas a system-maintained field and avoid modifying it in custom tools or workflows. - Raise a bug with the ACS Commons community if the issue persists.
- Treat
recommendation-more-help
experience-cloud-kcs-help-kbarticles