Git Repository Public Repository

namibia

URLs

Copy to Clipboard

Diff Revisions 8d9ec5 ... vs ef31f3 ... for module/Auction/src/Auction/Service/Auction.php

Diff revisions: vs.
  @@ -21,6 +21,7 @@
21 21 \Stock\Entity\Stock $stock, $previousState, array $routingData = array()
22 22 )
23 23 {
24 + \Utility\Debug::errorLog('initNewItemFromStock' , $stock);
24 25 #-> Establish initial increment value.
25 26 $increments = $this->em
26 27 ->getRepository('\Auction\Entity\Increment')
  @@ -36,7 +37,7 @@
36 37 }
37 38 #-> Create auction entry.
38 39 if (isset($routingData['profileId']))
39 - {
40 + {\Utility\Debug::errorLog('reroute1' , "true");
40 41 $profile = $this->em->find('User\\Entity\\Profile', $routingData['profileId']);
41 42 $email = $profile->email;
42 43 $firstName = $profile->firstName;
  @@ -47,7 +48,7 @@
47 48 $profile = $profile->id;
48 49 }
49 50 else
50 - {
51 + {\Utility\Debug::errorLog('reroute1' , "false");
51 52 $authData = \Utility\Registry::getAuthData();
52 53 $email = $authData['email'];
53 54 $firstName = $authData['firstName'];
  @@ -79,7 +80,7 @@
79 80 $stock->highestBid = 0.00;
80 81 $stock->timesListed = $stats['numAuctions'];
81 82 $this->em->flush($stock);
82 -
83 + \Utility\Debug::errorLog('created stock' , "true");
83 84 #-> Send loaded notification.
84 85 #-> Attachments.
85 86 $pdf = new \Auction\Pdf\Complete();