Old wiki manager UI used to propose you to force wiki creation when
the DB/schema already existed but this feature seems to not be
available anymore in the new UI. But as far as I can see this is
supported by the wiki manager script API so one solution might be to
either customize WikiManager.CreateWiki to allow it (it's mostly about
passing false as last createWiki() method parameter and remove
whatever javascript check forbid creating a wiki on existing database)
or bypass the standard wiki creation UI and use a custom script which
uses "wiki" script service (see
).
On Tue, Jan 6, 2015 at 2:14 PM, Antoine Berthelin
<antoine.berthelin(a)gmail.com> wrote:
Hello,
Thanks for your response.
Yes, I understand xwiki has to use a new schema for sub wiki for
scalability raison etc ...
But, in production environnement in a real (big) company, Oracle DBA
disallow autorisation on create user / schema operation for xwiki user
(only DBA administrator can do this operation)
Oracle DBA has to create user/schema by themself (database configuration
with "corporate option" backup rule etc ...)
A workaround could be :
- Target subwiki user/schema is provisioning by Oracle administrator (and
not xwiki application)
- Xwiki continue to update shema
So, if I comment the XWikiHibernateStore.createWiki function and previously
provisioning a schema with target subxwiki name, it should work, isn't it ?
Do you know if this option is available using file configuration ?
Best,
Antoine
2015-01-06 12:02 GMT+01:00 Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>om>:
Hello,
This is normal, see here [1]
New wiki creates a new schema.
BR,
Jeremie
[1] -
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization
2015-01-06 11:49 GMT+01:00 Antoine Berthelin <antoine.berthelin(a)gmail.com
:
Hello,
I have a question about "create a new wiki" feature on xwiki, regarding
the
code and after test, this feature create a
schema.
In Oracle, to create a schema, you have to create user.
The problem is : "Oracle administrator don't allow xwiki user to create
user/schema" in oracle database ...
File :
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
308
Hope it's a lack of understanding on my side ?
What do you think, do you have a workaround ?
Thanks for your help
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users