Re: Permanently delete global attributes

Hussayn Dabbous <[email protected]> Thu, 11 Jun 2009 19:29:21 +0200
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
Apparently you have created a database inconsistency.
Your best chance would be to playback your hopefully existing
database backup. Then we could find a better way to discard the attributes
from the administrators view. That could probably be done within the 
velocity
templates with very small effort. Which version of scarab are you using ?

If you can not manage to roll back your database modifications, your 
only option
will be to repair the database by hand. You should see the true cause 
near the end of the
stack trace shown in the browser window (the last "caused by" entry). 
Scroll down in the
browser and lookup what exception you can see down there. I bet you get 
a NPE which is
caused by data not found in the database.

If you need assistance, try to drill down the error as far as you can 
get and report your results
here in the forum. Probably you will get help.

As i am currently in the mood to earn a bit of extra money, and if you 
got the budget, you also
could hire me for repairing your database ;-)

good luck,
Hussayn

[email protected] wrote:
> Hi every one!!
>
> We installed a scarab, and we were trying it adding some attribs, issues, attrib groups, etc...
>
> Then, once the boss said it is ok we will use Scarab, we started to delete attribs, and every thing, but when we deleted the attribs, they remained there, the administrator could still see them striked, but we wanted them to desapear completely, so we deleted them from the mysql database, and we deleted some other fileds in some other tables, those fields we supposed we should delete.
>
> And now, it works ok, until we try to set a condition in an attribute :-S
>
> It says:
> org.apache.turbine.TurbineException: org.apache.fulcrum.ServiceException: Error rendering Velocity template: layouts/Default.vm
>
> I can see the JAVA exception directly in the scarab browser.
>
> What sould I do in order to repair this? Do I need to add something in the DB?
> Do not tell me to reinstall scarab or mysql and to start over the database feeding, cause we have already fed it with about 250 attribs so far...
>
> Help!!!! Please!!!
>
> Thanks in advance!!
>
> ------------------------------------------------------
> http://scarab.tigris.org/ds/viewMessage.do?dsForumId=456&dsMessageId=2361287
>
> To unsubscribe from this discussion, e-mail: [[email protected]].
>   


-- 
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln

tel.: +49 221 560 11 0
fax.: +49 221 560 11 20

mailto:[email protected]
http://www.saxess.de
http://www.saxess.com
http://www.saxess.org

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=456&dsMessageId=2361387

To unsubscribe from this discussion, e-mail: [[email protected]].