Bug 21676 - Advanced editor - Rancor - complains on empty line at end
Summary: Advanced editor - Rancor - complains on empty line at end
Status: RESOLVED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-26 07:12 UTC by paxed
Modified: 2024-04-04 23:42 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.