As per title, I just had 50 boards disappear after being moved. They were perfectly fine in administration, permissions were (apparently) fine, boards were visible for administrators but nobody else.
They just vanished in thin air and manually editing each and every one of them, specifying the position where they "already" were, "fixed" it and made them reappear, about an hour and many heart-attacks later, of course :-\
I may come up with steps to reproduce specifically but all 50 of them (let's call them board 1 to 50, like USA states) were all children of a single board, then they were meant to be splitted into 4 macro regions and disappeared after being moved into the newly created 4 macro regional boards.
SMF version 2.1.4
Quote from: Ninja ZX-10RR on June 19, 2023, 05:33:27 PMI may come up with steps to reproduce specifically
Please do cause my site has 50 sub-boards for states as well. I haven't any plans to move them but that's a scary thought! ???
Thanks,
Shades 8)
Quote from: Shades. on June 20, 2023, 08:52:01 AMQuote from: Ninja ZX-10RR on June 19, 2023, 05:33:27 PMI may come up with steps to reproduce specifically
Please do cause my site has 50 sub-boards for states as well. I haven't any plans to move them but that's a scary thought! ???
Thanks,
Shades 8)
Well this is how he did it
QuoteCreated the new boards then
Modify Boards
Clicked the move button on the board I wanted to move, navigated to the position I wanted it, used the arrows for location and it moved.
Which is... Fine in my books, everything looked completely fine in administration, except nobody other than admins could see the boards in the actual forum.
I'm not really sure whether it's some specific case (with certain permissions or whatever but they're all for regular members for us) of it happening but this is definitely an huge bug when stuff disappears and it's very hard to detect if you're moving a lot of boards, you need to manually count them and double check every single one.
Im gonna try some tests on a backup of my forum and see if I can reproduce and I'll post back. (May take me some time though) How were the macro regions set up?
I cannot reproduce...
Were they all public boards? Or were there different permissions for some?
Were the 4 new "regional" boards subboards of the original main board (what I tested), or in parallel to it?
Was caching on? Did you try clearing it?
Quote from: shawnb61 on June 20, 2023, 09:42:47 PMI cannot reproduce...
Were they all public boards? Or were there different permissions for some?
Were the 4 new "regional" boards subboards of the original main board (what I tested), or in parallel to it?
Was caching on? Did you try clearing it?
Agh, I see I omitted that bit.
So the 50 boards were all children of the same bigger board, which was later
in parallel to the newly created 4 macro regions.
I tried to check for errors, recount posts and I think I did clear cache too, but since the boards were not visible for Tapatalk users as well, I was quite sure it didn't have any link to that.
The boards were... You know what I can do better than that. If you want I can give you access to our old test board where I just reproduced the bug on 2.1.4. You got about 30+ boards to move before you run out of tries :D With permission I'd send you a PM with admin info for the test forum.
Could be a tapatalk bug... (?) Since they replace files instead of modding then
Quote from: shawnb61 on June 20, 2023, 09:42:47 PMI cannot reproduce...
Were they all public boards? Or were there different permissions for some?
Were the 4 new "regional" boards subboards of the original main board (what I tested), or in parallel to it?
Was caching on? Did you try clearing it?
Friendly bump on PM permission, because we cannot keep such an huge test board up for too long, we're past our reserved space and host is helping out by not charging a massive bill, but I will have to get rid of it, possibly after helping it being a case scenario and hopefully to get it fixed :)
Quote from: Ninja ZX-10RR on June 24, 2023, 07:34:19 AM... we cannot keep such an huge test board up for too long ...
Can you prune the messages on your test board to reduce the amount of space required for the database and attachments?
Quote from: GL700Wing on June 24, 2023, 08:09:07 AMQuote from: Ninja ZX-10RR on June 24, 2023, 07:34:19 AM... we cannot keep such an huge test board up for too long ...
Can you prune the messages on your test board to reduce the amount of space required for the database and attachments?
I removed attachments long ago, that test forum needs to go though, I don't want to touch boards as it may very much help with diagnosing in this case.
Bumping this once again, it should honestly be one of the top priorities given it makes data to disappear for everyone other than admins :(
i wonder if this somehow is related to this issue https://www.simplemachines.org/community/index.php?topic=585181.0
Quote from: Illori on July 09, 2023, 06:05:15 AMi wonder if this somehow is related to this issue https://www.simplemachines.org/community/index.php?topic=585181.0
It could be, I must admit I'm not familiar with 2.1 code quite yet so I wouldn't really know what to look for myself. I'm more old style 2.0 direct edits kind of guy :) Definitely need to look into 2.1 hooks and code more. Thanks for the message nonetheless, I can only provide a test environment where the bug occurs at the moment, I wish I could help more.
The above referenced issue was addressed in 2.1.4. If this issue is still happening in 2.1.4, it's unrelated.
I made several attempts to reproduce this, because I agree it sounds like it might be a bug. But I couldn't reproduce it. So it's either an edge-case bug & we need more info, or, it's an environment issue of some sort.
If I can't reproduce it, I can't test a fix. In fact, I can't code a fix either, because I don't know what the root cause really is. The age-old dilemma...
Quote from: shawnb61 on July 09, 2023, 12:20:11 PMThe above referenced issue was addressed in 2.1.4. If this issue is still happening in 2.1.4, it's unrelated.
I made several attempts to reproduce this, because I agree it sounds like it might be a bug. But I couldn't reproduce it. So it's either an edge-case bug & we need more info, or, it's an environment issue of some sort.
If I can't reproduce it, I can't test a fix. In fact, I can't code a fix either, because I don't know what the root cause really is. The age-old dilemma...
I mean I could just give you the environment where it happens, and permissions are definitely not being changed by the few mods I have. That way you can easily reproduce it, at least. You can have plenty of attempts on the test forum, got hundreds of boards.
AJAX Recent Topics 2.0
9 Contact Page 6.0
1 Email Obfuscator 1.3
7 PM to New Members 1.2
8 Quick Reply Attachments Button 1.0
15 SMF 2.1.3 Update 1.0
5 SMF 2.1.4 Update 1.0
6 Simple Audio Video Embedder 7.0.1
11 SimpleColorizer 1.1
14 Stop Forum Spam 1.3
3 Tapatalk SMF 2.1 Plugin 5.1.4
13 Team Page 5.4.3
2 Ultimate Menu
As you can see I got nothing for permissions/boards and I'm obviously not using Tapatalk while editing boards, that got its own issues already and they're outside of the scope.
I'm very much positive it's a big SMF bug this time around, and it happened in several areas with completely different permissions... I was thinking maybe a certain set of permissions/membergroups were triggering it or whatever else but I haven't been able to find a pattern as it just never worked, and we got a very big board completely stuck mid-reorganization due to this.
Does it happen in vanilla 2.1.4, with no mods?
Quote from: shawnb61 on July 09, 2023, 12:32:55 PMDoes it happen in vanilla 2.1.4, with no mods?
I've been overworked with other stuff and was only able to check now but YES IT DOES, did a large upgrade to be sure.
Like I said, it has nothing to do with mods, it's either that old bug not fully fixed or what Illori kindly hinted, or a new bug, but sure is related to SMF core.
Sorry for the late reply as well, unexpected chores in the way.
@shawnb61 I apparently reproduced this here on site just minutes ago.
I moved 2 boards, one got lost in transit.
https://github.com/SimpleMachines/SMF/pull/7802
Works fine on my test forum, all boards moving correctly, thanks a lot! I will keep monitoring this in case you guys want to change it further or something but for now, we got plenty of boards to move O:)
Yes, we have the same issue and I believe I've reported this once, too. It happened two days ago to me as well when I modified a board. It was visible to me but users complained because they couldn't see it anymore.
Will the change in the code at github (below) fix that?
https://github.com/SimpleMachines/SMF/pull/7802/files
If you check my post right above yours, yes it will.