Forum OpenACS Development: Re: Importing User IDs

Collapse
6: Re: Importing User IDs (response to 1)
Posted by russ m on
You'd hope that the only magic object_id values are the ones from acs_magic_objects. I know that the user_id of the administrator created at installation has changed from aD ACS 4 -> OACS 4.5 -> OACS 4.6.3, presumably due to more objects being created during the initial installation, so I'd expect that anything that's making nasty assumptions about that sort of thing would break often enough to be fixed quickly.

rather than bumping the initial value of acs_object_id_seq before installing I'd probably do it during the first reboot (as long as the user_ids you want to use are higher than ~3000 or so), to at least keep the relative ordering of installation-created and post-installation-created objects the same as usual. You'd hope that nobody's making assumptions about that, but if they are I reckon it's less likely to have been caught.

good luck!