Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13065 closed defect (bug) (invalid)

Cannot add a new post

Reported by: hananc's profile 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)

#1 follow-up: @mrmist
14 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.

#2 in reply to: ↑ 1 @hananc
14 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.

#3 @scribu
14 years ago

  • Component changed from General to Import

#4 @hananc
14 years ago

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

#5 @scribu
14 years ago

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