7.1.X, 7.2.X, Master
1. Create a new blank site and enable local staging with default options (so Forms are not staged).
2. In staging site, create a new form under Content/Forms.
3. Create a widget page and place a Form portlet on it and point it to the form created in step 2.
4. Publish to Live (new publication in Publishing ==> Staging menu)
Result: It fails with a missing references error message pertaining to that portlet and that form.
Expected: There shouldn't be any missing reference problem in this case (they are in the same site) and the publication should succeed.