Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Projects > The Bug Tracker > Bug

Pets with Blank/Empty Names Issue Tools
issueid=49 01-13-2015 05:31 PM
Premium Member
Pets with Blank/Empty Names
Pets with no names cannot be managed.

My page to manage pets had its title set to just a variable containing the pet's name. But because the pet's name was blank, a white screen of death was thrown because titles must not be empty strings.

To remedy the problem I just added   to the end of the title (in myadoptsview.php, inside the manage() function), but, having pets with empty names could pose problems elsewhere in the site, as well.

I suggest all pets with a name of "" be renamed "Unnamed" or, alternatively, to it's species name. This should be done behind the scenes with the rename screen, of course.
Issue Details
Project The Bug Tracker
Category Unknown
Status Fixed
Priority 6
Affected Version Mys v1.3.4
Fixed Version Mys v1.4.0
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

01-13-2015 11:09 PM
Premium Member
 
A good idea could be to implant a check, to see if the user has entered a name for the pet. If you to force them to name the pet, show an error when it's left empty.

Or, you could just make the default value for the pet name "Unnamed"

I would have thought that it would force users to choose names anyhow.

I personally prefer the second option, and I will probably implant this myself. (I will share it when I do it) Thanks for bringing this to attention @.@
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -5. The time now is 08:28 PM.

Currently Active Users: 250 (0 members and 250 guests)
Threads: 3,942, Posts: 31,405, Members: 15,530
Welcome to our newest members, ancrsbys01.
BER





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636