On Sun, Apr 3, 2016 at 4:32 PM, Peter Huisman <p.huisman(a)ximm.nl> wrote:
> Hi,
>
> A few short questions:
>
> What is the storage limit when NOT using Relational Storage for each
> selected item? - I assume this is 255 but I’m not sure.
> What is the storage limit when NOT using Relational Storage for all
> selected items in total? - I do not know what to make of this.
>
I think the quote you pasted is pretty clear: if you're not using
Relational Storage then all the selected items (values) are saved in the
same VARCHAR field which is limited, normally, to 255 characters. So
there's no per-selected-item limit but only for-all-selected-items limit
(i.e. for the concatenation).
Hope this helps,
Marius
>
> The only reference I could find is a quote in an XWiki-devs mail in 2011:
>
> > Make sure you select the Multiple Select and Relational Storage
> > checkboxes. Multiple Select allows you to select and store multiple
> > values from the list, while Relational Storage makes it easier to
> > integrate that property into other queries by storing each selected item
> > in its own entry in the database (without it all the selected values are
> > stored in one row, concatenated into a VARCHAR column), and to store
> > more than a few selected values (since the column allows at most 255
> > characters in total).
> With kind regards,
>
> Peter
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
I deleted all of the 8%2E0 folders and reset the DB. Now it's loading with 8.0, but this time I never got the DW wizard at all. So I am switching us to production MySQL. I have a sneaky suspicion that the UI is not updated properly, but it's working (and it does seem faster, as the release notes indicate), so I am calling this good enough until we run into a problem.
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Sunday, April 3, 2016 12:10 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem
I just tried again. After upgrading the application files, I skipped the Distribution Wizard and we still have the correct permissions. So I ran the DW and I got this:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki] class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
....................
So I removed all of the folders named "8%2E0", that allowed me to complete the DW. I did see a page about XWikiAdminGroup being changed, so I kept my old version this time. However, after the DW was complete, permissions are gone again.
Resetting back to 7.4.2 to try again.
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Friday, April 1, 2016 10:55 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem
Hmm, no response. Does nobody have any ideas or are you all mad at me about my documentation comments?
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Monday, March 28, 2016 9:05 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem
I still can't figure out what is causing this issue. We use LDAP (Active Directory) if that helps.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 5:21 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:52 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki] class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
_______________________________________________
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
I still can't figure out what is causing this issue. We use LDAP (Active Directory) if that helps.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 5:21 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:52 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
I have pages which include the text: (i)
The Xwiki syntax is converting this into: image:icon:information
I have tried the following in an attempt to escape this text:
~(i~) which is completely ignored.
{{{(i)}}} which leaves only a blank space
Any suggestions on how I can get the desired plain text? Thanks for your time.
Regards,
Jesse
Hi,
I spent the last week or so figuring out very strange behavior which I could not explain. I’m not sure if any sort of code would be helpful so I just explain what the situation is:
We have a class “caseClass” containing (among others) the following DBList:
Name = product
Pretty Name = product
Custom Display = [
{{velocity}}
#set ($propertyClass = $object.getxWikiClass().get($name))
#if ($type == 'edit')
{{html clean=false}}
$doc.displayEdit($propertyClass, $prefix, $object)
{{/html}}
#else
#set($listMap=$propertyClass.getMapValues())
#foreach($fieldKey in $object.getProperty($name).value)
#set($fieldValue=$listMap.get($fieldKey).getValue())
[[${fieldValue}>>$services.PropertyManager.getSourceURL(${fieldKey})]]
#end
#end
{{/velocity}}
]
DisplayType = select
Multiple Select = true
Since of box = 10
Multiselect seperators = [empty]
Join seperator = [ , ]
Sort = none
Relational Storage = true
Cache = false
Hibernate Query = [
SELECT idVarProp.value, CONCAT(codeVarProp.value, ' - ', naamVarProp.value, ' (', codeProdProp.value, ' - ', naamProdProp.value, ')')
FROM BaseObject obj, StringProperty idVarProp, StringProperty codeVarProp, StringProperty naamVarProp, StringProperty idVarProdProp,
BaseObject obj2, StringProperty idProdProp, StringProperty codeProdProp, StringProperty naamProdProp
WHERE obj.className = 'PDCKlassen.VariantClass' AND
obj2.className = 'PDCKlassen.ProductClass' AND
idVarProp.id.id = obj.id AND idVarProp.id.name = 'identificatieString' AND
codeVarProp.id.id = obj.id AND codeVarProp.id.name = 'codeVariant' AND
naamVarProp.id.id = obj.id AND naamVarProp.id.name = 'naamVariant' AND
idVarProdProp.id.id = obj.id AND idVarProdProp.id.name = 'product' AND
idProdProp.id.id = obj2.id AND idProdProp.id.name = 'identificatieString' AND
codeProdProp.id.id = obj2.id AND codeProdProp.id.name = 'productCode' AND
naamProdProp.id.id = obj2.id AND naamProdProp.id.name = 'naam' AND
idVarProdProp.value = idProdProp.value AND
obj.name <> 'PDCKlassen.VariantTemplate' AND obj2.name <> 'PDCKlassen.ProductTemplate'
ORDER BY codeProdProp.value, codeVarProp.value
]
XWiki Class name = [empty]
Id Field Name = [empty]
Value Field Name = [empty]
The functional side is, that this field can contain 0 - n occurrences.
We have a java based listener that is used to save pages with one (and only one) object this class on the page with a version comment:
xwikiContext.getWiki().saveDocument(XWikiDocument, comment, true, xwikiContext)
Situation 1: The object contains zero references (i.e. is empty)
the following is happening:
Version 1.1 - This is the initial version
After generating a listener event that saves the document (version 1.1) as above:
Version 1.2 - with the proper comment as passed by the save and as comment “first comment"
After generating another listener event that saves the same document (version 1.2 this time) as above and as comment “second comment":
Version 1.2 - no change detected. The version comment is still “first comment”
Editing the page and pressing save button:
Version 1.3 (minor edit) of Version 2.1 (major edit)
If I go back to the first step (as described after Version 1.1), the same results show up.
I have checked everything up to that actual save in the XWiki class. I can see that the information passed to the saveDocument in the XWiki class is the ‘right’ information.
Situation 2: The object contains one (or more) references (i.e. is not empty)
the following is happening:
Version 1.1 - This is the initial version
After generating a listener event that saves the document (version 1.1) as above with comment “first comment"
Version 1.2 - with the proper comment as passed by the save and as comment “first comment"
After generating another listener event that saves the same document (version 1.2 this time) as above and as comment “second comment":
Version 1.3 - with the proper comment as passed by the second save and the comment “second comment”
Since I did not understand what is actually happening, I have dogged in the various aspects such as comparing object, sheets and whatnot but I could not detect any difference.
Until I decided to change “Relational Storage” to false. This resulted in the proper situation (described by Situation 2 - with an empty DBList as well as an non-empty DBList)
What is the effect is for the “Relational Storage” parameter?
Why is the situation as above occurring and is this the expected result or is this a bug or undocumented feature?
I’m sorry for the extensive explanation but it took me also a while to figure out what happened.
Br,
Peter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Today I wanted to upgrade our XWiki installation from 7.4.1 to 7.4.2.
I did a WAR upgrade, following the documentation at
<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewe…>
(I successfully performed these steps with previous xwiki versions many times)
In my installation, XWiki runs on apache-tomcat-7.0.61 under java version 1.8.0_73
I use PostgreSQL as database. User authentication is done against our
After restart of Tomcat XWiki started and initialized at first access as usual and
I could login as user with admin rights without problems, but then I noticed some
strange things:
1) the distribtion wizard did not appear after first login with admin rights
2) In the page footer (and with $xwiki.getVersion()) I still see version 7.4.1
Apart from that, the wiki seems to work. I can not see any difference to the
previous version (including the version number, which made me wonder the upgrade
might have failed in some way)
I then removed the .../jobs/status/distribution/status.xml file and restarted
Tomcat, but the DW still did not start and I still see version 7.4.1.
The status.xml file was not re-created, the directory .../jobs/status/distribution
is currently empty.
I checked the following:
*) tomcat/webapps/xwiki/WEB-INF/lib contains libraries from Feb. 29th, 2016
*) all xwiki-*.jar files in WEB-INF/lib have version 7.4.2
*) the xwiki WAR file I used is:
andreas@dyn239:~/Download> ll xwiki-enterprise-web-7.4.2.war
- -rw-rw-r-- 1 andreas outlaws 230759467 29. Mär 13:32 xwiki-enterprise-web-7.4.2.war
andreas@dyn239:~/Download> sha1sum xwiki-enterprise-web-7.4.2.war
8378e85f72ee91a3fb2d279c75f6a40f0d57e84d xwiki-enterprise-web-7.4.2.war
Is this expected behaviour with v7.4.2?
Thanks!
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iD8DBQFW+njwxJmyeGcXPhERAqKoAJ9CQQR3ckUkfSRQiqwhBQg63obthwCfW2Vq
vhrJVOQM88aJKCtwce/yJ/Y=
=MvtJ
-----END PGP SIGNATURE-----
I have successfully configured our xwiki site to use LDAP authentication
against Active Directory. The convention for the user IDs in our Active
Directory is to use a period to separate the given name and surname as in
mark.sack. I added the LDAPProfileClass object to the user profiles to map
the Active Directory IDs to the internal wiki ones. I had created the users
before implementing the Active Directory authentication with the convention
of an underscore in between the given name and the surname.
Now I would like to implement a single signon solution for all of our
applications and have set up a CAS server to authenticate against Active
Directory. The authentication works fine but the CAS authentication in xwiki
seems to simply strip out the period in the Active Directory ID instead of
mapping to the existing user. I observed the following behaviour:
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 1 and login
as mark.sack (with my Active Directory password), the login is successful.
But xwiki creates a new user with id marksack instead of mapping to the
existing mark_sack user (mark_sack has the LDAPProfileClass set to
mark.sack).
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 0 and login
as mark.sack, the login fails with a message that to the effect that the
user does not exist.
How could I achieve the mapping of xwiki users to Active Directory for CAS
authentication?
Our system is relatively small (about 40 users so far) and has not yet
really been rolled out to the user community. So if need be, I could create
new xwiki users following the convention required by xwiki (no character
between the given name and surname). But I would prefr to avoid that if I
can.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Users,
i added over 500 Pages to the new XWiki and now want to sort it in depth.
But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i change
the Parent of a Page?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I noticed that the supported version of PostgreSQL for XWiki 8.0 is 9.4.5.
But for 7.4.2 it is 9.5. Is there some significance to this, eg. there is
some function in 8.0 that was found not to work with PostgreSQL 9.5? Or is
this simply an artefact of the testing process? Is there a need to downgrade
PostgreSQL to 9.4.5 if I upgrade XWiki to 8.0?
The database support strategy page could be interpreted to indicate that all
PostgreSQL 9.x releases are supported. But I find it hard to believe that
you would be that generous (9.0 has reached its end of life milestone and
9.1 is almost there).
--
View this message in context: http://xwiki.475771.n2.nabble.com/PostgreSQL-version-downgraded-for-8-0-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.