7826[BUGFIX] CONTENT can't select records from root page
Commit message
Review
-
Code review CR 0
-
Verified V 0
Files 1
Review log 23
-
Markus Klein commented on patch set 1 01/22/12, 20:20
This just an untested suggestion to get this issue going. -
Markus Klein uploaded patch set 2 01/22/12, 20:20
-
Tolleiv Nietsch commented on patch set 3 V 0 01/22/12, 20:20
by team member; Looks good to me, approved -
Markus Klein uploaded patch set 3 01/22/12, 20:20
-
Markus Klein commented on patch set 3 01/22/12, 20:20
Had to fix the commit msg. -
Markus Klein commented on patch set 3 01/22/12, 20:20
Fails; I would prefer that you didn't submit this Just had another look at the code. Actually this patch should NOT fix this issue, since checkPidArray() should block access to pid 0. I'm not sure why it obviously works with static_countries, but I've to investigate further. Stay tuned. -
Xavier Perseguers commented on patch set 3 01/22/12, 20:20
Looks good to me, but someone else must approve Just want to say the change regardless of the actual problem looks good as this "bug" as been introduced at numerous places in Core when adding stdWrap to all properties. -
Johannes Feustel commented on patch set 1 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve -
Johannes Feustel commented on patch set 2 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve Works for me with 4.6.3 -
Johannes Feustel commented on patch set 3 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve -
Myroslav Holyak commented on patch set 1 01/22/12, 20:20
Looks good to me, but someone else must approve Bu why so weak comparison? Whay not === ? -
Myroslav Holyak commented on patch set 2 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve -
Myroslav Holyak commented on patch set 3 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve -
Jacco van der Post commented on patch set 1 01/22/12, 20:20
Fails Sorry, doesn't work for me on 4.6.3, linenumber 7383 changed accordingly. Still can't make a typoscript select with pidInList = 0 grtz Jacco -
Jacco van der Post commented on patch set 3 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve I tested it again, this time with static_countries as a table and this worked! However a table from my own backendmodule still can only be read from outside pid 0. Is their some restriction which tables can be read with typoscript from pid 0? -
Andreas Bouche commented on patch set 1 01/22/12, 20:20
Looks good to me, but someone else must approve Looks good, but I would also encourage to use an identity comparison (===). -
Andreas Bouche commented on patch set 3 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve -
Soeren Kracker commented on patch set 3 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve should be sufficient. Afaik it shouldn't have any side effects. -
Mr. Jenkins commented on patch set 1 01/22/12, 20:20
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/2986/ : SUCCESS -
Mr. Jenkins commented on patch set 2 01/22/12, 20:20
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/2987/ : SUCCESS -
Mr. Jenkins commented on patch set 3 01/22/12, 20:20
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/2990/ : SUCCESS -
Alain commented on patch set 3 01/22/12, 20:20
Verified; Looks good to me, but someone else must approve Just some side notes: this patch is also available at https://review.typo3.org/#change,7839 Markus Klein wrote: Actually this patch should NOT fix this issue, since checkPidArray() should block access to pid 0. the if-construct with checkPidArray() in tslib_content::getWhere() will be skipped as the if-condition is not fulfilled when $conf['pidInList'] is 0 or empty. Only enableFields() will remain in where clause. SELECT cn_short_en FROM static_countries WHERE static_countries.deleted=0 Markus Klein wrote: I'm not sure why it obviously works with static_countries, but I've to investigate further. static_* tables are handled differently with pid_uid_flag flag. -
Markus Klein commented on patch set 3 01/22/12, 20:20
Abandoned Solved by: https://review.typo3.org/7839