Comments (5)
This one must be solved by catching the case of copy/move/reference when not relative to a current content element. TYPO3 will use values such as 542x1 for page UID 542 colPos 1 - this must be parsed by the ConfigurationProvider's methods that are executed when content is moved/copied.
cmd[tt_content][950][copy]=169x1
Is an example argument structure.
from flux.
In the testing website (the one that you have admin access).
Try it:
- go page id = 29
- copy CE uid = 60
- go page id = 14
- paste inside
Then: - nested content inside the copied element in page 14 isnt copied
- if you go back to page 29 and look at element uid=60 then it is modified
It is a real problem cause if you copy/paste elements and your original ones get modified then you could screw up you site
from flux.
seems a litle db script fix the problem
$query = "SELECT * FROM tt_content where tx_flux_column like '%:%'";
$result = mysql_query($query) or die('Consulta fallida: ' . mysql_error());
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
$columnArray = explode(':', $line['tx_flux_column']);
$query = "update tt_content set tx_flux_column = '".$columnArray[0]."' where uid =" . $line['uid'];
mysql_query($query);
}
from flux.
Thanks for the snippet - just one comment: you should also set the tx_flux_parent field to the UID part of the old value - i.e. $columnArray[1]
. I assume this field was set correctly on your installation but there could be some older installations there the field has a NULL value and this will cause problems if not also updated.
from flux.
Closing the issue. Thanks again for sharing your solution!
from flux.
Related Issues (20)
- Bug: Creating New Page generating error because the Flux Provider 'Page' was not registered correctly HOT 2
- BUG: toggle button missing for grid based content element on TYPO3v11 HOT 3
- BUG: copy a page in the pagetree is broken
- flux:field.file for TYPO3 11 and 12 HOT 6
- copy and paste flux CE with FAL
- flux:field.inline.fal Image lost in page configuration when translating
- BUG: no tt_content fileds from TCA Overrides after update to 10.0.x and dev HOT 1
- Incompatibility with 12.4.9 at translated content HOT 1
- BUG: Missing site attribute in request with TYPO3 12.4.9 HOT 3
- BUG: Problem with fal relations on inserting pages from the clipboard (make copy of a page) HOT 1
- Empty element browser with flux:field.file HOT 3
- BUG: After upgrading from flux 9.7.4 to 10.0.9 ArgumentCountError in ContentTypeManager HOT 3
- How to migrate wizard.suggest HOT 2
- Core: Error after Update 12.4.10 HOT 1
- TYPO3 12.4.10 - Multilingual - Undefined array key "colPos" HOT 2
- Error message "Tried resolving a template file for controller action "Content->standard" in format ".html"" after update HOT 4
- BUG: TYPO3 12 flux:field.file Record Selector dont work HOT 4
- BUG: Render issue with <flux:content.render area="foo" /> in Workspace previews.
- BUG: PHP Warning: Undefined array key "colPos" in /flux/Classes/Integration/Overrides/BackendLayoutView.php line 118) HOT 2
- BUG: Changed image not available in translation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flux.