Hi Stefan.

Try this solution:

To solve the problem, the default database (check sqldd.map file in
WEB-INF/src/sql directory) should get executed first, then everything
else. Now what you can do it to manually edit the generated file, just
simply remove the line says default

#Sqlfile -> Database map
#Fri Jul 19 23:50:15 EDT 2002 third-schema-idtable-init.sql=third
turbine-schema.sql=newapp
second-schema-idtable-init.sql=second
newapp-schema.sql=newapp
third-schema.sql=third
id-table-schema.sql=default          <-----------------remove this line
turbine-schema-idtable-init.sql=newapp
newapp-schema-idtable-init.sql=newapp
second-schema.sql=second
turbine-security.sql=newapp

And then run ant insert-sql-files again will do the trick.

/Jonas

-----Ursprungligt meddelande-----
Fr�n: Bozic, Stefan (FF) [mailto:[EMAIL PROTECTED]] 
Skickat: den 8 oktober 2002 11:08
Till: '[EMAIL PROTECTED]'
�mne: no proper entry in the ID_TABLE


Hello there,
when i add some new Permissions to the turbine-security.xml

        <!-- Permissions --> 
        <TurbinePermission PermissionId="1"
PermissionName="admin_users"/>
        <TurbinePermission PermissionId="2"
PermissionName="homepage_access"/>
        <TurbinePermission PermissionId="3"
PermissionName="news_anzeigen"/>
        <TurbinePermission PermissionId="4"
PermissionName="news_anlegen"/>


they wont be shown in the Permission-Screen. The same thing for new
Roles.
Additional when i try to execute the add new Permission action i got
this
exception:

Caused by: org.apache.turbine.util.security.DataBackendException:
addRole(Role) failed: The table TURBINE_ROLE does not have a proper
entry in
the ID_TABLE

The PERMISSION-TABLE use the IdBroker

I dont�t know whats going wrong

Stefan






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to