Weird behaviour on ...
 
Notifications
Clear all

wpForo 1.x.x Weird behaviour on Move Reply and Merge Topics

8 Posts
2 Users
0 Likes
1,476 Views
danokorst
Posts: 8
Topic starter
(@danokorst)
Active Member
Joined: 2 years ago

On my forum, when I try to Move Reply or Merge Topics, every merge that I try, ends up in a single completely different topic. I had a look at that specific topic in the database but can't seem to find why all merges end up in this specific topic.

For example, when I merge this URL

https://www.myurl.nl/community/isere/test
to
https://www.myurl.nl/community/isere/0002394
it ends up in 
https://www.myurl.nl/community/anotherboard/0002294

Note that the slug numbers differ by exactly 1 digit. I tested another topic and the same thing (in that case, topic with slug 0002395 merged into 002295 which was a completely different board).

 

Here is the database dump of the topic that is used everytime

topicid forumid first_postid userid title slug created modified last_post posts votes answers views meta_key meta_desc type solved closed has_attach private status name email prefix tags
2394 293 2594 42 Mogouhy Mine 002294 ######## ######## 2594 1 0 0 8     0 0 0 0 0 0        

 

 

7 Replies
Alvina
Posts: 1872
Moderator
(@alvina)
Member
Joined: 3 years ago

Hi @danokorst,

Could you please record a video with the issue and leave it here.

Reply
danokorst
Posts: 8
Topic starter
(@danokorst)
Active Member
Joined: 2 years ago

Here you go

Reply
danokorst
Posts: 8
Topic starter
(@danokorst)
Active Member
Joined: 2 years ago

Addition: this is a video of the Merge function. But the exact same behaviour happens when using Move Posts.

Reply
1 Reply
Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@danokorst,

Please note currently the Merge/Move functionality work only for the full URLs, not for short URLs.

However in the next versions update we this will work for short URLs as well.

Reply
danokorst
Posts: 8
Topic starter
(@danokorst)
Active Member
Joined: 2 years ago

Hi Alvina I noticed in the release notes that this was fixed in one of the latest versions. Just tested it today again (same principle as on the video), but the merged topic still ends up in another random topic instead of the target topic.

Maybe have a video call or something to see what is wrong?

Reply
2 Replies
Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@danokorst,

 
Please follow the steps below and check again:

  • If you have custom code for UM integration in your active theme functions.php file, please remove it before the update. Here is an example of such a custom code:  https://wpforo.com/community/postid/16663/
  • After the update, please delete all caches.
  • Go to the forum front page and refresh (press Ctrl+F5) twice to reset the browser cache.
  • If you have Minifier/Optimizer plugins please delete all caches after the wpForo update.
  • If you use CDN and found some issue please purge it.
Reply
danokorst
(@danokorst)
Joined: 2 years ago

Active Member
Posts: 8

@alvina I have done your suggestions but without succes. So I went back to testing and found out that the bug is in the slug that is made based on the topic title. If the title (and thus the slug) is numeric. Either fully numeric or leading 0 numeric do not allow a merge. The forum now gives the message "target topic does not exist". 

Here are my tests

- https://url.com/board/test merge to https://url.com/board/test-2 -> WORKS
- https://url.com/board/test merge to https://url.com/board/99999-> Does not work
- https://url.com/board/test merge to https://url.com/board/00999 -> Does not work

Turns out that it was not related to short URL's but to numeric setup of the slug.
Note: I have also performed the following just to be sure that it is the slug column:

- https://url.com/board/test
- Created second topic https://url.com/board/test-2
- Updated the slug of test-2 on database level 99999
- Refreshed and rebuild form 
- Does not work

Reply
Share: