cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynaldo Porras (JIRA)" <>
Subject [jira] [Commented] (COCOON-2342) Apache license at the beginning cocoon's dojo widgets templates causes: dojo.widget.Parse: error:
Date Wed, 19 Feb 2014 16:06:22 GMT


Reynaldo Porras commented on COCOON-2342:

Thanks for your reply Francesco. I am on linux too, specifically fedora 19. It is odd that
you cannot reproduce the issue. Basically the steps I followed to reproduce the issue were:

1. Get a fresh checkout of cocoon branch 2.1:
 svn co

2. Build cocoon:

3.Run cocoon webapp:

4. Go to any of the links below


You'll see the widget are not rendered. On firebug console you'll see this error:

- For link  http://localhost:8888/samples/blocks/forms/do-multiValueDoubleList.flow:
... [lots of output]
GET http://localhost:8888/_cocoon/resources/forms/js/templates/MultiValueDoubleList.html
dojo.js (line 769)
dojo.widget.Parse: error:
TypeError: this.selectLeft is undefined
... [lots of output]

- For link http://localhost:8888/samples/blocks/forms/do-multivalueWithSuggestion.flow:

... [lots of output]
GET http://localhost:8888/_cocoon/resources/forms/js/templates/MultiValueEditorWithSuggestion.html

dojo.js (line 769)
dojo.widget.Parse: error:
TypeError: is undefined
... [lots of output]

After path is applied build cocoon (./ again and run cocoon webapp (./
Go to the links above and you should see the widgets rendered.

> Apache license at the beginning cocoon's dojo widgets templates causes: dojo.widget.Parse:
> -------------------------------------------------------------------------------------------------
>                 Key: COCOON-2342
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.12, 2.1.13
>            Reporter: Reynaldo Porras
>         Attachments: COCOON-2342.patch
> Get cocoon from and test
cocoon form examples, specifically "Cocoon multivalue editor with suggestions" or  "Cocoon
double-list multivalue widget ". You should see that the widgets are not being displayed and
in debug console of the browser should appear a message like this "dojo.widget.Parse: error:
> This issue is present in MultiValueDoubleList widget,  MultiValueEditorWithsuggestion,
MultiValueEditor and InfoPopup.
> Issue is caused by the apache license header added to the template files of those widgets.
> I found that moving the license header inside of the first html element of the widget
fixes the issue.
> Test on firefox 27.0 and google chrome 32.0.1700.107.

This message was sent by Atlassian JIRA

View raw message