Bug #16676

default setting for imageorient does not work

Added by Sascha Egerer almost 13 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2006-10-30
Due date:
% Done:

100%

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

Description

Setting a default Value for imageorient in tt_content does not work!
I've tried this in User, Group and Site TSconfig

TCAdefaults.tt_content.imageorient = 2

(issue imported from #M4448)


Related issues

Related to TYPO3 Core - Bug #22712: userTSconfig: TCAdefaults.tt_content.imagecols = 1 does not work Closed 2010-05-25
Related to TYPO3 Core - Bug #30864: userTSconfig: TCAdefaults.tt_content.imagecols = 1 does not work Closed 2011-10-12

Associated revisions

Revision 3a271ae2 (diff)
Added by Frank Naegler over 3 years ago

[BUGFIX] Default setting for imageorient does not work

Resolves: #16676
Releases: master
Change-Id: I6fbffda27b4eb39bfb69496cab33a06b1b09b485
Reviewed-on: https://review.typo3.org/47266
Reviewed-by: Dmitry Dulepov <>
Tested-by: Dmitry Dulepov <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Stefan Neufeind <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>

History

#1 Updated by Chris topher over 9 years ago

Still present in 4.4beta2.

#2 Updated by taywa gmbh almost 9 years ago

still dosent work in 4.4.4! tested in userconfig

TCAdefaults.tt_content.imageorient = 26

For me as an Workaround in pageTS, remove all imageorient exept the 26.

TCEFORM.tt_content.imageorient.removeItems = 0, 1, 2, 8, 9, 10, 17, 18, 25, --div--

#3 Updated by Josef F. Glatz (Old User) over 8 years ago

TCA "doesn't cares" about default values... it's in the wizard

  1. classic page module
    mod.wizards.newContentElement.wizardItems.common.elements.textpic.tt_content_defValues.imageorient = 18
  1. templavoila
    templavoila.wizards.newContentElement.wizardItems.common.elements.textpic.tt_content_defValues.imageorient = 18

#4 Updated by Christian Knuth about 7 years ago

  • Target version changed from 0 to 4.7.5

still present in 4.7.1

i think this is a common expected behaviour that

TCEFORM.tt_content.imageorient.default = 18

or

TCAdefaults.tt_content.imageorient = 18

is changing the default for creating new elements. But unfurtunately it does still not work this way.

#5 Updated by Frank Naegler over 5 years ago

this bug is still present in 6.2.3, I think after seven years, this should be fixed ;)

#6 Updated by Stefan Neufeind almost 5 years ago

  • Description updated (diff)
  • Is Regression set to No

Just stumbled across this as well, current master (post-6.2). And of course that installation I had also still used TemplaVoila. How counter-intuitive is that :-(

#7 Updated by Markus Klein almost 5 years ago

  • Status changed from New to Accepted
  • Target version changed from 4.7.5 to next-patchlevel

#8 Updated by Mathias Schreiber almost 4 years ago

  • Target version deleted (next-patchlevel)

#9 Updated by René Fritz almost 4 years ago

Still not working in 7.6:

TCEFORM.tt_content.imageorient.default = 2
TCAdefaults.tt_content.imageorient = 2

This works:

mod.wizards.newContentElement.wizardItems.common.elements.image.tt_content_defValues.imageorient = 2
mod.wizards.newContentElement.wizardItems.common.elements.textpic.tt_content_defValues.imageorient = 2

I didn't dive very deep, but in DatabaseRowDefaultValues imageorient is already set (to 17) so a default value will not applied by the code afterwards.

#10 Updated by Frank Naegler over 3 years ago

  • Status changed from Accepted to In Progress
  • Assignee set to Frank Naegler

#11 Updated by Gerrit Code Review over 3 years ago

  • Status changed from In Progress 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 https://review.typo3.org/47266

#12 Updated by Gerrit Code Review over 3 years ago

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

#13 Updated by Gerrit Code Review over 3 years ago

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

#14 Updated by Frank Naegler over 3 years ago

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

#15 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF