Project

General

Profile

Actions

Bug #4817

closed

Open incomplete package doesn't work when user import a large data file

Added by Jing Tao almost 15 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
02/19/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4817

Description

Leslie Hook saved a data package when she imported a large size data file. Morpho failed to reopen it. After I used a small size data file to replace the original data file, i can open the same incomplete document which she sent to me.

When morpho loads a large size data file, it will show up a warning message that only part of data file will be shown, but no data will lose. I guess that the warning box messes up the process and cause some funny result.

Actions #1

Updated by Jing Tao over 14 years ago

I just copied the first 100 lines the data file into a new file. Now, the warning message for file size has gone. But still get the same error. So the reason is not the size of the file. I need to take a close look.

Actions #2

Updated by Jing Tao over 14 years ago

The problems is:

the number of data start line was not passed to next page on the method setPageData of TextImportEntity class. Since the number is not correct, morpho couldn't parse the data file and get the column number correctly.

After modifying the code, the bug was fixed.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4817

Actions

Also available in: Atom PDF