note screwing up events log

Forum for general requests for support for players. Both staff members and veteran players can help new players with problems they encounter. No chatting in this forum, please.

Moderators: Public Relations Department, Players Department, Programming Department

User avatar
Marian
Posts: 3190
Joined: Thu Dec 15, 2005 12:16 am

note screwing up events log

Postby Marian » Sun Sep 13, 2015 7:26 am

Now this is a weird one.

Had a character pick up an old note with a red title. Something about this note, effects the formatting on the event log and makes me lose the blank likes for everything that came before it.

Click Show All and the events are all scrunched up like:
4823-6.18: You say: blah
4823-6.18: You say: blah blah
4823-6.18: You say: blah blah blah


instead of the more readable:

4823-6.18: You say: blah

4823-6.18: You say: blah blah

4823-6.18: You say: blah blah blah


I've dropped the offending note and now it's changed so that all the correctly spaced out, normal events are squashed down too.

I know it'll all disappear off the list, given time, but it's just so weird I mainly wanted to see if anyone could figure out what caused it.
User avatar
Marian
Posts: 3190
Joined: Thu Dec 15, 2005 12:16 am

Re: note screwing up events log

Postby Marian » Tue Sep 15, 2015 1:02 am

So no idea? I'm assuming it had something to do with the code in the note title, but I don't understand how a color change could effect the event page.

I'll try and take a screenshot later if I can figure out a way to censor the text while still keeping it visible.
User avatar
SekoETC
Posts: 15523
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: note screwing up events log

Postby SekoETC » Tue Sep 15, 2015 8:32 am

In the past there have been note titles that color all the events blue so something that messes up the formatting doesn't sound surprising. You should look at the source code. In cases like this it's usually a missing closing tag.
Not-so-sad panda
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Re: note screwing up events log

Postby *Wiro » Tue Sep 15, 2015 9:04 am

Iirc this happens for all note titles with functional html in them. I'll test a bit later.
Read about my characters by following this link.
User avatar
Marian
Posts: 3190
Joined: Thu Dec 15, 2005 12:16 am

Re: note screwing up events log

Postby Marian » Tue Sep 15, 2015 7:42 pm

It's not possible to change note titles anymore, right?

Surprised they can effect the event page so easily. If it could be done just by accident, seems like someone who knew what they were doing could really jack things up.
User avatar
Snickie
RD/HR Member/Translator-English (LD)
Posts: 4946
Joined: Tue Jul 06, 2010 5:28 pm
Location: FL

Re: note screwing up events log

Postby Snickie » Tue Sep 15, 2015 9:22 pm

I think that's why HTML tags were disabled in note titles. :)
It happened before I joined, I think.
User avatar
Auryn
Posts: 298
Joined: Fri Jul 08, 2011 1:10 am

Re: note screwing up events log

Postby Auryn » Wed Sep 16, 2015 4:11 am

Shouldn't this issue be added to the "known bugs" stickied thread?
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: note screwing up events log

Postby Greek » Fri Sep 18, 2015 1:13 pm

I've fixed some of the notes, but there are too many to do it manually.
The correct way will be to strip HTML in note names in events and that's probably what I'll do.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’

Return to “General Support”

Who is online

Users browsing this forum: No registered users and 1 guest