Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1001 closed defect (invalid)

subscriptions.txt edited in webinterface won't save last line unless a newline is appended

Reported by: wasntme Owned by:
Priority: minor Milestone: 0.9.8
Component: apps/addressbook Version:
Keywords: subscriptions addressbook newline Cc:
Parent Tickets: Sensitive: no


I2P version:
Java version: Oracle Corporation 1.7.0_21 (OpenJDK Runtime Environment 1.7.0_21-b02)
Wrapper version: 3.5.19
Server version: 7.6.11.v20130520
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux amd64 3.2.0-4-amd64
Processor: Athlon 64 (unknown) (athlon64)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8
Charset: UTF-8

Hi there,
I noticed some odd behavior, one of my subscriptions was always disappearing a while after adding. With some help I found out that it was missing a newline at the end and thus not written to the disk.

It appears to be correct in but counter checking on the disk will show that the last entry (not terminated by a newline) is missing.
Trying to save again, this time with newline appended, it appears on the disk immediately.


Change History (2)

comment:1 Changed 8 years ago by wasntme

Resolution: invalid
Status: newclosed

comment:2 Changed 8 years ago by wasntme

Accidently submitted twice. Original report in #1000

Note: See TracTickets for help on using tickets.