Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.0.6, 6.1.0
-
4
-
Severity 2 - Major
-
1
-
Description
Summary
This appears to be a regression of CONFSERVER-45921.
Environment
- Collaborative Editing enabled
Steps to Reproduce
- Create a blog post with any title
- Wait at least a day, create another blog post with the same title
Expected Results
The blog page is saved successfully
Actual Results
The page fails to save, this error is shown in the editor:
A page with the title 'A blog' already exists in this space. Enter a different title for your page.
The below exception is thrown in the atlassian-confluence.log file:
2017-04-03 11:00:00,099 WARN [scheduler_Worker-4] [hql.internal.ast.HqlSqlWalker] generatePositionalParameter [DEPRECATION] Encountered positional parameter near line 1, column 110 in HQL: [SELECT usr.name, usr.lowerName FROM com.atlassian.crowd.model.user.InternalUser usr WHERE usr.directory.id = ? ORDER BY usr.lowerName]. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead. 2017-04-03 11:23:48,630 WARN [http-nio-5610-exec-1] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions: ->[com.atlassian.confluence.api.impl.service.content.draft.ContentDraftServiceImpl.publishEditDraft]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #698454545) [null]: PROPAGATION_REQUIRES_NEW,ISOLATION_DEFAULT,readOnly (Session #716984668) -- referer: http://branno.local:5610/conf/pages/resumedraft.action?draftId=917506&draftShareId=744c9ff3-e641-411d-8ee6-446f3b5874d1 | url: /conf/rest/api/content/917506 | traceId: 777b6c9ae5b04752 | userName: admin
Notes
- This bug only exists in when collaborative editing is enabled. Disabling collaborative editing will allow blog posts to be created with the same title on different days.
Workaround
- Disable Collaborative Editing
- Click > General Configuration
- Click Collaborative editing
- Click Change Mode
- Select the Off radio button
- Click Change
Attachments
Issue Links
- is a regression of
-
CONFSERVER-45921 Blog post titles for different dates within the same space must be unique if Collaborative Editing is enabled
- Closed