[ic] 5.5.1 to 5.6.1 Admin JS Broken
Mike Heins
mike at perusion.com
Thu Dec 11 20:13:40 UTC 2008
Quoting Sam Batschelet (sam at westbranchresort.com):
>
>
>
> On 12/11/08 1:52 PM, "Mike Heins" <mike at perusion.com> wrote:
>
> > Quoting Sam Batschelet (sam at westbranchresort.com):
> >> On 12/11/08 11:46 AM, "Stefan Hornburg (Racke)" <racke at linuxia.de> wrote:
> >>
> >>> Sam Batschelet wrote:
> >>>> I just did an upgrade from 5.5.1 to 5.6.1 and a custom JS script that I use
> >>>> for a shipping module seems to be broken. I have been looking through the
> >>>> change logs but don't see anything specific to JS anyone have anything that
> >>>> they have notice during upgrades to 5.6.1 regarding broken JS? I can post
> >>>> the cost in question but it is quite a large file.
> >>>>
> >>>
> >>> You can pastebin that file, also at least post the JS error you get.
> >>>
> >> Its not generating an error in interchange or apache the script just isn't
> >> working. Unless something else in the code is depreciated I don't get it
> >> because it seems to interpolate fine. The code isn't the cleanest I'm sure
> >> but it did work. The code generates small boxes with the ordered item sku
> >> in them that can be dragged and dropped into the larger boxes to create a
> >> packing list for each order.
> >
> > Is there an action map involved? That is the big gotcha breaking 5.6.1
> > installations everywhere....
>
> Much simpler than that Mike and I didn't even check it because it was so
> obvious but I had a call to an external js script in UI_JSLIB which was
> overwritten in the upgrade I will keep that in mind for the future is this
> the best place to do this?
Put it in interchange.cfg or some other place where it won't be overwritten.
Modifying files in place any where in lib/ or code/ is just asking for
trouble.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.328.4479 tollfree 800-949-1889 <mike at perusion.com>
Software axiom: Lack of speed kills.
More information about the interchange-users
mailing list