(no commit message) master
authorChristian Weiske <cweiske@cweiske.de>
Tue, 4 Feb 2014 15:26:21 +0000 (16:26 +0100)
committerwww-cweiske <www-cweiske@localhost.localdomain>
Tue, 4 Feb 2014 15:26:21 +0000 (16:26 +0100)
README.rst [new file with mode: 0644]
cleanup.sh [new file with mode: 0644]

diff --git a/README.rst b/README.rst
new file mode 100644 (file)
index 0000000..70b923f
--- /dev/null
@@ -0,0 +1,3 @@
+When modifying TYPO3 flexform definitions by e.g. renaming fields, stale data pile up in the ``tt_content`` flexform data fields.\r
+\r
+You can clean them up with the CLI cleaner.
\ No newline at end of file
diff --git a/cleanup.sh b/cleanup.sh
new file mode 100644 (file)
index 0000000..bee0759
--- /dev/null
@@ -0,0 +1,65 @@
+$ ./typo3/cli_dispatch.phpsh lowlevel_cleaner cleanflexform -v 0 -r\r
+*********************************************\r
+cleanflexform\r
+*********************************************\r
+cleanflexform -- Find flexform fields with unclean XML\r
+\r
+Traversing page tree and finding records with FlexForm fields with XML that\r
+could be cleaned up. This will just remove obsolete data garbage.\r
+\r
+Automatic Repair:\r
+Cleaning XML for FlexForm fields.\r
+\r
+---------------------------------------------\r
+[cleanflexform]\r
+ [WARNING]\r
+---------------------------------------------\r
+Array\r
+(\r
+    [ddd2ee5283] => tt_content:10:pi_flexform\r
+)\r
+\r
+\r
+$ ./typo3/cli_dispatch.phpsh lowlevel_cleaner cleanflexform -v 0 -r --AUTOFIX\r
+*********************************************\r
+cleanflexform\r
+*********************************************\r
+cleanflexform -- Find flexform fields with unclean XML\r
+\r
+Traversing page tree and finding records with FlexForm fields with XML that\r
+could be cleaned up. This will just remove obsolete data garbage.\r
+\r
+Automatic Repair:\r
+Cleaning XML for FlexForm fields.\r
+\r
+---------------------------------------------\r
+[cleanflexform]\r
+ [WARNING]\r
+---------------------------------------------\r
+Array\r
+(\r
+    [ddd2ee5283] => tt_content:10:pi_flexform\r
+)\r
+\r
+\r
+NOW Running --AUTOFIX on result. OK? (Yes/No + return): Yes\r
+Cleaning XML in "tt_content:10:pi_flexform": DONE\r
+\r
+\r
+$ ./typo3/cli_dispatch.phpsh lowlevel_cleaner cleanflexform -v 0 -r\r
+*********************************************\r
+cleanflexform\r
+*********************************************\r
+cleanflexform -- Find flexform fields with unclean XML\r
+\r
+Traversing page tree and finding records with FlexForm fields with XML that\r
+could be cleaned up. This will just remove obsolete data garbage.\r
+\r
+Automatic Repair:\r
+Cleaning XML for FlexForm fields.\r
+\r
+---------------------------------------------\r
+[cleanflexform]\r
+ [WARNING]\r
+---------------------------------------------\r
+(None)\r