-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems while migrating form Fluidcontent #1542
Comments
Have the same problem after merging from flux-master to flux-dev. Figured out that my Grouping doesnt work anymore: |
for the groups you can maybe try: |
Doesnt work for me. Does it work for you? |
the sorting works, but the rendering in the frontend not. here is a working example for the grouping <f:section name="Configuration">
</f:section> |
thanks. Doesnt work for me anyway. Tab-Name is just "-" no matter how my groupname is |
Use a language file instead, e.g.:
and in the language file:
|
|
any ideas how to fix the frontend rendering? |
do you register the content provider in your extensions e.g.:
|
Yes I register the content provider i got the same result with: the ContentController looks like: `<?php use FluidTYPO3\Flux\Controller\ContentController as AbstractController; /**
}` |
Pay attention to the |
Elements that I create with the new CType results in |
Do you have a content rendering extension installed as well, e.g. If you included the TS from such extensions by any other means, it may load after Flux TS and result in the "No rendering definition" error for everything that's not a core CType. |
I use fluid_styled_content and it template is loaded first. |
It is still not working:
Is there a working Example or is a certain Flux version required? |
@MediKathi Judging from the two different error messages you get, it really looks like you might have an earlier version of Flux which can still assume the |
After some testing i could find out: If I use the current dev-branch version, and clean all Caches (including the Server caches (restart Apache)), it works. The Frontend renders as expectet and I can make Content-Elements with the corret CType (myext_myelement). The translation seams to be broken: |
After just installing the newst Flux-Devbranch error "Parameter $extensionName cannot be empty if a fully-qualified key is not specified. " appears. No other changes are done, then updating Flux. |
If I recall correctly, i've had that error when i've installed flux-dev not in default directory (./typo3conf/ext/flux). |
it is in this directory |
Hi @MediKathi , same issue here after uninstalling fluidcontent the Frontend is broken (ERROR: Content Element type "flux_XY" has no rendering definition!). In the backend TS:tt_content.flux_XY shows up and has a USER configuration. If I create new Content Elements in the backend they show up as flux_XY as well. Any updates / solutions? |
Now I have done the following: I downloaded the latest version of vhs, flux and fluidpages from the TER
I use this in my Local Conf: And this in my ContentCntroller.php: After adding some colPos numbers in my flux:grid, the thing works in the backend. BUT! the Preview section does not show any Translaton. Rahter for the grid or {f:translate(key: 'flux.TwoColumns')} (this key exists in the locallang.xlf). The Frontendrendering works, even without colpos. the only problem left is the broken Translation in the Preview Section. The backend returns 8101 (content id and colpos), but it should return the value of the key 'flux.TwoColumns.columns.Col1' (locallang.xlf). There are also a broken colPos Dropdown (like #1593) but wihout the invalid value, it just shows the options (with the colpos and without any label). Summary
|
For those still migrating from https://stackoverflow.com/questions/50755107/typo3-database-migration-from-fluidcontent-to-flux |
Closing issue; it will remain pinned though. Thanks everyone for all the info and scripts you added here! |
Hey @NamelessCoder sorry to open this up again, but I have issues after upgrading a TYPO3 7 to 8.7 LTS and migrating from fluidcontent to flux only. I have several setups with TYPO3 8 and 9 with flux and fluidpages from scratch, which all work flawlessly. But I can’t get the migration process on this one done. I upgraded the core, ran the database analyzer to add the flux migration field (not removing any of the old ones, ran the extension updates, ran the flux update script, which is not converting anything (0 records, why?) I converted the CType manually with the sql statements in the link posted by @outdoorsman (https://stackoverflow.com/questions/50755107/typo3-database-migration-from-fluidcontent-to-flux/50759394#50759394). The records appear in the backend again, but all the content in my custom flux grid columns is still missing. Page Layout and Backend Appearance are set and working. I followed the link in the stackoverflow discussion (https://stackoverflow.com/questions/55183681/typo3-database-migration-from-fluidcontent-to-flux-goes-wrong) and tried several approaches to change the colPos value, but I can’t find a way to correctly convert them. The colPos has always been set correctly in the Flux template, so there is no information missing in the records (as far as I can see). Why is the flux update script not doing it’s work? Do you have any guide or list on what to exactly do after upgrading like this? Thanks for your help. Regards, |
Hi @felixrupp, Aside from the migration wizard itself it seems you've already found the information that is required for migration. The only step to perform manually is the CType conversion, since Flux can't guess the right CType for all possible CType values. If you have trouble making the conversion work then it could just be the sequence in which you performed the steps. The first thing you need to do is make sure that you update the template files according to the requirements of the Flux version - this should be easy enough to test if you create a new instance of the content element type before you convert to existing instances, to confirm that the adjusted template works with child records. Once you've confirmed it works, and you corrected the CType values in DB you should be able to run the migration wizard through Extension Manager; it will warn you about things like colPos value being within working range (0-99) and should report any "hard" template syntax errors such as missing required ViewHelper arguments or using arguments that were removed. If you need to re-run the migration you can always zero out the value of Hope this helps! |
thanks for your answer, I actually managed to get it working now. To sum up, I did the following.
in the form-tag of my Page-Template (see below for full example) to fix the Page Configuration-Tab.
(be aware, that you have to change your company and extension identifier and change the new prefix to the key of your extension without the company)
That’s all I had to do. Hope this will help somebody with the migration. Examples:Step 3. Page-Layout configuration section:
Step 4. SQL-Statement to update the CType:
Step 5. Example with my first column with the colPos 11 and the name one:
|
Thanks for the detailed feedback @felixrupp, I'm sure this will help other users who may have the same problems as you did with migration. I have a couple of comments to add:
Happy to hear you solved it! |
Hello,
while migrating from Fluidcontent to Flux I have found som issues:
Test with: Flux: 8.2.1
The BackendRendering works fine but:
The FrontendRendering is broken, I get "ERROR: Content Element with uid "82" and type "flux_twocolumns" has no rendering definition!"
Test with: Flux: 8.2.1 (Dev-Branch)
The BackendRendering works, but all the label are not longer translated: they have all thier 'name' attribute as label not the translation form the locallang.xlf
The Frontend resturns:
Could not analyse class: "Tx_MyExt_Controller_ContentController"
But the class exists.
With Fluidcontent 5.2.0 and Flux 8.2.1 (stable) everything works as intended.
Is there a "State of the Art" example Project for FluidTypo3 ?
My Current Setup:
Typo3: 8.7.12
Fluidpages: 4.1.0
vhs: 4.4.0
The text was updated successfully, but these errors were encountered: