[TYPO3-dev] delete sysfolders/pages
Steffen Kamper
steffen at sk-typo3.de
Thu Dec 13 17:36:22 CET 2007
"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1197550800.25861.typo3-dev at lists.netfielders.de...
> Steffen Kamper wrote:
>> in BE you can easy delete a page or a sysfolder. If they contain data,
>> the data is not marked as deleted, so the data structure is not
>> redundant.
>>
>> So imho deleting a page should mark all containing data as deleted too,
>> what do you think?
>
> It will break at least TemplaVoila references to content elements on other
> pages. And in some cases also insert record.
>
that might be - but if you delete the page that holds the records you have
no chance to reach the records again (only in DB)
So i thimk the proposal of Masi would be the best: Throw a warning, that
deleting page can damage your data. If you want this, delete them all (mark
as deleted).
I think check of dependencies is to difficult, you can also reference a
record in rte or with TS or with DS, as Dmitry mentioned.
But this behaviour would educate people to organize there data in a good
structure. I took a project, where data records are spread arround and this
make it really difficult to determine which data are used at any place.
vg Steffen
More information about the TYPO3-dev
mailing list