Record center problems with document library forms with custom content types and redirection rules

The problem is as follows to make it happen:

  1. You are having a custom document library created
  2. You are using a feature to assign a custom content type
  3. The library where the feature is assigning the content type has a redirection rule

If the above are true then what happened in my case was that the document library suddenly had in the New and Edit form content types which where not assigned to the document library but used in the redirection rules for the record center.

The only solution I found was to temporarily disable(delete) the redirection rules and re-activate my feature, well the library was a mess so I had to re-create it again.