Doctrine 1
  1. Doctrine 1
  2. DC-1023

i am executing doctrine type query i am geting error please gave me reply my query i am typed in descrition field

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      $query = new Doctrine_Query();
      $query->select('e.entity_name,e.entity_id,s.id,s.parent_id,e.ffc_entity_id,c.country_id,c.country_name')
      //$query->select('e.entity_name,e.entity_id,s.id,s.parent_id,e.ffc_entity_id,ea.Country')
      ->from('Entities e')
      ->leftJoin('e.EntityAddresses ea ON ea.entity_id = e.entity_id AND ea.address_type ="M"')
      ->leftJoin('ea.Country c ON ea.country = c.country_id')
      ->leftJoin('e.ActiveFactories s')
      ->where('e.status=1');
      if(!empty($alpha))
      {
      $query->andWhere("e.entity_name like '".$alpha."%'");
      }
      $query->andWhere("s.company_id=".$parentId)
      ->andWhere("e.entity_type=2")
      ->andWhere('s.status=1')
      ->groupBy('e.entity_id');

        Activity

        cherukuri created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Project Doctrine 2 - ORM [ 10032 ] Doctrine 1 [ 10031 ]
        Key DDC-1291 DC-1023
        Security All [ 10000 ]

        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=DC-1023, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            cherukuri
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: