Tuesday, July 22, 2014

Entity Framework - Compiling transformation warnings

I started getting Compiling transformation warnings when updating my Entity Framework Model.edmx file with new columns in 2 of the tables I was working on.  I managed to find the error online and discovered that the warnings don't cause problems and that Microsoft knows of and has no plans of fixing them.  I thought this was very interesting.  It gives a little glimpse into how a major company prioritizes the bugs/issues that they work on fixing within a piece of software.

The following two warnings show up in my Model.tt when building a VB edmx: 

Compiling transformation: Variable 'errors' is passed by reference before it has been assigned a value. A null reference exception could result at runtime. (line 622) 

Compiling transformation: Variable 'lazyLoadingAttributeValue' is passed by reference before it has been assigned a value. A null reference exception could result at runtime. (line 676)

Closed Sep 25, 2013 at 5:08 PM by RoMiller
EF Team Triage: As we start to plan the releases that follow EF6 we are doing a large triage effort on our backlog of bugs, features and tasks. Our aim is to have our backlog be a realistic representation of what we (or our contributors) may add to EF in the future.

This reduces the number of issues we need to sift thru as we plan each release. For example, coming into the planning for the set of releases after EF6 we had 600+ items on the backlog. A large number of these items are very low priority and will realistically never be addressed.

As a result of this we are closing a number of items as “Won’t Fix”. These items fall into one of the following buckets:
  • Items that are either low priority or expensive to implement and we don’t believe provide enough benefit to outweigh the cost of implementing (given that time spent implementing them would detract from implementing other features).
  • Items created by a member of the EF Team that we have not seen customers asking for and we don’t believe would provide significant benefit to customers.
  • Bugs that only manifest in corner cases and have workarounds.
These decisions are not final, if you disagree with this resolution for an item feel free to let us know.

No comments:

Post a Comment