21818[TASK] Remove usage of property $new_unique_uid
Commit message
Review
-
Code review CR +2
- Christian Kuhn +2
- Wouter Wolters +1
-
Verified V +2
- Christian Kuhn +2
- Wouter Wolters +1
Issues 1
Files 5
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php9+3 −22
- typo3/sysext/func/Classes/Controller/PageFunctionsController.php+1 −1
- typo3/sysext/info/Classes/Controller/InfoModuleController.php+4 −2
- typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php+1 −1
- typo3/sysext/version/Classes/Controller/VersionModuleController.php+1 −1
Review log 12
-
Mr. Jenkins commented on patch set 1 07/02/13, 17:54
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9320/ : SUCCESS -
Susi Moog voted on patch set 1 V +1 CR +1 07/02/13, 18:12
-
Wouter Wolters commented on patch set 1 CR -1 07/02/13, 19:23
PageLayoutController.php:685needs to be unset also??PageLayoutController.php:765still needed here? new_unique_uidPageLayoutController.php:1008new_unique_uid still needed here?PageLayoutController.php:1114new_unique_uid still needed here? -
Wouter Wolters uploaded patch set 2 12/13/14, 13:49
-
Wouter Wolters voted on patch set 2 V +1 CR +1 12/13/14, 13:53
-
Christian Kuhn commented on patch set 2 CR +2 V +2 12/13/14, 14:14
I tested quite some stuff in quick edit mode and could not find any change in behavior ... looks good to me. -
Christian Kuhn merged patch set 2 12/13/14, 14:14
-
Helmut Hummel commented on patch set 3 12/13/14, 14:32
post -1 on this one, tooPageLayoutController.php:783$new_unique_uid is set here and was used below (which was removed with this change) Are you sure we did not kill some functionality that might be useful? At least it is not true that the property was not used (like stated in the commit message). It *was* used and now it is removed without removal of all traces and without clearly stating which functionality is gone.PageLayoutController.php:824$new_unique_uid var is created above and not removed -
Christian Kuhn commented on patch set 3 12/13/14, 14:48
PageLayoutController.php:783Replyyes, i've seen that, too. assigning $new_unique_uid to $rec['uid'] seems legit and should stay. For the rest, I tried hard to find any functional change in quick edit behavior, but did not find anything. did you? -
Helmut Hummel commented on patch set 3 12/13/14, 15:20
PageLayoutController.php:673@Christian: there was no functional change, because this query always failed, as the NEWid is currently too small (varchar(20)) to hold the uniquid string (26 chars)PageLayoutController.php:674if that bug would be fixed, then this $edit_record will be set here, which obviously triggers a different code path below. How this affects the quick edit behavior for users? I have no idea. But I would not just remove code, without understanding the complete impact. That's all from my side. I will not investigate further. -
Christian Kuhn commented on patch set 3 12/13/14, 17:41
Ok, thanks Helmut. I'm not sure about the impact of this change anymore, too. So lets revert this one. -
Christian Kuhn commented on patch set 3 12/13/14, 17:42
Reverted This patchset was reverted in change: I4291a6ff4b06b74fb9fb5e757fc738f8bd413ca5