[xwiki-users] How to deal with a incorrectly moved page?
How to deal with a incorrectly moved page? I modified the parent in rename action, so the page becomes invisible. I can see it in “Page Index”, but I CAN NOT do open/rename/restore the page now. In Page Index, it Location is TCM_Department TCM_Department.项目组织架构.1\.后端开发组.后端技术文档 微信绑定手机 And URL encoded as: http://xwiki.sogou-inc.com/xwiki/bin/view/TCM_Department/TCM_Department.项目组织架构.1%5C.后端开发组.后端技术文档/微信绑定手机/ HTML code is below TCM_DepartmentTCM_Department.项目组织架构.1\.后端开发组.后端技术文档微信绑定手机 How can I fix this problem to get back my page? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Users disappearing on mywiki?
Sorry I just saw your message (it ended up in spam). Do you still have the issue ? http://scservicesub.myxwiki.org looks fine from the pages I checked. On Wed, May 18, 2016 at 3:29 PM, Regan Gillwrote: > I am having a couple of issues. Firstly, most users are not working and it > appears to be that they need to be migrated to XWiki 2 from 1 and I am not > sure why that wasn't automatic or if there is a bulk way to do that. If I do > it manually on each user they can then log in and their profile shows > correctly again. > But secondly a bunch of macros wont execute now, including ones in the Admin > section - it appears that something changed after I did the last upgrade. > Any ideas for how to fix these? > > From: Regan Gill > To: "users@xwiki.org" > Sent: Tuesday, May 17, 2016 9:17 PM > Subject: Users disappearing on mywiki? > > Did any one else have users disappear on their wiki on mywiki.org?A number of > ours no longer exist. I just discovered this today on > scservicesub.mywiki.org. The User Directory is not working either. > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Custom Mapping.
Hello. It would be better with a stack trace so we can see what happens. Have you executed the groovy script, as explained there: http://platform.xwiki.org/xwiki/bin/view/DevGuide/CustomMapping Thanks, Guillaume 2016-06-02 21:49 GMT+02:00 dullfig: > Ok, first off, I tried, I really did > > I'm trying to map an object called Data.Code.Employee.Class to its own > table. Here's what I have done so far: > > In \xwiki\WEB-INF\ i have a file called EmployeeClass.hbm.xml that has the > following content > > > > >-//Hibernate/Hibernate Mapping DTD//EN > http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd;> > > > > > > > > length="255"/> > length="255"/> > length="255"/> > > column="xws_supervisor"/> > > > > length="255"/> > length="255"/> > length="255"/> > length="255"/> > > length="255"/> > length="255"/> > > > > > Then in the hibernate.cfg.xml file I added a mapping resource to the MySQL > section like this: > > > jdbc:mysql://localhost/xwiki > xwiki > xwiki > name="connection.driver_class">com.mysql.jdbc.Driver > name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect > true > 20 > > > > > > > > I also enabled custom mapping by setting > xwiki.store.hibernate.custommapping=1 in xwiki.cfg > > I created the xwikiemployeeclass table in MySQL manually and it made no > difference. > > So here is what happens: if I add the mapping resource to the hibernate > file, xwiki freezes at about 50% loading. If I remove that line everything > is fine. I'm fresh out of ideas. > > HELP!! > > Dan > > PS.: none of those other xml files mentioned in the MySQL section seem to > be > anywhere. Can't find them. Where are they? (like the instance.hbm.xml file > for example) > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Custom-Mapping-tp7599790.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Guillaume Delhumeau (guillaume.delhum...@xwiki.com) Research & Development Engineer at XWiki SAS Committer on the XWiki.org project ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users