Doctrine Common
  1. Doctrine Common
  2. DCOM-186

[GH-269] ProxyGenerator eval() proxy code when $autoGenerate is true

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of mnapoli:

      Url: https://github.com/doctrine/common/pull/269

      Message:

      ProxyGenerator eval() proxy code instead of writing it to disk when $autoGenerate is true.

      Related to DDC-2210(http://www.doctrine-project.org/jira/browse/DDC-2210)

      The idea of eval() the proxy code was suggested by @ocramius in response to the fact that in dev environment, concurrent file writes create errors.

      This would also simplify the setup for a dev environment: no more proxy directory to create and make writeable.

        Issue Links

          Activity

          Benjamin Eberlei created issue -
          Hide
          Doctrine Bot added a comment -

          A related Github Pull-Request [GH-269] was closed:
          https://github.com/doctrine/common/pull/269

          Show
          Doctrine Bot added a comment - A related Github Pull-Request [GH-269] was closed: https://github.com/doctrine/common/pull/269
          Hide
          Marco Pivetta added a comment -

          Will be handled in DDC-2597 instead

          Show
          Marco Pivetta added a comment - Will be handled in DDC-2597 instead
          Marco Pivetta made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
          Resolution Won't Fix [ 2 ]
          Marco Pivetta made changes -
          Link This issue is referenced by DDC-2210 [ DDC-2210 ]

          This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

          • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DCOM-186, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

            People

            • Assignee:
              Marco Pivetta
              Reporter:
              Benjamin Eberlei
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: