There is a major bug that is causing the Order Edit (Products) and the Shipping Quotes not to display at all.

I tested on version 1.36 and 1.37 and the problem lies here. It is working fine on version 1.35.

If we put version 1.36 and 1.37, there is what the problem will say:

Loading product information... (If nothing happens, make sure you have Javascript enabled.)

If we switch back to version 1.35, the problem goes away.

Perhaps there is a problem with the javascript or code on the update. Is there a way to fix this issue on the updated files? This would an urgent matter for the updates.

David

Comments

thoughtcat’s picture

I'm getting exactly the same problem - I updated to 6.x-1.36 a couple of weeks ago and only noticed yesterday the problem editing invoices and the cart breaking. I disabled the Slideshow module altogether and those issues were fixed.

I was also having a problem with Wysiwyg, where the rich-text toolbar wouldn't display for any roles (see http://drupal.org/node/1200328) - now I've disabled Slideshow Creator it's come back.

In IE8 (before I disabled the module) I was getting this error on every page I went to (even though I only had slideshows appearing on two pages of the site):

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)
Timestamp: Tue, 5 Jul 2011 12:08:04 UTC

Message: 'ssc_settings' is undefined
Line: 12
Char: 3
Code: 0
URI: https://*****.com/sites/all/modules/slideshow_creator/slideshow_creator.js?m

If I put the latter URL in a browser it showed this:

/**
 * @author: Bruno Massa http://drupal.org/user/67164
 * @file slideshow_creator.js
 * The main Javacript for this module
 */
/*global Drupal, $ */

/**
 * Initialize the module's JS functions
 */
Drupal.behaviors.ssc = function(context) {
  for (var ss in ssc_settings) {
    if (ssc_settings.hasOwnProperty(ss)) {
      ssc_settings[ss].before = Drupal.ssc_before;
      $("#ssc-content-" + ss).cycle(ssc_settings[ss]);
    }
  }
};

Drupal.ssc_before = function() {
  var sscid = this.id.replace(/ssc-slide-/, "").replace(/-.*/, "");
  var slide = parseInt(this.id.replace(/ssc-slide-.*-/, ""), 10) + 1;
  $("#ssc-current-" + sscid).html(slide);
};

I will revert to the previous release for now but this is a serious bug!

rhouse’s picture

Assigned: dmendo11 » rhouse

Hmm, this is a big problem. The old way of doing it simply doesn't work for some sites. Drupal doesn't transmit the Drupal.settings correctly after the slideshow is loaded for the first time. Therefore I replaced it with localised javascript to put the same data into the page along with the html, which is cached correctly.

Actually I consider the fact that Drupal.settings isn't cached a bug in Drupal core, but we can't count on getting that fixed any time soon.

From your writeup I gather that you have a lot of other modules installed, and therefore the problem is some kind of interaction amongst them all. I don't really have much hope of tracking it down without help. Can you set up a simple test site with just wysiwyg and see if it messes that up without all the rest of it loaded? Or put in whatever bare minimum you have to to trigger the bug?

rhouse’s picture

Status: Needs work » Fixed
StatusFileSize
new819 bytes
new860 bytes

I have pushed a fix to the git repository for both D6 and D7, as the bug existed in both. You might like to check it out before I release yet another version. For simplicity, I attach patches for both D6 and D7. If they work for you, I'll release new versions.

dmendo11’s picture

Rhouse,

I am glad you got this working. For now, I will stay with the 1.35 version till the new release is made. I will have to check my wysiwyg format to see if that is working properly as well.

Glad to know I am not the only one with the problem. I first thought it was the jquery update as there is one thread on that here, but then i looked at another site which i didn't update and that was working correctly on 1.35. I guess that is how i figure that problem out.

Thank you for your quick response :)

rhouse’s picture

The problem I found does fit your description, so I'll assume I have found the cause of your problem. It's probably best if I release a new version immediately, as we don't want that error propagating too much.

dmendo11’s picture

Rhouse,

I did an update on this, but for some reason the new version doesn't update automatically after upgrading. I even updated the modules and still no go.

Was something missed that caused this? I am still on 6.x-1.35.

rhouse’s picture

I don't know what you mean by "doesn't update automatically". There are no DB updates done by this module. I presume you have cleared all caches?

rhouse’s picture

Title: Major Problem on Order Edit or Creating Order » Interfered with other modules' javascript

Set issue title to something meaningful.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.