IRC logs

20141003

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

IRC log range: 20141003*

20141003

  • 00:42:37 <cedricziel> gbod_: doesnt work properly inside objects
  • 00:42:42 <cedricziel> highly discouraged
  • 00:43:08 <cedricziel> it's impossible atm to distinguish the references for each object
  • 00:44:00 <cedricziel> your issue would be solved by simply saving the form before adding a file reference
  • 00:45:06 <cedricziel> normally, you'd add a displayCond to prevent displaying it
  • 01:16:34 <Guest|3982> Hi, just upgraded from 6.1.11 to 6.2.5 and now the install tool fails with "Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The package "fluidcontent" depends on "uploadflux.git" which is not present in the system."
  • 01:18:14 <NamelessCoder> Guest|3982 sounds like something went wrong in the packagestates file
  • 01:19:08 <Guest|3982> So, manually deinstalling fluidcontent should help?
  • 01:19:31 <NamelessCoder> I think reinstalling any ext (for example using the nice CLI command) should solve that
  • 01:19:48 <NamelessCoder> using EM might not work because of that error - or EM might already have uninstalled the exts for you
  • 01:19:56 <NamelessCoder> 6.2 EM is a lot more clever than 6.1
  • 01:20:41 <Guest|3982> I'll try it via CLI as I'm not able to access any part of the backend.
  • 01:24:43 <Guest|3982> Had to remove all flux and fluid* exts from the local configuration, but now the backend is up again. Thanks!
  • 11:36:09 <William|26140> hi all,
  • 11:36:52 <William|26140> i have a probleme to render html code inside variable
  • 11:37:28 <William|26140> https://gist.github.com/anonymous/29bb29ed720d03fb2f98
  • 11:38:39 <William|26140> when render the display i do not have a iframe but instead the html code inside " <iframe> ...... </iframe>"
  • 11:39:25 <William|26140> how can i say to fluid to consider variable content as html code
  • 11:40:37 <William|17657> someone have any idea about how to do this?
  • 12:16:29 <danilobuerger> William|17657 f:format.raw
  • 12:17:00 <ndee> hi there, we upgraded from 6.1 to 6.2 and also updated flux to 7.2, fluidcontent 4.1.0, etc. When I edit a nested element, I see the following: http://glui.me/?i=qn8acxwqqir6h84/2014-10-03_at_12.12.png/ somehow, the ColPos from flux doesn't get added
  • 14:51:55 <ndee> when I edit a CE of type plugin, I get the message Flux Debug: No content template found in "tt_content:1765". What exactly can't be found? Why would this show up in a CE of type plugin?
  • 14:54:25 <ndee> I have set debug to 2 in the EM.
  • 15:59:46 <danilobuerger> ndee did you fix your 18181 invalid problem?
  • 16:00:10 <ndee> @danilobuerger nope, that error still shows up.
  • 16:00:34 <danilobuerger> i am experiencing the same with flxu 7.1 did you try the development version already?
  • 16:00:46 <bjo3rn> danilobuerger? is it you?
  • 16:00:48 <ndee> danilobuerger: I'm on flux 7.2.0
  • 16:00:50 <NamelessCoder> danilobuerger is back! ^^
  • 16:01:03 <wiwi|15259> hi
  • 16:01:14 <danilobuerger> did someone miss me?
  • 16:01:29 <NamelessCoder> apart from everyone?
  • 16:01:32 <bjo3rn> it was so peaceful in here?
  • 16:01:36 <bjo3rn> ^^
  • 16:01:42 <wiwi|15259> it is possible to acces to typoscript constant from fluid <f:section name="Configuration"> section?
  • 16:01:57 <NamelessCoder> ndee the "invalid value" is cosmetic, we'll find a way to re-add it that works on both 6.1 and 6.2
  • 16:02:03 <wiwi|15259> when i do {_all -> f:debug()} i got noconstant
  • 16:02:32 <ndee> @NamelessCoder ok. Is there a an issue I can subscribe to?
  • 16:02:44 <danilobuerger> NamelessCoder whats the issue with the invalid 18181 ?
  • 16:03:00 <NamelessCoder> wiwi|15259 copy the TS constant to the scope inside plugin.tx_yourext.settings and it should be passed to templates
  • 16:03:09 <danilobuerger> bjo3rn NamelessCoder well i decided on turning off my bouncer because i didnt read the backlog anyway
  • 16:03:59 <bjo3rn> about vhs#684, danilobuerger, I was a little too eager.
  • 16:04:00 <FT3BOT1> Issue 684: [TASK] Allow additional typolink configuration on v:page.languageMenu https://github.com/fluidtypo3/vhs/issues/684
  • 16:04:21 <NamelessCoder> danilobuerger not quite sure, but most likely just missing a registration somewhere which is compatible with the DataProvider for be_layout
  • 16:04:23 <gbod> @ndee: https://github.com/FluidTYPO3/fluidcontent/issues/185
  • 16:04:54 <danilobuerger> bjo3rn i saw, well the merge i used works on both 6.1 and 6.2 but is deprecated... it would be best to use the code from the assetservice and move it to a utility so every class can use it
  • 16:05:17 <ndee> gbod: sweet, thanks
  • 16:05:21 <ndee> or NamelessCoder ;)
  • 16:05:49 <NamelessCoder> yep to avoid deprecation log spam we need a condition around that array merging, a utility makes sense. Can be dropped when 6.1 is dropped
  • 16:06:13 <bjo3rn> danilobuerger same goes imho for some of the menu service methods
  • 16:06:19 <danilobuerger> bjo3rn you want to tackle that? i am more interested in looking into the 18181 thing
  • 16:06:24 <bjo3rn> deal
  • 16:08:31 <wiwi|15259> nop, doesnt work, i cant acces even with declaring constant in plugin.tx_yourext.settings {
  • 16:08:43 <wiwi|15259> i can see my form field value only
  • 16:14:14 <NamelessCoder> you have to use the plugin signature of your provider extension. "yourext" was just an example
  • 16:14:37 <NamelessCoder> the signature is the lowercase_underscored extension key, no vendor name, and with the underscore removed.
  • 16:15:09 <NamelessCoder> I know you don't enjoy it bjo3rn but please slap a unit test on that ;)
  • 16:15:36 <bjo3rn> oh, I do. :) and by doing that I can re-check my indentation settings ^^
  • 16:16:03 <NamelessCoder> hehe, tsk tsk :p
  • 16:16:59 <wiwi|15259> https://gist.github.com/anonymous/6e63307eec3101111a61
  • 16:18:07 <wiwi|15259> i can see my constant in <f:section name="Main"> but not in ocnfiguration
  • 16:18:58 <NamelessCoder> is this a page or content template?
  • 16:21:24 <wiwi|15259> content template
  • 16:21:44 <NamelessCoder> could you paste the \FluidTYPO3\Flux\Core::registerProviderExtensionKey line you use?
  • 16:22:37 <wiwi|15259> Tx_Flux_Core::registerProviderExtensionKey('anah_site', 'Page');
  • 16:22:37 <wiwi|15259> Tx_Flux_Core::registerProviderExtensionKey('anah_site', 'Content');
  • 16:23:03 <NamelessCoder> what is your Flux version?
  • 16:23:40 <wiwi|15259> 7.1.0
  • 16:23:44 <NamelessCoder> great
  • 16:24:08 <NamelessCoder> it shouldn't matter, but to avoid any future issues with deprecation, switch your Tx_Flux_Core:: to \FluidTYPO3\Flux\Core
  • 16:24:24 <wiwi|15259> ok
  • 16:24:36 <NamelessCoder> I have enough info to investigate this. It might be a bug in the standard Provider.
  • 16:25:14 <bjo3rn> NamelessCoder should I somehow test if the designated method is used or only the result?
  • 16:25:21 <wiwi|15259> ok thanks
  • 16:26:11 <NamelessCoder> wiwi|15259 if it is not secret and you want to save me a bit of time, please zip and email your extension to me (my email is in every class file of Flux but don't paste it here ;))
  • 16:27:13 <wiwi|15259> ok i will send u a zip
  • 16:27:24 <NamelessCoder> thanks
  • 16:28:06 <danilobuerger> NamelessCoder 18181 invalid bug is occuring since https://github.com/FluidTYPO3/fluidpages/commit/28da1127239a00b7fafb87a6317d4930ac3d5e63 on 6.2
  • 16:28:18 <wiwi|15259> just another question apart
  • 16:28:33 <NamelessCoder> danilobuerger yes I suspected this
  • 16:28:44 <NamelessCoder> Flux may require its own DataProvider just to add this one value
  • 16:28:46 <wiwi|15259> when will be implement the flux:field.multi-relation ?
  • 16:28:59 <NamelessCoder> wiwi|15259 it should already be there
  • 16:29:24 <NamelessCoder> setting size+maxitems on a field.relation should do the trick
  • 16:29:54 <wiwi|15259> i means get content from multiple source(page, db .....)
  • 16:30:21 <wiwi|15259> like 'group' tca
  • 16:30:24 <danilobuerger> NamelessCoder belayout needs to only be set on root page ?
  • 16:31:17 <NamelessCoder> danilobuerger it set also for sub-pages it should inherit, yes
  • 16:31:25 <danilobuerger> ok
  • 16:33:21 <NamelessCoder> wiwi|15259 I'll admit this is where it gets a little bit ideological, but: field.group was dropped for a reason. It's the one completely un-normalizable and un-replicatable field there is. All the functionality is still possible through field.file and field.relation - and if you do intend to use field.relation for such relations, you really should be using a proper MM table with a column and index for foreign table name as well as foreign key
  • 16:35:34 <NamelessCoder> that being said: you can quite easily recreate the component if your current project requires it for backwards compatibility. This would require 1) replicating the flux:field.select ViewHelper and changing the created field type to a custom class name, which is created by 2) replicating the FluidTYPO3\Flux\Form\Field\Select field to your own namespace and changing the type of field it generates.
  • 16:36:29 <NamelessCoder> sorry about the inconvenience for this one. We did this in preparation of true relation-based settings storage in which it wouldn't be possible to properly support this field in all its variations
  • 16:37:33 <wiwi|15259> i need to select contents (pages, db, news), without relation between them, that why i ask question :)
  • 16:37:52 <NamelessCoder> could you use two selection fields for that?
  • 16:37:58 <wiwi|15259> will try to create my own component
  • 16:38:14 <wiwi|15259> i need element order
  • 16:38:14 <NamelessCoder> it's a very narrow use case, requiring mixing pages+content in the same list ;)
  • 16:38:38 <NamelessCoder> you *could* utilize the section+object with two types of objects
  • 16:38:52 <NamelessCoder> slightly more cumbersome for the editor user but it would work just the same
  • 16:39:14 <NamelessCoder> this would also allow you to mix in stuff like custom headers, dividers etc.
  • 16:40:31 <wiwi|15259> fact is i can have anytype of object (link, news, pages, video, image and more)
  • 16:40:58 <wiwi|15259> will make my custom component :)
  • 16:48:45 <NamelessCoder> I see what's going on now
  • 16:49:07 <NamelessCoder> you got your own Provider which is being used, but it lacks the property $extensionKey which you should set to your extension key
  • 16:51:35 <NamelessCoder> ah, you didn't register it. Maybe you don't intend to use it?
  • 16:52:54 <NamelessCoder> still looking for possible causes in Flux
  • 16:55:03 <NamelessCoder> are you using fluidcontent_core in your site wiwi|15259 ?
  • 17:01:49 <NamelessCoder> oh crap. bjo3rn I just found another array merge overrule issue in Flux's AbstractProvider
  • 17:02:23 <danilobuerger> NamelessCoder are you sure 18181 invalid can be fixed with another data provider? looking at the code in BackendLayoutView it seems unlikely
  • 17:02:24 <bjo3rn> can it be replaced by the utility method?
  • 17:04:03 <NamelessCoder> well there's no interdependency between flux and vhs :/
  • 17:04:39 <bjo3rn> yes, that explains the 'oh crap'
  • 17:04:44 <bjo3rn> ^^
  • 17:04:53 <NamelessCoder> danilobuerger I'm far from sure but I'd expect it to be parsed from the "data" property on BackendLayout which the DataProvider returns
  • 17:05:54 <danilobuerger> well yes, but then the data would have to include that column in some row for it to get into __items
  • 17:06:55 <NamelessCoder> I think you can get around that by setting colCount = 0 even though it contains one column - but I really don't remember the internals at this point
  • 17:07:03 <NamelessCoder> col/row count, whichever fits
  • 17:08:53 <NamelessCoder> bjo3rn it's not too bad, in flux. All it does is spam deprecation log :/
  • 17:10:14 <bjo3rn> when will it be removed?
  • 17:10:37 <NamelessCoder> 6.3
  • 17:10:45 <NamelessCoder> already gone from master, iirc
  • 17:11:19 <bjo3rn> so leave it as is and change it when it's time?
  • 17:11:41 <danilobuerger> NamelessCoder not increasing the row count seems to work.. any reason you want that in another data provider? before 6.1 its also in fluidpages
  • 17:13:43 <NamelessCoder> wiwi|15259 found the problem. You can pull flux from git in a few minutes or give it a few days, a TER release should be coming soon
  • 17:18:46 <NamelessCoder> this commit should solve it:
  • 17:23:09 <danilobuerger> NamelessCoder not increasing the row count seems to work.. any reason you want that in another data provider? before 6.1 its also in fluidpages
  • 17:23:46 <NamelessCoder> the DataProvider allows us to deliver this extra value from Flux which it should be, but without preventing Fluidpages from also providing its values.
  • 17:24:18 <NamelessCoder> the reason for putting it in fluidpages in the first place was that any overriding class had to deliver *all* possible values, no merging possible
  • 17:25:57 <NamelessCoder> e.g. itemsProcFunc has single setting which gets overridden by each extension that adds it, which is now changed to DataProvider that has multiple possible providers instead of overriding the "procFunc"
  • 17:32:57 <danilobuerger> Oh well, didnt see your text until now... the PR is in fluidpages, feel free to move it into Flux, need to move on to other things
  • 17:35:16 <NamelessCoder> I'll do some choppy/paste ;)
  • 17:37:48 <NamelessCoder> btw danilo did you see; we now automatically upload new TER releases when merges to master occur?
  • 17:37:49 <FT3BOT1> Welcome back NamelessCoder!
  • 17:42:06 <danilobuerger> NamelessCoder so i have read, would be awesome to release that invalid bugfix then ;-)
  • 17:42:34 <NamelessCoder> yeah just need to accumulate a few more
  • 17:49:33 <wiwi|15259> im back, thanks for resolving the problem. :)
  • 18:31:45 <drlimbo> hi there
  • 18:32:04 <drlimbo> im try'n to setup the RTE for fluidcontent_core but i can't figure out how =(
  • 18:32:29 <drlimbo> RTE.default {} doesn't work
  • 18:32:39 <drlimbo> someone got an idea?