Re: [xwiki-users] Application only saves input when xobject is opened in default language, not in other languages

2016-07-25 Thread Marius Dumitru Florea
See http://jira.xwiki.org/browse/XWIKI-9617 . I just tested and it doesn't
work for AppWithinMinutes either.

On Mon, Jul 25, 2016 at 11:20 PM, Jan-Paul Kleijn  wrote:

> Hi all,
>
> I have made an application with the following elements (with the default
> language set to English)
>
>  * class
>  * sheet
>  * template
>
> The class (bookSystemCode.bookClass) has these objects on it:
>
>  * XWiki.DocumentSheetBinding : XWiki.ClassSheet
>  * AppWithinMinutes.MetadataClass : books
>  * XWiki.ClassSheetBinding : bookSystemCode.bookSheet
>
> The sheet (bookSystemCode.bookSheet) has these objects on it:
>
>  * XWiki.SheetClass : (empty)
>  * XWiki.SheetDescriptorClass : edit
>
> The problem is that when I create a new XObject, fill the input fields and
> save the XObject it does not save the answers I have given in the input
> fields. This happens only when I open the XObject in another language as
> the default language. In the default language it works as it should.
>
> I understand that the XObject is linked to the default document but when
> done with AppWithinMinutes this change of language and saving the input
> works nicely.
>
> Can you give me a hint of what I am doing wrong here? Am I forgetting
> something?
>
> Thanks in advance
>
> Jan-Paul
>
>
>
>
> ---
> Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
> https://www.avast.com/antivirus
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Application only saves input when xobject is opened in default language, not in other languages

2016-07-25 Thread Jan-Paul Kleijn

Hi all,

I have made an application with the following elements (with the default 
language set to English)


 * class
 * sheet
 * template

The class (bookSystemCode.bookClass) has these objects on it:

 * XWiki.DocumentSheetBinding : XWiki.ClassSheet
 * AppWithinMinutes.MetadataClass : books
 * XWiki.ClassSheetBinding : bookSystemCode.bookSheet

The sheet (bookSystemCode.bookSheet) has these objects on it:

 * XWiki.SheetClass : (empty)
 * XWiki.SheetDescriptorClass : edit

The problem is that when I create a new XObject, fill the input fields 
and save the XObject it does not save the answers I have given in the 
input fields. This happens only when I open the XObject in another 
language as the default language. In the default language it works as it 
should.


I understand that the XObject is linked to the default document but when 
done with AppWithinMinutes this change of language and saving the input 
works nicely.


Can you give me a hint of what I am doing wrong here? Am I forgetting 
something?


Thanks in advance

Jan-Paul




---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] excluding WebHome from space directory livetable

2016-07-25 Thread dullfig
Hello:

I have a page that is the parent document of a space. I want to display on
that page a livetable of all the sub documents in that space. I already put
the code there, but the livetable also displays the WebHome page, wich is
the parent itself. How do I hide the WebHome page from the livetable?

Dan



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/excluding-WebHome-from-space-directory-livetable-tp7600444.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


Re: [xwiki-users] Horizontal Menu within a page

2016-07-25 Thread Marius Dumitru Florea
On Mon, Jul 25, 2016 at 5:00 PM, Paul Pinkerton (ACLCO) 
wrote:

> Thanks so much, Marius.  I was using "vertical" instead of "vertical
> collapsible" as the value.
>
>
>

> As a suggestion to the community, perhaps this page could be clarified a
> bit -
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application#HParameters
> Under Parameters, it lists horizontal and vertical as the values.  I
> missed the values used in the examples that were different.
>

There's a paragraph below the list of parameters (right under the "type"
parameter) that mentions how "collapsible" can be used.


>
> Thanks so much for your help!!
>
> Paul Pinkerton
> KnowledgeNow Project/ ACLCO
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru
> Florea
> Sent: July-25-16 5:06 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Horizontal Menu within a page
>
> It works fine for me with:
>
> {{menu type="vertical collapsible"}}
> {{include reference="Menu.Test" /}}
> {{/menu}}
>
> where Menu.Test page was created with the Menu Application using the
> default content suggested. Only the top level entries (Home, Applications,
> Documentation) are visible on page load.
>
> Hope this helps,
> Marius
>
>
> On Sat, Jul 23, 2016 at 12:10 AM, Paul Pinkerton (ACLCO) <
> pink...@lao.on.ca>
> wrote:
>
> > I am trying to figure out how to display a vertical menu within a
> > page.  I was playing around with the Menu Macro and I can get it to
> > work just fine in a panel, but in a page, only the horizontal menu
> > hides the sub items until the main item is expanded.  With the
> > Vertical, it simply displays all items.
> >
> > Any thoughts on this would be appreciated.
> >
> > Paul Pinkerton
> > KnowledgeNow Project/ ACLCO
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] AutoCompletion extension does not work

2016-07-25 Thread Alina Kupgisch

Hi Eduard,

i restarted everything (again), but that does not help. Everything looks 
good. There are no errors in the extension manager.


Have you got another idea?


Thanks for your help
Alina



Am 25.07.2016 um 18:36 schrieb Eduard Moraru:

Hi, Alina,

I may be wrong here, but could you try restarting your XWiki instance?
AFAIR, the AutoCompletion extension installs some REST services (for the
autocompletion, obviously) and at some point that required a rest module
reinitialization.

Hope this helps,
Eduard

On Mon, Jul 25, 2016 at 7:02 PM, Alina Kupgisch <
alina.kupgi...@sourcepark.de> wrote:


Hi,

i added the extension "AutoCompletion" via extension manager to my new
xwiki installation (version 8.1). When editing a new page with the content
editor no auto completion is available and even there is no syntax
highlighting.

Could you tell me, what have i done wrong?


Best regards

Alina

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] AutoCompletion extension does not work

2016-07-25 Thread Eduard Moraru
Hi, Alina,

I may be wrong here, but could you try restarting your XWiki instance?
AFAIR, the AutoCompletion extension installs some REST services (for the
autocompletion, obviously) and at some point that required a rest module
reinitialization.

Hope this helps,
Eduard

On Mon, Jul 25, 2016 at 7:02 PM, Alina Kupgisch <
alina.kupgi...@sourcepark.de> wrote:

> Hi,
>
> i added the extension "AutoCompletion" via extension manager to my new
> xwiki installation (version 8.1). When editing a new page with the content
> editor no auto completion is available and even there is no syntax
> highlighting.
>
> Could you tell me, what have i done wrong?
>
>
> Best regards
>
> Alina
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki 8.2 released

2016-07-25 Thread Vincent Massol
Hi everyone,

We would love to get feedback, especially on the Tour + new home page. We’re 
trying to make the first 5 minutes of using XWiki simpler and we need to know 
if we’re going in the right direction.

Please let us know if you like it or not! And whether you have ideas about 
other things we should do to make XWiki even simpler to use for new users.

Thanks a lot
-Vincent

> On 25 Jul 2016, at 18:21, Ecaterina Moraru (Valica)  wrote:
> 
> The XWiki development team is proud to announce the availability of XWiki
> 8.2.
> This release integrates CKEditor as the default WYSIWYG content editor. It
> also features a redesigned default homepage, a tour on the homepage to
> describe the XWiki user interface to newcomers, new default templates, a
> new application index in the drawer and a new administration UI to help
> manage available syntaxes. There are also minor improvements to the
> template providers, the Flamingo skin and Ratings. For developers, we have
> Livetable macro improvements and a long overdue change of behavior for the
> getRenderedContent() method.
> 
> You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
> 
> Make sure to review the release notes:
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki82
> 
> Thanks for your support
> -The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 8.2 released

2016-07-25 Thread Ecaterina Moraru (Valica)
The XWiki development team is proud to announce the availability of XWiki
8.2.
This release integrates CKEditor as the default WYSIWYG content editor. It
also features a redesigned default homepage, a tour on the homepage to
describe the XWiki user interface to newcomers, new default templates, a
new application index in the drawer and a new administration UI to help
manage available syntaxes. There are also minor improvements to the
template providers, the Flamingo skin and Ratings. For developers, we have
Livetable macro improvements and a long overdue change of behavior for the
getRenderedContent() method.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki82

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] AutoCompletion extension does not work

2016-07-25 Thread Alina Kupgisch

Hi,

i added the extension "AutoCompletion" via extension manager to my new 
xwiki installation (version 8.1). When editing a new page with the 
content editor no auto completion is available and even there is no 
syntax highlighting.


Could you tell me, what have i done wrong?


Best regards

Alina

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Need Help Installing XWiki on Ubuntu Server 1404 LTS

2016-07-25 Thread Polydectus84
Thank you for both of your responses.  I managed to install default-jdk , but
when I try to install xwiki-enterprise-tomcat8-mysql , I receive a similar
error:

v3@ubuntu:~$ sudo apt install xwiki-enterprise-tomcat8-mysql
[sudo] password for v3:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xwiki-enterprise-tomcat8-mysql : Depends: xwiki-enterprise-mysql-common (=
8.1+1) but it is not going to be installed
  Depends: xwiki-enterprise-tomcat8-common
(= 8.1+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Server-1404-LTS-tp7600396p7600431.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


Re: [xwiki-users] XWiki Application: Pages of one app as dropdown values of other app

2016-07-25 Thread Vincent Massol
You might also find the following of interest (slightly related):
http://platform.xwiki.org/xwiki/bin/view/DevGuide/MasterDetailTutorial

Thanks
-Vincent

> On 25 Jul 2016, at 14:56, Marius Dumitru Florea 
>  wrote:
> 
> Hi Dennis,
> 
> Maybe this can help
> http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki
> .
> 
> On Mon, Jul 25, 2016 at 3:35 PM, D R  wrote:
> 
>> Hi community,
>> 
>> I implemented a customer profile holding information about customers as an
>> XWiki application. Now in another app I'd like to have an optional field
>> that can contain the customer if it is related to one. Therefor I want to
>> list all customers (existing pages of App 1) as dropdown values of a field
>> of App 2.
>> 
>> To illustrate what I'd like to achieve:
>> 
>> App 1 (holding customer information):
>> |-- Page "Customer 1"
>> |-- Page "Customer 2"
>> ...
>> 
>> App 2 (holding other information but can be customer related):
>> |-- Page 1
>>|-- Field "Customer" = Dropdown of Pages of App 1 (Customer 1, Customer
>> 2 ...)
>> 
>> I'm rather new in scripting in XWiki/Velocity so I'd really appreciate some
>> help on this :)
>> 
>> Regards,
>> Dennis
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1

2016-07-25 Thread Clemens Klein-Robbenhaar
The next thing that comes to my mind is to rerun the SQL statements needed to 
purge duplicate ids in the starts,
as in

  http://jira.xwiki.org/browse/XWIKI-8129

I remember I posted this already in the thread, but I cannot see from the 
thread if you ran them successfully.

As far as I understood they did not run without error so far?
If you did run them already, then this must be something else ...


It looks like the manual changes to the database confused the DB upgraders; 
that is what the checksum error probably means.
Unfortunately I cannot find the place where the "checksums" are stored; I guess 
the checksum must be updated manually, or some steps skipped manually.

Clemens


- Ursprüngliche Nachricht -
Von: Jhaimerl
Am:  Monday, 25.07.2016, 10:57
An: XWiki Users
Betreff: Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1


> Hi Clemens,
> 
> tried your advice and checked the installation folder for duplicate
> jar-files. Couldn't find any. I also used jwhich.jar for that purpose
> without any results. Also I repeated the whole process with different
> versions of XWiki (4.0, 4.2).
> 
> Still I'm faced by the checksum errors you already mentioned around line
> 310.
> 
> Any ideas or hints whatelse I could try?
> 
> Many thanks and best regards
> Josef
> 
> 
> Clemens Klein-Robbenhaar wrote
>> Hi Josef,
>>
>>  there are a lot of messages saying that one component wants to overwrite
>> another component with the same name, class and priority.
>>
>> This usually happens if two XWiki version are unpacked on top of each
>> other, so the WEB-INF/lib contains the *.jar for both versions.
>> This might cause a lot of other problems, too
>>
>> Can you please check if you have some "duplicate" jars in your WEB-INF/lib
>> directory e.g. both a xwiki-platform-component-script-4.2.jar and a
>> xwiki-platform-component-script-7.4.jar or the like?
>>
>> The actual problem then is around line 310 (next DB upgrade issue) - if
>> there are duplicate jars, hopefully this can be sorted out by repairing
>> the installation.
>> Otherwise we have to think about it again what might fix the issue this
>> time.
>>
>> hope this helps
>> Clemens
>>
>>
>> Jhaimerl wrote on Monday, 04.07.2016, 16:16
>>> Hi Clemens,
>>>
>>> first of thanks again. I followed your advice and executed the longish
>>> sql
>>> statement - didn't work.
>>> I then removed the relationships between tables and changed the datatype
>>> of
>>> the id columns to BIGINT manually by following the exceptions in the log.
>>>
>>> So I finally got through that part of the migration. Now I'm stuck with a
>>> new type of error, please see line 162 here http://pastebin.com/YLzwvxmh.
>>>
>>> Has somebody ever seen this?
>>>
>>> Thank you and best regards
>>> Josef
>>>
>>>
>>> Clemens Klein-Robbenhaar wrote
 Oh, this looks odd.

 The upgrade process first tried to find the name for the primary key;
 that
 is the statement:

 select @pkname=i.name from sysindexes i join sysobjects o ON i.id = o.id
 join sysobjects pk ON i.name = pk.name AND pk.parent_obj = i.id AND
 pk.xtype = 'PK' join sysindexkeys ik on i.id = ik.id AND i.indid =
 ik.indid join syscolumns c ON ik.id = c.id AND ik.colid = c.colid where
 o.name = 'xwikidates'

 it then gets a result "PK__xwikidates__6FD49106"

 but when it tries to drop this constrain via:

 'alter table [dbo].[xwikidates] drop constraint ' + @pkname

 it fails with   'PK__xwikidates__6FD49106' is not a constraint. Huh?

 Can you try to run that longish SQL Query from an SQL-console or the
 like,
 just to see if that returns the same result?

 To proceed the update, maybe it helps to drop the constraint for the
 primary key of the 'xwikidates' table manually and see what the next
 error
 is, probably there are more PK-constraints with that problem.
 (I hope you have backups, otherwise this is very bad advice ;) )

 Clemens

> First of all thank you for your answer, Clemens.
>
> There a different exceptions in the log-file for executing
> sql-statements.
> Please see http://pastebin.com/BFABwpNz.
>
> All the errors are in relation to the xwikidates table.
> Do you have any idea how to fix this?
>
> Thanks again and best regards
> Josef
>
>
> Clemens Klein-Robbenhaar wrote
>> It seems a DB migration failed; you can find the error in the log file
>> after startup, above of the messages you posted.
>>
>> It is likely that it is the statistics migration
>>
>> You can try the SQL statements from here:
>>   http://jira.xwiki.org/browse/XWIKI-8129
>>
>> as found in the release notes of 4.3:
>>  
>> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43#HGeneralNotes
>>
>> If it is not the statistics, please locate the error from the failed
>> migration
>> (should be somewhere after 

Re: [xwiki-users] Horizontal Menu within a page

2016-07-25 Thread Paul Pinkerton (ACLCO)
Thanks so much, Marius.  I was using "vertical" instead of "vertical 
collapsible" as the value.  


As a suggestion to the community, perhaps this page could be clarified a bit - 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application#HParameters
Under Parameters, it lists horizontal and vertical as the values.  I missed the 
values used in the examples that were different.

Thanks so much for your help!! 

Paul Pinkerton
KnowledgeNow Project/ ACLCO

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: July-25-16 5:06 AM
To: XWiki Users
Subject: Re: [xwiki-users] Horizontal Menu within a page

It works fine for me with:

{{menu type="vertical collapsible"}}
{{include reference="Menu.Test" /}}
{{/menu}}

where Menu.Test page was created with the Menu Application using the default 
content suggested. Only the top level entries (Home, Applications,
Documentation) are visible on page load.

Hope this helps,
Marius


On Sat, Jul 23, 2016 at 12:10 AM, Paul Pinkerton (ACLCO) 
wrote:

> I am trying to figure out how to display a vertical menu within a 
> page.  I was playing around with the Menu Macro and I can get it to 
> work just fine in a panel, but in a page, only the horizontal menu 
> hides the sub items until the main item is expanded.  With the 
> Vertical, it simply displays all items.
>
> Any thoughts on this would be appreciated.
>
> Paul Pinkerton
> KnowledgeNow Project/ ACLCO
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Application: Pages of one app as dropdown values of other app

2016-07-25 Thread Marius Dumitru Florea
Hi Dennis,

Maybe this can help
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki
.

On Mon, Jul 25, 2016 at 3:35 PM, D R  wrote:

> Hi community,
>
> I implemented a customer profile holding information about customers as an
> XWiki application. Now in another app I'd like to have an optional field
> that can contain the customer if it is related to one. Therefor I want to
> list all customers (existing pages of App 1) as dropdown values of a field
> of App 2.
>
> To illustrate what I'd like to achieve:
>
> App 1 (holding customer information):
> |-- Page "Customer 1"
> |-- Page "Customer 2"
> ...
>
> App 2 (holding other information but can be customer related):
> |-- Page 1
> |-- Field "Customer" = Dropdown of Pages of App 1 (Customer 1, Customer
> 2 ...)
>
> I'm rather new in scripting in XWiki/Velocity so I'd really appreciate some
> help on this :)
>
> Regards,
> Dennis
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki Application: Pages of one app as dropdown values of other app

2016-07-25 Thread D R
Hi community,

I implemented a customer profile holding information about customers as an
XWiki application. Now in another app I'd like to have an optional field
that can contain the customer if it is related to one. Therefor I want to
list all customers (existing pages of App 1) as dropdown values of a field
of App 2.

To illustrate what I'd like to achieve:

App 1 (holding customer information):
|-- Page "Customer 1"
|-- Page "Customer 2"
...

App 2 (holding other information but can be customer related):
|-- Page 1
|-- Field "Customer" = Dropdown of Pages of App 1 (Customer 1, Customer
2 ...)

I'm rather new in scripting in XWiki/Velocity so I'd really appreciate some
help on this :)

Regards,
Dennis
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Need Help Installing XWiki on Ubuntu Server 1404 LTS

2016-07-25 Thread Thomas Mortagne
Fixed in http://jira.xwiki.org/browse/XE-1565. Should be Ok in 8.2 now
(if java is not installed already it will install openjdk as it used
to).

On Sun, Jul 24, 2016 at 8:00 PM, Thomas Mortagne
 wrote:
> Looks like Ubuntu changed the way to deal with
> java-runtime-headless. Requesting java7-runtime-headless used
> to automatically install openjdk 7. I usually install Oracle JVM so I
> did not noticed it.
>
> Would be great if you could create an issue about that on
> http://jira.xwiki.org. Will have to bind better dependencies...
>
> On Fri, Jul 22, 2016 at 11:01 PM, Polydectus84  wrote:
>> Sorry to pest but I am still trying to do this and am pulling my hair out in
>> the process.  I really would like to start using XWiki.  I haven't been able
>> to make any progress.  I have tried to install the dependencies but it is as
>> if they don't exist.
>>
>> *When trying to install dependency: xwiki-enterprise-mysql-common:*
>>
>> v3@ubuntu:~$ sudo apt-get install xwiki-enterprise-mysql-common
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>>  xwiki-enterprise-mysql-common : Depends: xwiki-enterprise-common (= 8.1+1)
>> but it is not going to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> *When trying to install xwiki-enterprise-common:*
>>
>> v3@ubuntu:~$ sudo apt-get install xwiki-enterprise-common
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>>  xwiki-enterprise-common : Depends: java8-runtime-headless but it is not
>> installable or
>> java8-runtime but it is not installable
>> E: Unable to correct problems, you have held broken packages.
>>
>> *When trying to install java8-runtime-headless:*
>>
>> v3@ubuntu:~$ sudo apt-get install java8-runtime-headless
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Package java8-runtime-headless is not available, but is referred to by
>> another package.
>> This may mean that the package is missing, has been obsoleted, or
>> is only available from another source
>>
>> E: Package 'java8-runtime-headless' has no installation candidate
>>
>> When trying to install java8-runtime:
>>
>> v3@ubuntu:~$ sudo apt-get install java8-runtime
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Package java8-runtime is not available, but is referred to by another
>> package.
>> This may mean that the package is missing, has been obsoleted, or
>> is only available from another source
>>
>> E: Package 'java8-runtime' has no installation candidate
>>
>> Is this installation method exclusively for Debian or will it work with
>> Ubuntu?  Am I doing something wrong or is there an issue with the repo?
>> Please remember that my understanding of Ubuntu is elementary, but from what
>> I can gather, it looks like it is something wrong with the repo.
>>
>>
>>
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Server-1404-LTS-tp7600396p7600412.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
>
>
>
> --
> Thomas Mortagne



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Horizontal Menu within a page

2016-07-25 Thread Marius Dumitru Florea
It works fine for me with:

{{menu type="vertical collapsible"}}
{{include reference="Menu.Test" /}}
{{/menu}}

where Menu.Test page was created with the Menu Application using the
default content suggested. Only the top level entries (Home, Applications,
Documentation) are visible on page load.

Hope this helps,
Marius


On Sat, Jul 23, 2016 at 12:10 AM, Paul Pinkerton (ACLCO) 
wrote:

> I am trying to figure out how to display a vertical menu within a page.  I
> was playing around with the Menu Macro and I can get it to work just fine
> in a panel, but in a page, only the horizontal menu hides the sub items
> until the main item is expanded.  With the Vertical, it simply displays all
> items.
>
> Any thoughts on this would be appreciated.
>
> Paul Pinkerton
> KnowledgeNow Project/ ACLCO
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1

2016-07-25 Thread jhaimerl
Hi Clemens,

tried your advice and checked the installation folder for duplicate
jar-files. Couldn't find any. I also used jwhich.jar for that purpose
without any results. Also I repeated the whole process with different
versions of XWiki (4.0, 4.2).

Still I'm faced by the checksum errors you already mentioned around line
310.

Any ideas or hints whatelse I could try?

Many thanks and best regards
Josef


Clemens Klein-Robbenhaar wrote
> Hi Josef,
> 
>  there are a lot of messages saying that one component wants to overwrite
> another component with the same name, class and priority.
> 
> This usually happens if two XWiki version are unpacked on top of each
> other, so the WEB-INF/lib contains the *.jar for both versions.
> This might cause a lot of other problems, too
> 
> Can you please check if you have some "duplicate" jars in your WEB-INF/lib
> directory e.g. both a xwiki-platform-component-script-4.2.jar and a
> xwiki-platform-component-script-7.4.jar or the like?
> 
> The actual problem then is around line 310 (next DB upgrade issue) - if
> there are duplicate jars, hopefully this can be sorted out by repairing
> the installation.
> Otherwise we have to think about it again what might fix the issue this
> time.
> 
> hope this helps
> Clemens
> 
> 
> Jhaimerl wrote on Monday, 04.07.2016, 16:16
>> Hi Clemens,
>> 
>> first of thanks again. I followed your advice and executed the longish
>> sql
>> statement - didn't work.
>> I then removed the relationships between tables and changed the datatype
>> of
>> the id columns to BIGINT manually by following the exceptions in the log.
>> 
>> So I finally got through that part of the migration. Now I'm stuck with a
>> new type of error, please see line 162 here http://pastebin.com/YLzwvxmh.
>> 
>> Has somebody ever seen this?
>> 
>> Thank you and best regards
>> Josef
>> 
>> 
>> Clemens Klein-Robbenhaar wrote
>>> Oh, this looks odd.
>>>
>>> The upgrade process first tried to find the name for the primary key;
>>> that
>>> is the statement:
>>>
>>> select @pkname=i.name from sysindexes i join sysobjects o ON i.id = o.id
>>> join sysobjects pk ON i.name = pk.name AND pk.parent_obj = i.id AND
>>> pk.xtype = 'PK' join sysindexkeys ik on i.id = ik.id AND i.indid =
>>> ik.indid join syscolumns c ON ik.id = c.id AND ik.colid = c.colid where
>>> o.name = 'xwikidates'
>>>
>>> it then gets a result "PK__xwikidates__6FD49106"
>>>
>>> but when it tries to drop this constrain via:
>>>
>>> 'alter table [dbo].[xwikidates] drop constraint ' + @pkname
>>>
>>> it fails with   'PK__xwikidates__6FD49106' is not a constraint. Huh?
>>>
>>> Can you try to run that longish SQL Query from an SQL-console or the
>>> like,
>>> just to see if that returns the same result?
>>>
>>> To proceed the update, maybe it helps to drop the constraint for the
>>> primary key of the 'xwikidates' table manually and see what the next
>>> error
>>> is, probably there are more PK-constraints with that problem.
>>> (I hope you have backups, otherwise this is very bad advice ;) )
>>>
>>> Clemens
>>>
 First of all thank you for your answer, Clemens.

 There a different exceptions in the log-file for executing
 sql-statements.
 Please see http://pastebin.com/BFABwpNz.

 All the errors are in relation to the xwikidates table.
 Do you have any idea how to fix this?

 Thanks again and best regards
 Josef


 Clemens Klein-Robbenhaar wrote
> It seems a DB migration failed; you can find the error in the log file
> after startup, above of the messages you posted.
>
> It is likely that it is the statistics migration
>
> You can try the SQL statements from here:
>   http://jira.xwiki.org/browse/XWIKI-8129
>
> as found in the release notes of 4.3:
>  
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43#HGeneralNotes
>
> If it is not the statistics, please locate the error from the failed
> migration
> (should be somewhere after the line: "Checking Hibernate mapping and
> updating schema if needed for wiki [xwiki]" )
>
> HTH
> Clemens
>
>
> - Ursprüngliche Nachricht -
> Von: Jhaimerl
> Am:  Tuesday, 28.06.2016, 09:59
> An: Xwiki Users
> Betreff: [xwiki-users] Can't Upgrade from XWiki 3.5.1
>
>
>> Hi,
>>
>> I'm trying to upgrade an existing XWiki Instance (V3.5.1). It's
>> running
>> with
>> a MSSQL database.
>>
>> I already tried the following (see referenced links below) and
>> upgrades
>> to
>> different higher versions of XWiki e.g. 4.x, 5.4.x. However I always
>> get
>> this exception http://pastebin.com/yeaFQAtt.
>>
>> http://xwiki.475771.n2.nabble.com/Another-migration-problem-3-5-to-4-1-3-td7580726.html#a7580809
>> http://lists.xwiki.org/pipermail/users/2012-August/023537.html
>> http://xwiki.475771.n2.nabble.com/Failed-migration-from-3-0-to-4-3-1-td75833