Bug 21676

Summary: Advanced editor - Rancor - complains on empty line at end
Product: Koha Reporter: paxed <pasi.kallinen>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: ere.maijala, m.de.rooy, phil
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description paxed 2018-10-26 07:12:01 UTC
Minor usability irritation:

Rancor complains about "Invalid tag number" on a completely empty line.

You tend to automatically press enter at the end of a field, meaning you may have an empty line at the end of the record... and then Rancor complains when trying to save.

Should instead just silently discard the empty line at the end before saving.

Same complaint happens if there's an empty line in the middle, but I'm not sure if that should be silently discarded.
Comment 1 Phil Ringnalda 2024-04-04 23:42:54 UTC
Can't remember when this was fixed, but now blank lines are all stripped.