You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2012/05/21 22:56:41 UTC

[jira] [Created] (AVRO-1098) C# SchemaNormalizationTests doesn't compile on linux

Doug Cutting created AVRO-1098:
----------------------------------

             Summary: C# SchemaNormalizationTests doesn't compile on linux
                 Key: AVRO-1098
                 URL: https://issues.apache.org/jira/browse/AVRO-1098
             Project: Avro
          Issue Type: Bug
          Components: csharp
            Reporter: Doug Cutting
            Assignee: Doug Cutting
             Fix For: 1.7.0


Compilation of the new SchemaNormalizationTests.cs fails for me with errors like:

	Schema/SchemaNormalizationTests.cs(55,17): error CS0029: Cannot implicitly convert type `System.Collections.Generic.List<object[]>' to `System.Collections.Generic.List<object>'


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1098) C# SchemaNormalizationTests doesn't compile on linux

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-1098:
-------------------------------

    Status: Patch Available  (was: Open)
    
> C# SchemaNormalizationTests doesn't compile on linux
> ----------------------------------------------------
>
>                 Key: AVRO-1098
>                 URL: https://issues.apache.org/jira/browse/AVRO-1098
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1098.patch
>
>
> Compilation of the new SchemaNormalizationTests.cs fails for me with errors like:
> 	Schema/SchemaNormalizationTests.cs(55,17): error CS0029: Cannot implicitly convert type `System.Collections.Generic.List<object[]>' to `System.Collections.Generic.List<object>'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1098) C# SchemaNormalizationTests doesn't compile on linux

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-1098:
-------------------------------

    Attachment: AVRO-1098.patch

This gets things to work for me.  But I'm not a C# programmer and have no idea whether this is actually correct.
                
> C# SchemaNormalizationTests doesn't compile on linux
> ----------------------------------------------------
>
>                 Key: AVRO-1098
>                 URL: https://issues.apache.org/jira/browse/AVRO-1098
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1098.patch
>
>
> Compilation of the new SchemaNormalizationTests.cs fails for me with errors like:
> 	Schema/SchemaNormalizationTests.cs(55,17): error CS0029: Cannot implicitly convert type `System.Collections.Generic.List<object[]>' to `System.Collections.Generic.List<object>'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1098) C# SchemaNormalizationTests doesn't compile on linux

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-1098:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)
    
> C# SchemaNormalizationTests doesn't compile on linux
> ----------------------------------------------------
>
>                 Key: AVRO-1098
>                 URL: https://issues.apache.org/jira/browse/AVRO-1098
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1098-readme.patch, AVRO-1098.patch
>
>
> Compilation of the new SchemaNormalizationTests.cs fails for me with errors like:
> 	Schema/SchemaNormalizationTests.cs(55,17): error CS0029: Cannot implicitly convert type `System.Collections.Generic.List<object[]>' to `System.Collections.Generic.List<object>'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-1098) C# SchemaNormalizationTests doesn't compile on linux

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281110#comment-13281110 ] 

Thiruvalluvan M. G. commented on AVRO-1098:
-------------------------------------------

+1

I think you fix is correct. I tested the previous code on Ubuntu 12.04 (which has Mono 2.10) and it worked. I think yours is an older version of mono.

I tested your change in Windows and it works. I don't have my Ubuntu 12.04 handy to try.
                
> C# SchemaNormalizationTests doesn't compile on linux
> ----------------------------------------------------
>
>                 Key: AVRO-1098
>                 URL: https://issues.apache.org/jira/browse/AVRO-1098
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1098.patch
>
>
> Compilation of the new SchemaNormalizationTests.cs fails for me with errors like:
> 	Schema/SchemaNormalizationTests.cs(55,17): error CS0029: Cannot implicitly convert type `System.Collections.Generic.List<object[]>' to `System.Collections.Generic.List<object>'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1098) C# SchemaNormalizationTests doesn't compile on linux

Posted by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiruvalluvan M. G. updated AVRO-1098:
--------------------------------------

    Attachment: AVRO-1098-readme.patch

The change works in Ubuntu 12.04 as well. But there is a slight difference in the command line build procedure.

The attached patch changes the README file accordingly.
                
> C# SchemaNormalizationTests doesn't compile on linux
> ----------------------------------------------------
>
>                 Key: AVRO-1098
>                 URL: https://issues.apache.org/jira/browse/AVRO-1098
>             Project: Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1098-readme.patch, AVRO-1098.patch
>
>
> Compilation of the new SchemaNormalizationTests.cs fails for me with errors like:
> 	Schema/SchemaNormalizationTests.cs(55,17): error CS0029: Cannot implicitly convert type `System.Collections.Generic.List<object[]>' to `System.Collections.Generic.List<object>'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira