Digital Asset Management Modul: Cannot open folder properties is folder contains files with >2GB

Description

If you are trying to open the folder properties of a folder containing files (with more than 2GB) an exception is thrown and opening the folder properties window does not open properly.

You can reproduce the issue with just two files in one folder and modifying the Size column in the dbo.Files table.

I've debugged the problem and saw an arithmetic overflow in DotNetNuke.Modules.DigitalAssets.Components.Controllers.DigitalAssetsController.GetFolderSizeField(IFolderInfo folder)

IMHO this is a show stopper since the user is not able to edit the folder permissions in the Digital Asset Management module.

In our productive environment we have folders containing about 200GB of data and the problem exists an all "parent folders" that exceeds a specific file size limit.

Thanks in advance,
Jan

QA Test Plan

None

Activity

Show:
Ben Zhong
September 23, 2013, 2:16 AM

Fix bug DNN-3691: change file size type to long.

Ash Prasad
September 24, 2013, 6:25 PM

Per PM's suggestion, this change must be reverted as it will break other modules due to binary incompatibility. Suggestion made in the issue description is a better approach.

Ben Zhong
September 24, 2013, 11:31 PM

Fix bug DNN-3691: apply fix from Jira.

Bing Wu
October 9, 2013, 6:49 PM

QA added 1 hr for testing

Mohit Kukreja
October 30, 2013, 8:55 PM

Verified fixed in 7.2.0.560

Complete

Assignee

Unassigned

Reporter

jan_jonas

Story Size

None

Severity

Major

Triage

Triaged

Reported in Build #

None

Fixed in Build

Dev Owner

None

Includes Code Fix

Yes

Documentation Required

No

Trouble Ticket

None

Requires More Info

None

QA Story Points

None

QA Owner

None

Injected

None

Automation Required

None

Code Review Owner

None

Story Points

2

Sprint

None

Fix versions

Priority

High
Configure