WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13065 closed defect (bug) (invalid)

Cannot add a new post

Reported by: hananc Owned by:
Milestone: Priority: low
Severity: normal Version: 2.9.2
Component: Import Keywords:
Focuses: Cc:

Description

I have imported my blog from blogger.com which has very large post ID's.

I have created the import XML by myself and WP accepted it with no warnings.

My blog reached Post ID 9199715918729385255 (19 digits)

The ID field in wp_post table is defined as bigint(20)

Now, when I want to add a new post, WP creates a new version of the last post.

I suspect the reason is the large ID number.

It is an extreme case which I suspect is a bug.

WP 2.9.9
PHP 5
MySQL 5.0.67-log

Change History (5)

comment:1 follow-up: @mrmist5 years ago

The import process shouldn't (IMO) be trying to preserve post ID numbers. Depends if this is a situation that has only come about due to you having manually created the import XML.

comment:2 in reply to: ↑ 1 @hananc5 years ago

Replying to mrmist:

The import process shouldn't (IMO) be trying to preserve post ID numbers. Depends if this is a situation that has only come about due to you having manually created the import XML.

I don't know WP that good. If this is the case, the bug should be related to the importing component that should have warned me about defects in my XML.

comment:3 @scribu5 years ago

  • Component changed from General to Import

comment:4 @hananc5 years ago

I have renumbered all the post ID's in my blog and now it is working properly.

comment:5 @scribu5 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.