Bug when plan image un-set.

10 years 11 months ago #104269 by mware
Bug when plan image un-set. was created by mware
We have some plans that at one point had a plan image. Later we set those plans to "Do not use an image". However in Internet Explorer (only) an empty image placeholder now shows where the image used to be.

I've checked the database table, and the integrations field value is as it should be "planimage_image=-1".

When the page is displayed in Firefox, the code is as it should be:
[code:1]<td class="fieldCell" id="cbfv_105"> </td>[/code:1]
In IE it's:
[code:1]<td class="fieldCell" id="cbfv_105"><span><img height="57" width="219" style="border-width:10pxpx;" src=" partners.proxim.com/images/stories/-1 " />[/code:1]

Plans that never had an image assigned do not exhibit this behavior. I have tried clearing both the site and browser cache.

(The site is not available over the Internet yet)

Please Log in to join the conversation.

10 years 11 months ago #104273 by beat
Replied by beat on topic Re:Bug when plan image un-set.
You might want to unpublish the corresponding CB field. :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

10 years 11 months ago #104314 by mware
Replied by mware on topic Re:Bug when plan image un-set.
Well, I've had to do that for now because of this issue, but that kills plan image for all plans. Some plans have an image and some don't. As it is, I can't use plan images at all because some plans will show the empty image place holder.

I'd go hack the source myself temporarily, but subs is protected, so I doubt I'd get far. ;-)

Please Log in to join the conversation.

10 years 11 months ago #104344 by krileon
Replied by krileon on topic Re:Bug when plan image un-set.
Set the database value to 0 and see if that fixes it. The off value should be 0 and not -1.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 11 months ago #104348 by mware
Replied by mware on topic Re:Bug when plan image un-set.
Yup, that takes care of it. It's odd, though, because the value is -1 for plans that have never had an image and it doesn't act the same way for them. Double-odd because it acts differently in IE than Firefox.

It would be good to know if that becomes a confirmed bug so that I can know if I'll perpetually need to remember to tweek the db record, or if that need will go away in an upgrade.

Thanks for the help!

Please Log in to join the conversation.

10 years 11 months ago #104391 by krileon
Replied by krileon on topic Re:Bug when plan image un-set.
Confirmed bug, appears that the None selection value is -1. I've changed it to Use Default Image, while the text maybe misleading slightly the value is NULL as it should be. This should resolve the issue.

This appears to be a CB bug as the image list generated is using a value of -1.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.442 seconds

Facebook Twitter LinkedIn