[TYPO3-irre] IRRE + dbal without pid :)
Nikolas Hagelstein
hagelstein at shr.cc
Wed May 2 18:59:21 CEST 2007
Hi,
I am currently integrating a 3rd party table which doesnt onws a PID
field.
I was able to prepend a pid by using dbal mapping but obviously it
doesnt work common with
IRRE (to be honest a very special situation but may be intressting
anyway).
"Create new record" results in an access denied error due to fact that
"parseStructureString()" recieves :
"data[][tx_myext_cost_centres][8][fe_groups][tx_myext_cost_centres_fe_gr
oups]"
(not the missing PID within the first brackets.)
This obviously screws up the whole thing since e.g.
$this->inlineFirstPid becomes something like:
"][tx_myext_cost_centres" etc.
I do not expect any help since as i mentioned above this is a very
special "environment" i just wondered if there is a way to "preset" the
PID instead of inheritating it from the parent record. Furhter more i
am conviced that the current pid should be avaible "somewhere" else
within the "environment" so it is probably worth thinking about
something like a fallback mechanismn (e.g. withing
getSingleField_typeInline). (Which should actually already exist for
inline records of "new parent records").
If all else fails i could set a "fake PID" via
"processDatamap_preProcessFieldArray" but i thought it would a good
idea to ask you guys first :)
Cheers,
Nikolas
More information about the TYPO3-project-irre
mailing list