You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Dan Dumont (JIRA)" <ji...@apache.org> on 2011/09/06 19:29:11 UTC
[jira] [Created] (SHINDIG-1614) vw is undefined in dynamic-width
feature
vw is undefined in dynamic-width feature
----------------------------------------
Key: SHINDIG-1614
URL: https://issues.apache.org/jira/browse/SHINDIG-1614
Project: Shindig
Issue Type: Bug
Components: Javascript
Reporter: Dan Dumont
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Commented] (SHINDIG-1614) vw is undefined in
dynamic-width feature
Posted by Paul Lindner <li...@inuus.com>.
Ugh. Patch is still in my git repo and not pushed yet. (Was distracted by
eol fixes)
On Sep 6, 2011 1:55 PM, "Henry Saputra (JIRA)" <ji...@apache.org> wrote:
>
>
> [
https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098347#comment-13098347]
>
> Henry Saputra commented on SHINDIG-1614:
> ----------------------------------------
>
> Looks like Paul missed this one. Committed revision 1165834.
>
> > vw is undefined in dynamic-width feature
> > ----------------------------------------
> >
> > Key: SHINDIG-1614
> > URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> > Project: Shindig
> > Issue Type: Bug
> > Components: Javascript
> > Reporter: Dan Dumont
> > Attachments: upstream.patch
> >
> >
>
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
On Sep 6, 2011 1:55 PM, "Henry Saputra (JIRA)" <ji...@apache.org> wrote:
>
> [
https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098347#comment-13098347]
>
> Henry Saputra commented on SHINDIG-1614:
> ----------------------------------------
>
> Looks like Paul missed this one. Committed revision 1165834.
>
>> vw is undefined in dynamic-width feature
>> ----------------------------------------
>>
>> Key: SHINDIG-1614
>> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
>> Project: Shindig
>> Issue Type: Bug
>> Components: Javascript
>> Reporter: Dan Dumont
>> Attachments: upstream.patch
>>
>>
>
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098188#comment-13098188 ]
jiraposter@reviews.apache.org commented on SHINDIG-1614:
--------------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1729/
-----------------------------------------------------------
Review request for shindig.
Summary
-------
Fixes use of undefined variable in dynamic width feature.
This error starts showing up when you use the feature and your gadget declares version 2.0 of the spec, which by default causes the doctype to be html5.
Without the declaration, documents would render in quirks mode, which would cause the width calculations to take a different code path.
This addresses bug SHINDIG-1614.
https://issues.apache.org/jira/browse/SHINDIG-1614
Diffs
-----
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js 1165734
Diff: https://reviews.apache.org/r/1729/diff
Testing
-------
Thanks,
Dan
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Henry Saputra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098347#comment-13098347 ]
Henry Saputra commented on SHINDIG-1614:
----------------------------------------
Looks like Paul missed this one. Committed revision 1165834.
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
> Attachments: upstream.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098282#comment-13098282 ]
jiraposter@reviews.apache.org commented on SHINDIG-1614:
--------------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1729/#review1771
-----------------------------------------------------------
Ship it!
LGTM
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
<https://reviews.apache.org/r/1729/#comment4050>
Optional: remove trailing space.
- Paul
On 2011-09-06 17:33:32, Dan Dumont wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/1729/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2011-09-06 17:33:32)
bq.
bq.
bq. Review request for shindig.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Fixes use of undefined variable in dynamic width feature.
bq.
bq. This error starts showing up when you use the feature and your gadget declares version 2.0 of the spec, which by default causes the doctype to be html5.
bq. Without the declaration, documents would render in quirks mode, which would cause the width calculations to take a different code path.
bq.
bq.
bq. This addresses bug SHINDIG-1614.
bq. https://issues.apache.org/jira/browse/SHINDIG-1614
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js 1165734
bq.
bq. Diff: https://reviews.apache.org/r/1729/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Dan
bq.
bq.
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Henry Saputra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098337#comment-13098337 ]
Henry Saputra commented on SHINDIG-1614:
----------------------------------------
Hi Dan, I think Paul missed the commit for this one.
Could you attach the patch to this Jira issue to ack your contribution? I could commit it if Paul has not done it,
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Dan Dumont (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098299#comment-13098299 ]
Dan Dumont commented on SHINDIG-1614:
-------------------------------------
Ugh... I didn't even realize that. Thank you for point that out.
We had a particularly hard time with some renamed and moved files/folder trees in our internal repo, the patch was not transferring well to shindig's repo when we did this commit.
I'll take a look at the feature files soon when I free up a bit to make sure what we had in the review matches what we delivered.
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Dan Dumont (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Dumont updated SHINDIG-1614:
--------------------------------
Attachment: upstream.patch
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
> Attachments: upstream.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Henry Saputra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098315#comment-13098315 ]
Henry Saputra commented on SHINDIG-1614:
----------------------------------------
Dan, please attach the final patch to this JIRA. Want to make sure all source of truth for patches come from JIRA.
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Dan Dumont (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098325#comment-13098325 ]
Dan Dumont commented on SHINDIG-1614:
-------------------------------------
Henry, I just looked at the commit from Paul. The commit message looks odd and my change is not in it. Maybe Paul closed this by mistake?
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner resolved SHINDIG-1614.
-----------------------------------
Resolution: Fixed
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Dan Dumont (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098343#comment-13098343 ]
Dan Dumont commented on SHINDIG-1614:
-------------------------------------
Yes sorry, patch added.
I just wanted to be sure I attached the correct one, because Paul hinted at some trailing whitespace.
It was there before my change, but I wasn't sure if Paul could resist removing it if he were doing the commit ;)
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
> Attachments: upstream.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHINDIG-1614) vw is undefined in dynamic-width
feature
Posted by "Henry Saputra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098290#comment-13098290 ]
Henry Saputra commented on SHINDIG-1614:
----------------------------------------
Looks like wrong commit from https://reviews.apache.org/r/982/
The undefined vw should have been fixed with its latest revision of the patch =(
Thanks Dan.
> vw is undefined in dynamic-width feature
> ----------------------------------------
>
> Key: SHINDIG-1614
> URL: https://issues.apache.org/jira/browse/SHINDIG-1614
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Dan Dumont
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira