User Group Missing From Admin Pages When Server is Launched

I’m trying to move from my 3.5.10 Sybase 9.0.2 solution/databases to 4.1.5 Sybase 11.

Everything converted just fine however when I import my solution and initially checked “Create nonexisting users and add existing users to groups specified in import” only my admin group imported. I went to Developer, saw that all the users where there. Created the Users groups which was missing. Checked everyone off, saved it.

Yet when I hit the admin pages with Developer Launched I can see the Administrators Group in the drop down list and the Users Group below Group List.

[attachment=1]Admin pages with Developer Launched.png[/attachment]

[attachment=0]Groups in Developer .png[/attachment]

When I hit the admin pages with servoy_server.bat launched I can see only the Administrators Group in the drop down list and no Users Group below in the Group List.

[attachment=2]Admin pages with only server launched.png[/attachment]

Any ideas why this happened and how I can get around it?

When running developer you will see/edit the users/groups as configured in the developer workspace/your_resources_project. So you are modifying the developer’s file based “repository”.
So when you created the users/groups with developer you did so in your developer workspace. In order to see the change when running the app. server you must update the DB repository that the app. server is using.

To do this you have 2 possiblities: export your solution and import it from admin pages or use Team → Synchronize and commit the user/group changes to the DB repository.
I assumed you have the solution checked out from the Servoy DB repository where you initially imported it into.

Hi Andrei,

Andrei Costescu:
When running developer you will see/edit the users/groups as configured in the developer workspace/your_resources_project. So you are modifying the developer’s file based “repository”.

Just to be really clear, are you saying that using the Servoy-Admin pages (when Developer is running) it’s actually using the workspace ??
I understand that using the security editor in Developer you are working in the workspace, but does Server (in developer mode) too ?

Yes, when running from developer, admin page shows workspace user/groups.

startAsTeamProvider = true in developer gives you quick access to a DB repository through team, but in admin page you get mixed content like this. Also column info is read from the DB repository in this case and saved to both workspace and DB repository.

If you want to completely separete the 2 you can start developer with startAsTeamProvider = false and use a separate application server started with startAsTeamProvider = true for team operations (if you want to do this you should also change ports on app. server to avoid conflicts with developer). In this case you will not even need the repository DB server defined in developer as it’s not starting any DB repository. And it’s the way to go if you also want to use SVN or other team providers in the future.

There are other discussions about using team providers and the startAsTeamProvider property on the forum.

To do this you have 2 possiblities: export your solution and import it from admin pages

I must not have been clear enough in my original post. I tried this and it doesn’t work. That’s the issue I’m having. It’s not importing the users or groups property. See my examples.

This is what I tried to clarify with my post:

I went to Developer, saw that all the users where there. Created the Users groups which was missing. Checked everyone off, saved it.
Yet when I hit the admin pages with Developer Launched I can see the Administrators Group in the drop down list and the Users Group below Group List.

I am not sure why the initial import did not create the users/groups as expected. Did you import while running the server? If so, did you get any messages that something went wrong with the user/group import? If not, is there some exception in the workspace / servoy logs from the time you imported?