Menu

#4747 Can't insert arbitary values when field has a relation

4.3.9
wont-fix
nobody
None
Normal
2015-04-12
2015-02-05
No

When a field has a relation, a dropdown is presented when inserting values. This might be handy, but sometimes you want to be able to insert an arbitary values.

Discussion

  • Marc Delisle

    Marc Delisle - 2015-02-07
    • Group: 3.3.7 --> 4.3.9
     
  • Marc Delisle

    Marc Delisle - 2015-02-07

    Are you talking about an internal relation, or a foreign key?

     
  • Olaf van der Spek

    A relation defined in pMA. Is that called an internal relation?

     
    • Marc Delisle

      Marc Delisle - 2015-02-07

      Did you define it via table Structure > Relation view? If so, this panel is divided in two parts - Internal relations and Foreign key constraints.

       
  • Olaf van der Spek

    I think I used the Internal relations part.

     
    • Marc Delisle

      Marc Delisle - 2015-02-07

      This behavior has been like this for years. There might be a valid reason to insert an arbitrary value (for example, you plan to insert the corresponding value in the related table later) but I'm afraid that permitting to insert an arbitrary value would defeat the idea of having created a relation in the first place.

       
  • Olaf van der Spek

    Defining a relation provides a lot more than just a constraint.

     
    • Marc Delisle

      Marc Delisle - 2015-04-12

      Yes, but the first idea of a relation is consistency between tables.

       
  • Marc Delisle

    Marc Delisle - 2015-04-12
    • status: open --> wont-fix
     
MongoDB Logo MongoDB