Skip to main content
avillanueva
23-Emerald I
23-Emerald I
July 23, 2025
Solved

Upgrade to 13.0 from 12.0.2 fails to convert all Discussion Postings to Rich Text

  • July 23, 2025
  • 1 reply
  • 348 views

Just noting here but my question is more of a why does this occur? Solution is relatively easy. Discussion comments appear with ???name??? like this:

 

avillanueva_1-1753288258748.png

Solution is clearly documented by article CS436187: https://www.ptc.com/en/support/article/CS436187?source=search 

I have over 201K comments in my system but when I rant the check query the article described, 40000 remained. Its too round of a number to be believed so what's going on here? I suspect its some query limit but not sure where. 

I ran the update command to fix and it left 10000 incomplete. Another nice round number. Running a second time brought it down to 0. Strange that the upgrade script marks it as done and moves on. Also interesting that the fix is running a loadFromFile xml command. I've not seen that done before. Strange way of invoking a utility.

windchill wt.load.LoadFromFile -d loadFiles/upgrade/updateMessageToRichTextMigrator.xml -u wcadmin -p password

anyone know how the above command works? Seems like you can tell it to do anything.

 

Best answer by Fadel

The commands should run the load method in  UpdateMessageToRichTextMessageMigrator class .

In UpdateMessageToRichTextMessageMigrator.java there is a hard-coded batch-size of 10,000.

1 reply

Fadel
Fadel23-Emerald IAnswer
23-Emerald I
August 5, 2025

The commands should run the load method in  UpdateMessageToRichTextMessageMigrator class .

In UpdateMessageToRichTextMessageMigrator.java there is a hard-coded batch-size of 10,000.

Buiꓘa
avillanueva
23-Emerald I
23-Emerald I
August 5, 2025

I would think an SPR would be in order since the migrator will pass as done without fully completing migrating all objects.