Project

General

Profile

Actions

Bug #23373

closed

Changes made by ColorPicker Wizard are not saved

Added by Tobias Hoevelborn over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I enhance a form in a Templavoila Datastructure with the standard color picker (wizard typo3/wizard_colorpicker.php), changes made using the color picker wizard are not saved. Changes made directly in the form fields are saved as expected.

I suspect that the problem might not be restricted to TV in any way, but is a general bug in the color picker wizard.

Closer investigation showed that the wizard changes only the visible form fields in the backend form (the ones with _hr appended) and leaves the hidden fields untouched.

The setValue javascript functions are not set in wizard_colorpicker.php once the wizard form has been submitted once (i.e. a color has been chosen). The reason seams to be the missing preservation of the security hash fieldChangeFuncHash in the hidden form fields of the wizard. I added a small patch to add the hidden field, that fixed that problem for me.
(issue imported from #M15456)


Files

bug_0015456.patch (1.05 KB) bug_0015456.patch Administrator Admin, 2010-08-14 11:52
bug_0015456_2.patch (1016 Bytes) bug_0015456_2.patch Administrator Admin, 2010-08-14 12:00
Actions #1

Updated by Tobias Hoevelborn over 13 years ago

Added bug_0015456_2.patch file, just a cleaned up version.

Actions #2

Updated by Michael Voehringer over 13 years ago

I can confirm this bug. It have a similar problem using the colorpicker in an plugin. Your patch fixes my problem. Thank you very much.

Actions #3

Updated by Chris topher over 13 years ago

Hi Tobias,

thanks for your patch!

Would you mind sending this to the Core Team list, to get this committed to the TYPO3 sources? Please choose as branches 4-4 and trunk (if it applies to 4-3, then this one, too).

You can find a how-to here: http://typo3blogger.de/ab-in-den-core/ (I assume you're German ;)).

If you have any questions, don't hesistate to ask!

Thanks for your contribution!

Actions #4

Updated by Tobias Hoevelborn over 13 years ago

Hi Christopher,
thanks you for your hint, bug and patch are sent to Core Team List.
Bye

Actions #5

Updated by Chris topher over 13 years ago

Oh, I must have overlooked the thread.

You can send a reminder to the thread in Core List up to once a week to get a bit more attention!
A +1 by a Core Dev is still missing.

Actions #6

Updated by Tobias Hoevelborn over 13 years ago

Sorry Christopher, what I meant to say is I tried to send after recieving your helpfull hint, you didn't overlook anything.

But I just recieved the notice that my post has been rejected :-/ Got no idea what I missed out or did wrong hence asked the list owner for feedback... I'll keep trying.

It worked with a newsreader. Thanks again.

Actions #7

Updated by Chris topher over 13 years ago

What a mess:

I mean, the patch has already been posted on 13.9. by Christian Müller.
That is what I overlooked when telling you to post it. Now there are 2 threads about that issue... Sorry for the inconvenience, it was my mistake.

Could you use the one started by Christian and just post a reminder there?
That would be helpful as people have already voted for your patch there.
And maybe tell people to use "that" thread. ;-)

Actions #8

Updated by Ernesto Baschny over 13 years ago

Committed to:

- trunk, rev. 9349 (will be in 4.5 beta1)
- 4.4, rev. 9350 (will be in 4.4.5)
- 4.3, rev. 9351 (will be in 4.3.8)
- 4.2, rev. 9352 (will be in 4.2.16)

Actions #9

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF