title: Oracle ADF: LOV not working on create
body: <p>I have a ViewObject (VO1) with a ListOfValue that points to a ViewObject (VO2), and fetches records from VO2. There is no ViewCriteria added on VO2.
  When testing in the BC tester, the LOV works fine. Both on editing a row in VO1, and when creating a row in VO1.</p>
  
  <p>Using the LOV in a jspx page, the LOV works fine when editing a row in VO1. But when I'm creating a new row in the jspx page, the LOV doesn't fetch any records. Just an empty list.
  I can't figure out what is wrong, or why it doesn't work. I have created several LOV all working like a charm, but this one is making me tear my hair out.</p>
  
  <p>Anyone else experienced a similar scenario where a LOV only works upon editing a row?
  Any ideas what can be wrong?</p>
  
  <p>The SOC on the jspx page:</p>
  
  <pre><code>&lt;af:selectOneChoice value="#{row.bindings.IdSosBasGrantType.inputValue}"
  label="#{row.bindings.IdSosBasGrantType.label}"
  required="#{bindings.SosBasCaseGrantPerCaseType.hints.IdSosBasGrantType.mandatory}"
  shortDesc="#{bindings.SosBasCaseGrantPerCaseType.hints.IdSosBasGrantType.tooltip}"
  id="soc12" autoSubmit="true"&gt;
  &lt;f:selectItems value="#{row.bindings.IdSosBasGrantType.items}" id="si11"/&gt;
  &lt;/af:selectOneChoice&gt;
  </code></pre>
  
  <p>The iterator binding:</p>
  
  <pre><code>&lt;tree IterBinding="SosBasCaseGrantPerCaseTypeIterator" id="SosBasCaseGrantPerCaseType"&gt;
  &lt;nodeDefinition DefName="fo.att.alm.sos.model.bas.views.SosBasCaseGrantVO" Name="SosBasCaseGrantPerCaseType0"&gt;
  &lt;AttrNames&gt;
  &lt;Item Value="Seq"/&gt;
  &lt;Item Value="IdSosBasGrantType"/&gt;
  &lt;Item Value="IdSosBasGrantVariant"/&gt;
  &lt;Item Value="RuleType"/&gt;
  &lt;Item Value="Status"/&gt;
  &lt;Item Value="IdAplCfgPartyType"/&gt;
  &lt;/AttrNames&gt;
  &lt;/nodeDefinition&gt;
  &lt;/tree&gt;
  </code></pre>
  
  <p>The ViewAttribute:</p>
  
  <pre><code>&lt;ViewAttribute
  Name="IdSosBasGrantType"
  LOVName="LOV_IdSosBasGrantType"
  IsUnique="true"
  IsNotNull="true"
  PrecisionRule="true"
  EntityAttrName="IdSosBasGrantType"
  EntityUsage="SosBasCaseGrantEO"
  AliasName="ID_SOS_BAS_GRANT_TYPE"&gt;
  &lt;Properties&gt;
  &lt;SchemaBasedProperties&gt;
  &lt;CONTROLTYPE
  Value="choice"/&gt;
  &lt;/SchemaBasedProperties&gt;
  &lt;/Properties&gt;
  &lt;/ViewAttribute&gt;
  </code></pre>
  
  <p>The ListBinding:</p>
  
  <pre><code>&lt;ListBinding
  Name="LOV_IdSosBasGrantType"
  ListVOName="SosBasGrantTypeUsgLOV"
  ListRangeSize="-1"
  NullValueFlag="none"
  NullValueId="LOV_IdSosBasGrantType_LOVUIHints_NullValueId"
  MRUCount="0"&gt;
  &lt;AttrArray Name="AttrNames"&gt;
  &lt;Item Value="IdSosBasGrantType"/&gt;
  &lt;/AttrArray&gt;
  &lt;AttrArray Name="ListAttrNames"&gt;
  &lt;Item Value="GrantTypeId"/&gt;
  &lt;/AttrArray&gt;
  &lt;AttrArray Name="ListDisplayAttrNames"&gt;
  &lt;Item Value="ObjectTypeDisplayName"/&gt;
  &lt;/AttrArray&gt;
  &lt;DisplayCriteria/&gt;
  &lt;/ListBinding&gt;
  </code></pre>
  
  <p>The ViewAccessor</p>
  
  <pre><code>&lt;ViewAccessor
  Name="SosBasGrantTypeUsgLOV"
  ViewObjectName="fo.att.alm.sos.model.bas.views.SosBasGrantTypeUsgRO"
  RowLevelBinds="true"/&gt;
  </code></pre>