title: Jhipster entity creation is giving error "Cannot read property 'toLowerCase' of undefined"
body: <p>I want to create multiple entities, and use 1st entity as a dropdown in 2nd</p>
  
  <p>So created first entity with name: </p>
  
  <p><a href="https://i.stack.imgur.com/QGQ4i.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QGQ4i.png" alt="enter image description here"></a></p>
  
  <p>Then I gave it relationship with Jhipster Already created entity User:
  <a href="https://i.stack.imgur.com/rHn6L.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rHn6L.png" alt="enter image description here"></a></p>
  
  <p>Finally:</p>
  
  <p><a href="https://i.stack.imgur.com/48ehR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/48ehR.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/nkUZk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nkUZk.png" alt="enter image description here"></a></p>
  
  <p>Now that my entity is created, I am generating second entity and wants to use first entity, as well as user entity to use as dropdown in second entity. </p>
  
  <p>Creating second entity:</p>
  
  <p><a href="https://i.stack.imgur.com/ym2mJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ym2mJ.png" alt="enter image description here"></a></p>
  
  <p>Giving relationship with User entity, just like I gave to First Entity:</p>
  
  <p><a href="https://i.stack.imgur.com/KoQme.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KoQme.png" alt="enter image description here"></a></p>
  
  <p>Giving relationship with FirstEntity:</p>
  
  <p><a href="https://i.stack.imgur.com/himnA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/himnA.png" alt="enter image description here"></a></p>
  
  <p>Failure message:</p>
  
  <p><a href="https://i.stack.imgur.com/61jyq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/61jyq.png" alt="enter image description here"></a></p>