[Dojo-interest] Error in loading dojox.editor.plugins.PasteFromWord

Jared Jurkiewicz jared.jurkiewicz at gmail.com
Thu Aug 11 23:58:37 EDT 2011


Ah!  Your module must have been loading before the PFW plugin and
since the bundle require hadn't happened, it failed.

-- Jared

On Thu, Aug 11, 2011 at 7:36 PM, Matthew Tyson
<matthewcarltyson at gmail.com> wrote:
> I tracked down the problem.  We had a custom plugin that was using the
> PasteFromWord language bundle.  For some reason, this would fail in the XD
> build (but not when loaded normally):
> var strings = dojo.i18n.getLocalization("dojox.editor.plugins",
> "PasteFromWord");
> So I changed that (which is a mistake anyway) and it works fine.
> Thanks,
> Matt
>
> On Thu, Aug 11, 2011 at 11:28 AM, Matthew Tyson <matthewcarltyson at gmail.com>
> wrote:
>>
>> This is 1.6.1.
>> Thanks,
>> Matt
>>
>> On Thu, Aug 11, 2011 at 10:19 AM, Jared Jurkiewicz
>> <jared.jurkiewicz at gmail.com> wrote:
>>>
>>> Not offhand, unfortunately, the plugin has the requisite lines in it
>>> for the bundle require.  Sounds like a possible build tools issue?
>>> What dojo version?
>>>
>>> -- Jared Jurkiewicz
>>>
>>> On Thu, Aug 11, 2011 at 10:51 AM, Matthew Tyson
>>> <matthewcarltyson at gmail.com> wrote:
>>> > Interesting problem here.  I can use the PasteFromWord plugin fine if I
>>> > load
>>> > it normally.  However, when I bundle it into our XD build (in which
>>> > everything else works fine), I get the following error:
>>> > Error parsing in _ContentSetter#Setter_tab1313082977080_49 Error {
>>> > message="Bundle not found: PasteFromWord in dojox.editor.plugins ,
>>> > locale=en-us", stack="("dojox.editor.plugins","PasteFromWord")
>>> > Which looks like its looking for a language bundle that it can't find
>>> > somewhere (there is no associated network call).
>>> > Thoughts?
>>> > Matt
>>> > ________________________________________________________
>>> > Dojotoolkit: http://dojotoolkit.org
>>> > Reference Guide: http://dojotoolkit.org/reference-guide
>>> > API Documentation: http://dojotoolkit.org/api
>>> > Tutorials: http://dojotoolkit.org/documentation
>>> >
>>> > Dojo-interest at mail.dojotoolkit.org
>>> > http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>> >
>>> >
>>> ________________________________________________________
>>> Dojotoolkit: http://dojotoolkit.org
>>> Reference Guide: http://dojotoolkit.org/reference-guide
>>> API Documentation: http://dojotoolkit.org/api
>>> Tutorials: http://dojotoolkit.org/documentation
>>>
>>> Dojo-interest at mail.dojotoolkit.org
>>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>
>
> ________________________________________________________
> Dojotoolkit: http://dojotoolkit.org
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
> Tutorials: http://dojotoolkit.org/documentation
>
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>


More information about the Dojo-interest mailing list