Some BLOGs not displaying Fry sizes

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
bekateen
Posts: 8955
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:39)
My aquaria list: 36 (i:13)
My BLogs: 44 (i:149, p:2653)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Some BLOGs not displaying Fry sizes

Post by bekateen »

Hi Jools,

I'm noticing that some BLOG entries show fry sizes at various ages and others don't display them. For example, if you check my BLOGS for and , you'll see fry sizes listed in the Dekeyseria BLOG but not in the Rineloricaria BLOG, even though I've entered fry sizes in both.

Cheers, Eric
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
bekateen
Posts: 8955
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:39)
My aquaria list: 36 (i:13)
My BLogs: 44 (i:149, p:2653)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Some BLOGs not displaying Fry sizes

Post by bekateen »

Follow up: Right now I do not have any data for Rineloricaria fry size at 1 week old (so the entry field contains the default "0" mm), and when I view the complete BLOG, I see no fry sizes listed. But if I change the size at 1 week from "0" mm to a random number greater than zero (I used "1" mm), then save and view the BLOG, THEN all of the size entries appear. If I delete the "1" mm entry at 1 week of age and replace it with "0" mm, then all of the fry sizes disappear again when the BLOG is viewed.

Conversely, I do have size at 1 week listed for the Dekeyseria BLOG, and all the fry sizes display. If I change the value at 1 week from its current number ("10" mm) to the default "0" mm, then all the other fry sizes disappear when this BLOG is viewed.

I don't recall ever noticing that behavior on BLOGS in years past, but maybe it's always been there?

Cheers, Eric
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 15978
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Some BLOGs not displaying Fry sizes

Post by Jools »

This makes sense given the code I am looking at. What it did was check (3 times, incorrectly) if the 7 days size field was empty or not, if not then the 7, 14 and 21 information was displayed.

I have changed this to be what the code should have done which is check if any of the 7,14 or 21-day size data has a non zero value and if so then display the text.

Could you try the process above and confirm the behaviour is changed to be as you would expect?

Cheers,

Jools
User avatar
bekateen
Posts: 8955
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:39)
My aquaria list: 36 (i:13)
My BLogs: 44 (i:149, p:2653)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Some BLOGs not displaying Fry sizes

Post by bekateen »

For Dekeyseria picta: with 7 days set to 10 mm and then to 0 mm. Seems to work correctly now.

Thanks!
Eric
Attachments
Screenshot_20200405-005438_Chrome.jpg
Screenshot_20200405-005515_Chrome.jpg
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 15978
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Some BLOGs not displaying Fry sizes

Post by Jools »

I could improve that and put "not recorded" in for the zero entry - let me have a look at it....



Jools
User avatar
bekateen
Posts: 8955
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:39)
My aquaria list: 36 (i:13)
My BLogs: 44 (i:149, p:2653)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Some BLOGs not displaying Fry sizes

Post by bekateen »

Or "N/A" (not available) for brevity
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 15978
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Some BLOGs not displaying Fry sizes

Post by Jools »

Fixed it up, it simply doesn't display a particular size if there is no data for it.

Jools
Post Reply

Return to “All Resolved Issues”