Husbandry Notes - long text disappears

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
Martin S
Posts: 2100
Joined: 26 Mar 2003, 11:14
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:19, k:0)
My aquaria list: 11 (i:3)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

Husbandry Notes - long text disappears

Post by Martin S »

Have just been updating some of the husbandry notes for the fish I keep and when reviewing it in my species page, I noticed (even with a 1600x1200 resolution), that the text disappears behind the right hand side info, so the end of the text is lost. I guess even more is lost with the more usual 1024/768 resolution.
Can this text be set to wordwrap?
Thanks
Martin
User avatar
Martin S
Posts: 2100
Joined: 26 Mar 2003, 11:14
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:19, k:0)
My aquaria list: 11 (i:3)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

Re: Husbandry Notes - long text disappears

Post by Martin S »

Actually, looking again, I assume there is a text length limit as I can enter what I like but when saved and displayed it gets cut off. Text wraps ok on a smaller screen but it seems there is a limit. I guess that's fine, but also think maybe the limit could be mentioned?
Martin
User avatar
Martin S
Posts: 2100
Joined: 26 Mar 2003, 11:14
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:19, k:0)
My aquaria list: 11 (i:3)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

Re: Husbandry Notes - long text disappears

Post by Martin S »

I have re-written my text so that it is short enough to not be truncated.
Martin
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Editing existing My Cats SQL error

Post by MatsP »

When editing the entry for my Callichthys callichthys, I got an error saying:

Code: Select all

Data too long for column 'my_notes' at row 1 [1406]
- however, I didn't update "my notes", I was "unassigning" it from the tank that it no longer lives in (as it's been gone for some time to fish heaven).

--
Mats
User avatar
Jools
Expert
Posts: 16274
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 87 (i:13, k:1)
My aquaria list: 21 (i:13)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Husbandry Notes - long text disappears

Post by Jools »

There's a limit of 250 characters at present, but I could make it more or less limitless. What do you think, set a limit or make it super big?

Jools
User avatar
Martin S
Posts: 2100
Joined: 26 Mar 2003, 11:14
I've donated: $20.00!
My images: 9
My cats species list: 90 (i:19, k:0)
My aquaria list: 11 (i:3)
Spotted: 17
Location 1: Guildford, Surrey
Location 2: UK
Interests: Aquatics

Re: Husbandry Notes - long text disappears

Post by Martin S »

Jools wrote:There's a limit of 250 characters at present, but I could make it more or less limitless. What do you think, set a limit or make it super big?

Jools
Am happy for a limit, but maybe a bit bigger than 250...say 1,000?
Thanks
Martin
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Husbandry Notes - long text disappears

Post by MatsP »

Also, perhaps before "chopping it off", warn the user/give an option of "click back or accept chopped" sort of thing?

I suspect this is a variable sized field, so it takes no more database space if you make it 50, 1000 or 50000 long - just that if it's VERY huge it could cause bandwidth problems if somone happens to fall asleep pressing the 'a' key on the keyboard or some such...

--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Husbandry Notes - long text disappears

Post by MatsP »

Where are we at on this one?

Seems like relatively easy to fix...

Edit: also merged another seemingly related error report...

--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Husbandry Notes - long text disappears

Post by MatsP »

Just checked. It's an infinite size field, so should not cause a problem.

I'm calling this one closed. (I also tried a rather enormous field in there, and it worked just fine - obviously, if you try to upload the entire works of Shakespeare in one husbandry note, it may cause problems with the time it takes to upload it, but that' another matter we can't solve easily.

--
Mats
Post Reply

Return to “All Resolved Issues”