Re: [xwiki-users] Copy-Paste from Word loses images

2017-01-15 Thread novnovice
Thanks Marius. So, I infer that at least in some circustances XWiki will
accept the images embedded in a word document. Great.

This is xwiki 8.4.3; using the ckeditor which comes with the war install by
default. 

I am not sure which of the options you outline might apply here. It is
probably rhe first option you mention "there's no img HTML tag because Word
doesn't copy the image along with the content"; how can I test that? I find
that I cannot copy paste the doc with image to another instance of word; the
images are lost, just like they are in xwiki paste. That surprised me. The
images are "embedded" in the word document. I don't see a source attribute
at all. Do you have any idea if Word can "offer" the embedded images for
copy/paste? Learning something I didn't know about Word here.

The same document will import using the openoffice feature. I guess they are
not related features? I mean import and copy/paste of word documents?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Copy-Paste-from-Word-loses-images-tp7602397p7602411.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


[xwiki-users] Install Task Manager Application 2.4.1, velocity error

2017-01-15 Thread novnovice
I'm not sure if this is the correct venue for reporting an issue with a
"recommended" extension? After installing Task Manager 2.4.1, when I visit
the Task Manager page it shows an empty task list. Fine, but there is also
an error reported. 

Failed to execute the [velocity] macro. Cause: [The data types text and
nvarchar are incompatible in the equal to operator.]. 

The error message ends with these:

Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception
while hibernate execute
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1333)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1394)
at
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:165)
... 163 more
Caused by: org.hibernate.exception.SQLGrammarException: could not execute
query
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2545)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
at org.hibernate.loader.Loader.list(Loader.java:2271)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459)
at
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365)
at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:174)
at
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:166)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1327)
... 165 more
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The data types
text and nvarchar are incompatible in the equal to operator.
at
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1655)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:440)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:385)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505)
at
com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2444)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:191)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:166)
at
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:297)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
at org.hibernate.loader.Loader.doQuery(Loader.java:802)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2542)
... 175 more





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Install-Task-Manager-Application-2-4-1-velocity-error-tp7602410.html
Sent from the XWiki- Users mailing list archive at Nabble.com.