Project

General

Profile

Actions

Feature #20767

closed

wrong getData behaviour with field parameter

Added by Myroslav Holyak over 15 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2009-07-17
Due date:
% Done:

100%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
Remote Sprint

Description

Why we return only $this->data[$field] while GPVar and TSFE can have nested arrays and objects? I propose to correct that without any bad results.

(issue imported from #M11554)


Files

tslib_content_getDdata_patch.txt (504 Bytes) tslib_content_getDdata_patch.txt Administrator Admin, 2009-07-17 16:44
Actions #1

Updated by Oliver Hader over 15 years ago

Can you please give an example how you use it?
How do you get nested database fields?

Actions #2

Updated by Myroslav Holyak over 15 years ago

I said nothing about only database fields. I can create my local cObject, ->start it with custom data array (e.g. with subarrays in fields) and make ->cObjGetSingle. So I can access to nested subarrays with ->getGlobal.

Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #4

Updated by Myroslav Holyak over 11 years ago

Nope, still the same. Of course it is not actual for me now, but in general i think this could be a nice feature if using cObj from php code.

I think I could finally start using git, make a patch and make a code review.

Actions #5

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to New
Actions #6

Updated by Mathias Schreiber almost 10 years ago

  • Assignee set to Mathias Schreiber
  • Target version set to 7.2 (Frontend)
  • Sprint Focus set to Remote Sprint
Actions #7

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040

Actions #8

Updated by Gerrit Code Review almost 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040

Actions #9

Updated by Gerrit Code Review almost 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040

Actions #10

Updated by Gerrit Code Review almost 10 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36040

Actions #11

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF