[Neos] Uncaught exception after deleting custom content element

Carsten Bleicker carsten at bleicker.de
Sun May 4 11:16:11 CEST 2014


Is it an option to delete it manualy from db (typo3_typo3cr_domain_model_nodedata)?
So if you do such things in live, f.e. you should use a migration script, i think.
In development context you could remove it hard from the db.

Cheers
Carsten


----------------------

Carsten Bleicker
Wülfingstraße 1
42477 Radevormwald

E-Mail:	carsten at bleicker.de
Web:	www.bleicker.de
Twitter:	@carstenbleicker
Jabber:	cbleicker at jabber.ccc.de
Telefon:	02191-7894878

Am 04.05.2014 um 11:10 schrieb Thomas Breitner <tombreit at gmail.com>:

> Hi Christian, 
> 
> ok, sounds reasonable. But is there a way to delete the content element
> without recreating the corresponding Typoscript etc.? 
> 
> Something like 
>  $./flow:node:custContentElementName:delete  --force ;-)
> 
> Cheers, 
> thomas
> 
> Am Sonntag, den 04.05.2014, 10:32 +0200 schrieb Christian Müller:
>> Hi Thomas,
>> 
>> you first need to delete the content element and publish the deletion to 
>> the live workspace before deleting the configuration, otherwise you have 
>> a content element with undefined configuration in your database and get 
>> the Exception you have.
>> 
>> Cheers,
>> Christian
>> 
>> Thomas Breitner wrote:
>>> Dear community,
>>> I'm a Neos newbie and set up a new Neos (1.1-Beta2) site from scratch.
>>> 
>>> After inserting/fiddling around with a custom content element
>>> (CustPageHeadline) I finally deleted all related files and references to
>>> it, but now i get an
>>> 
>>>         Uncaught exception #1316598370 in line 374
>>>         of /var/www/sites/typo3neos/TYPO3-Neos-1.1-Beta/Packages/
>>>         Application/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/
>>>         AbstractNodeData.php: The node type
>>>         "TYPO3.Neos.NodeTypes:CustPageHeadline" is not available.
>>> 
>>> while accessing the backend (it seems the error is thrown when update
>>> the page tree). Full exception: [1].
>>> 
>>> The referencing TS in Root.ts2 was deleted, the statement in
>>> NodeTypes.yaml was deleted and even the  "Templates/TypoScriptObjects/"
>>> is deleted. The cache was successfully flushed.
>>> 
>>> Any idea how I get rid of this uncaught exception?
>>> Kind regards,
>>> Thomas
>>> 
>>> [1]
>>> https://gist.github.com/tombreit/34902c8d800ba41d666a#file-data_logs_exceptions_20140503222914b815c9-txt
>>> 
>> 
> 
> 
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list