[TYPO3-german] WEC Map und NN Address

Stefan Wobbe stefan.wobbe at versanet.de
Thu Oct 16 19:34:16 CEST 2014


Quote: Jan Bartels wrote on Thu, 16 October 2014 19:23
----------------------------------------------------
> Am 16.10.2014 um 14:15 schrieb Stefan Wobbe:
> > Dies führt aber zu folgender Fehlerausgabe im Typo3 Debug Modus:
> > Column 'pid' in where clause is ambiguous
> >
> > Die WHERE Abfrage in der Fehlerausgabe sieht wie folgt aus:
> > WHERE tx_nnaddress_person_group_mm.uid_foreign = 1 AND pid IN (14) AND
> > tx_nnaddress_domain_model_address.deleted=0...
> >
> > Ich gehe davon aus das das pid IN (14) von WEC Map hinzugefügt wird. Da
> > es ja sowohl in tx_nnaddress_domain_model_address als auch in
> > tx_nnaddress_domain_model_person die Spalte pid gibt weiß MySql hier
> > nicht welche er verwenden soll.
> Dann lass doch einfach die pid-Angabe im TS weg.

Ich habe gar keine pid Angabe im TS das gibt nur der Debug Modus von Typo3 aus, aber in der class.tx_wecmap_pi3.php ist folgendes zu finden:

if(!empty($pid)) {
			$pidList = $this->pi_getPidList($pid, $recursive);
			$pidWhere = 'pid IN (' . $GLOBALS['TYPO3_DB']->cleanIntList($pidList) . ')';
		} else {
			$pidWhere = '1=1';
		}

> 
> Gruß,
> 
> Jan
----------------------------------------------------




More information about the TYPO3-german mailing list