Project

General

Profile

Actions

bug #8621

open

Do not save empty sources

Added by Andreas Müller over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
New
Assignee:
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

In E+M it happened quite often that completely empty sources were created for what ever reason.
We should either delete them immediately when saving or give a warning that there is an empty source.

In general this might be needed for other objects as well.

Actions #1

Updated by Andreas Müller over 4 years ago

  • Subject changed from DO not save empty sources to Do not save empty sources

The question is how to implement. Maybe we simply take all OriginalSource Objects from the session cache and check if there is an empty one. Otherwise we have to traverse the object graph which might be hard to implement.

Actions #2

Updated by Katja Luther over 4 years ago

the same should be implemented for identifiers and others

Actions

Also available in: Atom PDF