IRC logs

20141028

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20141028*

20141028

  • 09:03:22 <erredeco> question: (bug?) in the "new content element" wizard I don't see the "FCE" tab with my fluid content element. Instead, in the "plugin" tab I see... the templates of PAGES!! Why??
  • 09:40:09 <flowbob> good morning guys
  • 09:40:30 <flowbob> still trying to find out how to get something like this to work: https://gist.github.com/anonymous/d114ef8936dd8c720e65
  • 09:47:41 <Akii> looks like the section would know when it's supposed to be empty
  • 09:48:22 <gbod> flowbob: Take a look at https://github.com/FluidTYPO3/view. You might build a template with an empty news section and as an override you take the template with the filled news section. You won't need the f:if structure in this case.
  • 09:56:35 <ruben> hello, im trying to get all fieldnames of a specific contentelement/templates configuration section in my backend modules controller, does anyone knows how to render that manually?
  • 11:45:05 <jmverges> morning mates
  • 11:48:42 <Momodedf> hello
  • 11:48:50 <jmverges> hello Momodedf
  • 11:59:19 <jmverges> hi folks, I've been fighting with a vagrant machine all the last week
  • 11:59:31 <jmverges> and it is still slow
  • 12:00:37 <jmverges> could anyone provide me a bit of help?
  • 12:02:43 <danilobuerger> isnt there a vagrant channel for that?
  • 12:02:53 <danilobuerger> thats not really a question for #fedext
  • 12:10:08 <jmverges> well, I'm just doing all this stuff to be able to work with fluidpowered
  • 12:10:27 <jmverges> and to convert a team in a team that works with fluidpowered
  • 12:10:40 <Akii> it's still a vagrant issue
  • 12:10:46 <jmverges> so, danilobuerger you are right, maybe is not the best place
  • 12:10:56 <jmverges> Akii, both of you are right
  • 12:11:24 <jmverges> however I'm just wondering that developers in this room are working in the same way
  • 12:11:41 <Akii> last time I tried vagrant I ditched it because each request (no fluid stuff) took like 30 seconds)
  • 12:12:07 <jmverges> this is my problem, is too slow
  • 12:12:32 <jmverges> but I don't understand why. I worked with symfony in a vagrant box and it worked fine
  • 12:17:51 <jmverges> so, does anyone use vagrant for typo3 and fluid? powered?
  • 12:19:36 <danilobuerger> i think xaver does..
  • 12:19:42 <danilobuerger> i dont see a reason to use vagrant
  • 12:21:23 <jmverges> I need to homogenize the enviroment for a team, that is the only reason at least for me
  • 13:12:04 <randomresult> if you work with windowsuser you need a vagrant box. but to get one running on all systems...
  • 13:28:31 <bjo3rn> jmverges nfs-share?
  • 13:29:11 <jmverges> bjo3rn, now yes. I changed it to nfs
  • 13:29:32 <jmverges> and I also unmount the default /vagrant directory
  • 13:29:35 <bjo3rn> afair this is a bottleneck
  • 13:29:46 <bjo3rn> sec
  • 13:30:29 <bjo3rn> it's recommended - at least for sf2 - to not have cache/log/temp on the nfs-share
  • 13:30:39 <bjo3rn> see http://www.whitewashing.de/2013/08/19/speedup_symfony2_on_vagrant_boxes.html
  • 13:30:53 <bjo3rn> but that's all I can throw in :S
  • 13:31:11 <bjo3rn> you should ask xaver
  • 13:35:43 <jmverges> I will try it ;)
  • 13:35:56 <jmverges> bjo3rn, do you work with its vagrant machine?
  • 13:54:00 <pedda> hi there
  • 13:54:18 <pedda> how do you guys handle those FAL localization problems?
  • 13:54:39 <pedda> do you use FAL at all in multilanguage projects?
  • 13:54:54 <danilobuerger> pedda yes
  • 13:55:04 <danilobuerger> are you referring to https://forge.typo3.org/issues/57272 ?
  • 13:55:16 <pedda> for example
  • 13:55:28 <pedda> so avoiding is the best choice atm ?
  • 13:55:48 <danilobuerger> why avoid? just hotfix it and you are fine
  • 13:56:06 <pedda> hotfix it?
  • 13:56:38 <danilobuerger> see the forge issue i linked
  • 13:58:00 <pedda> lemme check
  • 14:01:23 <pedda> well, so i'm about to create an XClass\DataMapper with content like descibed here: https://forge.typo3.org/issues/57272#note-7
  • 14:01:57 <pedda> i never used config.tx_extbase.objects by now
  • 14:02:00 <pedda> what is it about?
  • 14:02:41 <pedda> ist this the way to tell exbase in case of use file 1 = use file 2 instead
  • 14:02:42 <pedda> ?
  • 14:03:10 <danilobuerger> yes you can do it like stefano described
  • 14:03:37 <pedda> thanks.. i will check this out right away
  • 14:08:43 <pedda> @danilobuerger does this look valid? config.tx_extbase.objects.TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper.className = BC\MmsTemplate\XClass\DataMapper
  • 14:09:05 <danilobuerger> no idea
  • 14:09:29 <pedda> i mean.. do you add this ts line as well while hotfixing that issue ?
  • 14:09:35 <danilobuerger> no
  • 14:09:40 <pedda> kk
  • 14:09:46 <pedda> because it was mentioned #6
  • 14:09:47 <danilobuerger> just xclassed it
  • 14:10:41 <pedda> XClassing in 6.2 context means putting a file into Classes/XClass/myFile.php and registering it via ext_localconf.php right?
  • 14:11:31 <danilobuerger> no, you can put it anywhere you like under Classes as long as the rest matches
  • 14:11:41 <pedda> k
  • 14:30:00 <Momodedf> why isnt there a {content} object in FCE templates like there is a {page] object in page templates ?
  • 14:32:02 <danilobuerger> Momodedf because we are evil and decided to name it record
  • 14:32:23 <Momodedf> xD
  • 14:32:25 <Momodedf> ok my bad
  • 14:32:42 <Xatenev> danilobuerger: xD
  • 14:33:34 <Momodedf> please keep being evil, I love your work ;)
  • 14:34:00 <Momodedf> (oh cld be a song from rihanna)
  • 14:57:54 <Akii> does flux interfere in any way with other BE layouts? I'm getting "No edit access" for column numbers that don't exist
  • 15:27:26 <Akii> hmm seemed to be an outdated version
  • 15:39:06 <ndee_> I won't get a preview of a page template that I created: https://gist.github.com/andypa/ac50cec76d912d8a5119 <-- shouldn't this render a preview in the Page module?
  • 15:43:43 <erredeco> @ndee_ what version of flux do you use
  • 15:43:52 <erredeco> ?
  • 15:43:59 <ndee_> latest development branch
  • 15:44:15 <ndee_> also newest development branch from fluidpages and fluidcontent
  • 15:45:05 <ndee_> just had to select in the be-layout "fluidpages" and that was it. thanks
  • 15:45:34 <erredeco> ok...in page > tab "appereance" have you selected in the dropdown: "Backend Layout (this page only)" = Fluidpages ?
  • 15:45:57 <erredeco> and so in "Backend Layout (subpages of this page)"
  • 15:46:03 <ndee_> sweetness, thanks
  • 15:46:11 <erredeco> -1
  • 15:46:14 <erredeco> sorry
  • 15:46:16 <erredeco> +1
  • 15:46:18 <erredeco> :)
  • 15:59:56 <Akii> very very cool, customer wants to edit information within a plugin - flux 7.1 allows custom BE templates - VHS renders columns by number
  • 16:01:12 <Akii> and ye, the "worst" part was to migrate the templates.. lol
  • 16:09:06 <Akii> can someone point me in the direction where the fluidcontent BE layout is created?
  • 16:10:06 <Akii> or alternatively, how to create a new BE layout without having to create it in the list menu
  • 16:12:15 <Akii> heh
  • 16:20:41 <Akii> lol
  • 16:20:44 <Akii> that was easy
  • 16:28:55 <gbod> Akii: anywhere to drop a coin for you? Really entertaining performance. ;)
  • 16:30:20 * Akii only supports the Beer-over-IP protocol
  • 16:31:39 <gbod> http://en.wikipedia.org/wiki/Beerware
  • 16:32:36 <gbod> I witnessed this: https://torrentfreak.com/pirate-party-fulfills-opentrackers-beerware-license-081231/
  • 16:33:06 <Akii> wow
  • 16:33:13 <Akii> that's my license
  • 16:33:33 <Akii> any future FluidTYPO3 contributions from my side will have that :P
  • 16:34:06 <gbod> Soory, there is this GPL thingie. :(
  • 16:34:13 <Akii> meh
  • 16:34:22 <Akii> no beer then
  • 16:34:55 <Akii> the anti-beer license!
  • 16:35:00 <Akii> is what that is
  • 16:35:46 <Akii> but ye achievement get: GIT versioned backend layouts
  • 18:18:46 <pedda> did anyone of you got https://forge.typo3.org/issues/57272#note-7 working ?
  • 18:19:00 <pedda> it seems as if i'm missing the point ...
  • 19:35:58 <jmverges> hi again
  • 19:36:04 <jmverges> xaver, are you here?
  • 21:18:20 <NamelessCoder> BAM!
  • 21:18:25 <pedda> w00t?
  • 21:18:37 <pedda> automated TER release?
  • 21:18:41 <NamelessCoder> oh yes
  • 21:18:46 <pedda> nice work claus
  • 21:18:48 <pedda> :)
  • 21:18:54 <NamelessCoder> thx :)
  • 21:19:31 <NamelessCoder> "resultCode": "10504",
  • 21:19:31 <NamelessCoder> "resultMessages": [
  • 21:19:31 <NamelessCoder> "Please note that it might take a while (up to an hour) until your extension and the documentation appear on TYPO3.org."
  • 21:19:31 <NamelessCoder> ],
  • 21:19:31 <NamelessCoder> "version": "0.14.0"
  • 21:19:35 <NamelessCoder> this is too much fun
  • 21:20:56 <danilobuerger> NamelessCoder if its so much fun, do a flux release ;-)
  • 21:21:13 <NamelessCoder> whatever the reason is though, icon upload gets ignored
  • 21:21:50 <NamelessCoder> still not sure it solves your problem danilobuerger but yes
  • 21:22:05 <danilobuerger> i cant reproduce it anymore
  • 21:22:47 <NamelessCoder> by some magic circumstance, is inheritance of Section then also working?
  • 21:22:52 <NamelessCoder> I
  • 21:23:21 <danilobuerger> well i have a template that contains a sheet and a section,
  • 21:23:25 <danilobuerger> no exception thrown
  • 21:23:29 <pedda> @danilobuerger which issue?
  • 21:23:32 <NamelessCoder> page template?
  • 21:23:35 <danilobuerger> yeah
  • 21:23:46 <danilobuerger> pedda no issue
  • 21:23:47 <NamelessCoder> sub of another equally selected template on parent page?
  • 21:23:58 <danilobuerger> no
  • 21:24:09 <NamelessCoder> ok, there might still be a problem then
  • 21:28:35 <NamelessCoder> now we wait a couple of hours for TER to catch up :/
  • 21:30:06 <NamelessCoder> in case you missed it: you can now generate FluidTYPO3 sites using our pseudo-distribution, EXT:site - the extension manager's "Get distributions" lists it now
  • 21:30:52 <danilobuerger> NamelessCoder if i am reading getFields() correctly the promise of only returning FieldInterfaces is wrong
  • 21:31:23 <danilobuerger> Sections or Containers that have children seem to be included too
  • 21:33:36 <NamelessCoder> danilobuerger if I remember the code at this point: FieldContainerInterface should be implemented on Fields as well as Section and Container; if getFields() promises FieldContainerInterface I believe this should add up
  • 21:33:56 <danilobuerger> @return \FluidTYPO3\Flux\Form\FieldInterface[]
  • 21:33:59 <NamelessCoder> either way, the method availability on both interfaces should be the same regarding inheritance
  • 21:34:55 <NamelessCoder> lol, typo3temp/free-justin-timberlake-celebrity-nudes.css
  • 21:35:19 <danilobuerger> it still will throw an exception reaching unsetInheritedValues if getFields() includes a section or a container
  • 21:35:20 <NamelessCoder> SEO through assets
  • 21:36:23 <danilobuerger> neither section or container implements FieldInterface, but unsetInheritedValues specifies the argument to be of FieldInterface
  • 21:36:51 <NamelessCoder> they implement FieldContainerInterface which should support the same features, that's my point
  • 21:37:08 <NamelessCoder> changing the type hint to FieldContainerInterface may do the trick
  • 21:37:54 <danilobuerger> FieldContainerInterface doesnt list inherit or inheritEmpty
  • 21:38:16 <NamelessCoder> but it extends FieldInterface right?
  • 21:38:22 <danilobuerger> no
  • 21:38:32 <danilobuerger> https://github.com/FluidTYPO3/flux/blob/master/Classes/Form/FieldContainerInterface.php
  • 21:38:34 <NamelessCoder> not right
  • 21:39:01 <danilobuerger> if it were to implement FieldInterface and if Section and Container where to implement FieldContainerInterface everything would be fine
  • 21:39:48 <NamelessCoder> thinking bout that now, it also adds a bunch of completely redundant properties on containers
  • 21:39:57 <NamelessCoder> how about this as an alternative...
  • 21:41:23 <NamelessCoder> InheritableInterface extends nothing, defines the inheritance related methods. AbstractFormField implements FieldInterface, InheritableInterface. AbstractContainer implements ContainerInterface, InheritableInterface. Method to unset inherited values checks each child for implements InheritableInterface.
  • 21:41:31 <danilobuerger> This touches the mental structure you ahve for flux, so my suggestion might not be relevant, but we could also have an InheritInterface or something like that
  • 21:41:38 <NamelessCoder> ...
  • 21:41:40 <danilobuerger> ah
  • 21:41:42 <danilobuerger> ;-)
  • 21:41:42 <NamelessCoder> hehehe
  • 21:41:48 <danilobuerger> well then
  • 21:41:54 <NamelessCoder> I'll take this as a sign the idea is good
  • 21:41:58 <danilobuerger> you were milli seconds ahead
  • 21:42:01 <danilobuerger> ;-)
  • 21:43:02 <danilobuerger> alright, i am in the mood to implement it
  • 21:43:16 <NamelessCoder> it will take a bit of surgery to get there
  • 21:43:47 <NamelessCoder> not sure but checking: setParent() might need to go on that interface as well, meaning that places where setParent() is called then need to check instanceof
  • 21:44:38 <NamelessCoder> if it's purely semantical then no problem keeping it on FormInterface where it currently is
  • 21:46:01 <NamelessCoder> <-- here if needed
  • 21:47:16 <danilobuerger> will check
  • 21:47:43 <NamelessCoder> I think set/getParent() is embedded too deep for that separation to make sense.. just leave that as-is
  • 21:49:31 <NamelessCoder> guess I'll make another video while you code :p
  • 21:59:41 <danilobuerger> NamelessCoder unsetInheritedValues requires getName() so 1) InheritableInterface offers a getName 2) InheritableInterface extends FormInterface
  • 22:05:31 <danilobuerger> NamelessCoder another problem is the creation of components, createField returns FieldInterface ... maybe it would be better moving the inherit methods into the FormInterface
  • 22:12:42 <NamelessCoder> inheritableInterface should offer getName()
  • 22:13:05 <NamelessCoder> extending FormInterface is excessive and getName() has no parameters so it's safe to duplicate
  • 22:13:50 <NamelessCoder> inherit methods on forminterface would imply that every component including Form itself and wizards all support inheritance
  • 22:14:15 <NamelessCoder> needs *very* careful consideration
  • 22:18:54 <NamelessCoder> I think you actually could do that.. you'd need to define some additional getters/setters in some classes and processing each record would take a bit longer if you had wizards in the form, but it should work
  • 22:19:20 <NamelessCoder> as in: not break; it probably won't fix inheritance of stuff like inline related records and section objects
  • 22:37:02 <danilobuerger> NamelessCoder so you are for or against moving inhertiance to FormInterface?
  • 22:37:36 <NamelessCoder> it adds redundance, but not enough for me to be against it