Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Live template
templateTypetemplate
templateOption{"label":"Knowledge Base Template

...

v4 Cloud Migration Ready","value":"471895789","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId471895789
excerptSummary When accessing any page that contains the outgoing-links macro, the page will display the following error: Cause org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: com.atlassian.confluence.links.OutgoingLink#260702233; SQL []; Data truncation; nested exception is java.sql.DataTruncation: Data truncation at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100) caused by: java.sql.DataTruncation: Data truncation at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:382) Stack Trace:[hide] org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: com.atlassian.confluence.links.OutgoingLink#260702233; SQL []; Data truncation; nested exception is java.sql.DataTruncation: Data truncation at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) at org.springframework.orm.hibernate.HibernateTransactionManager.convertJdbcAccessException(HibernateTransactionManager.java:619) at org.springframework.orm.hibernate.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:605) at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:518) Environment All supported Confluence and Linking add-on versions Diagnostics Steps N/A Cause There is a user macro named outgoing-links and it is conflicting with the outgoing-links from the Linking app. Workaround  N/A Resolution By default, users cannot create a user macro with the same name of an existing macro. However, older versions of Confluence do allow you to create a user macro and then install an add-on that contains the same name of the created user macro. For example, a user macro named outgoing-links was created. Then, the Linking app was installed, which also has a macro named outgoing-links. Thus now there are two macros with the same name.  This is fixed by renaming the user macro with a unique name.
fieldGroupKeys{"7vjgpiwhk6":["net.customware.confluence.plugin.scaffolding__7vjgpiwhk6__data_0_zfrz84k0n4"]}