Ignacio Pablo Duro Posted March 7, 2020 Share Posted March 7, 2020 Hi! Every time a soldier is promoted, demoted, reassinged (or any other changed that involves a forum group change) all soldier's secondary groups are removed. This is really bad for us, because both discord and teamspeak groups and permissions are linked to our forum. No logs are generated so I cannot see whats happening. Does anyone has any idea on what could it be the problem? Or where I can find some information about this? Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted March 8, 2020 Administrators Share Posted March 8, 2020 @Ignacio Pablo Duro I’ll look into this. Thanks for bringing it up. Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Ignacio Pablo Duro Posted March 9, 2020 Author Share Posted March 9, 2020 48 minutes ago, Jon Erickson said: @Ignacio Pablo Duro I’ll look into this. Thanks for bringing it up. Sure! Don't hesitate to contact me if you need more info. Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted March 9, 2020 Administrators Share Posted March 9, 2020 @Ignacio Pablo Duro, the bug has been found and addressed. Will be fixed with the next release! 1 Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Ignacio Pablo Duro Posted March 9, 2020 Author Share Posted March 9, 2020 Great!! Thanks! What's the timeframe to the next version? I'm asking because it would be great to have this issue fixed asap. Mabye release it as a hotfix? Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted March 9, 2020 Administrators Share Posted March 9, 2020 Absolutely. I am out of the state right now but will have it released this week. Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Ignacio Pablo Duro Posted March 21, 2020 Author Share Posted March 21, 2020 Hi Jon! Bad News. This issue is still happening after 1.3.4 update Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted March 22, 2020 Administrators Share Posted March 22, 2020 We’ll have to look into your specific use case as we cannot reproduce it! Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Ignacio Pablo Duro Posted March 30, 2020 Author Share Posted March 30, 2020 Oks! So, is there any place that you know where I can find logs, or any information about what could be happening? Where should we start looking? Quote Link to comment Share on other sites More sharing options...
J.Drake Posted July 11, 2020 Share Posted July 11, 2020 We had the same issue on 1.3.2, and now we switched to 1.3.5 and are still having similar issues. On top of promotions/assignments, when a soldier is an administrative position and you upload a new uniform, the secondary roles get wiped. We haven't done any promotions/assignments yet but I assume that this is still an issue then? Quote Link to comment Share on other sites More sharing options...
Ashton Posted July 11, 2020 Share Posted July 11, 2020 So just done some testing and found the following out. 1) Promotions/Assignments creation of the records does nothing to the groups, it only takes effect when you go back into the soldiers file after you have done the assignment/promo form and click save on their profile. Its as though the Promotion and Assignment forms are not triggering the add to group function. This is only triggered when you go back into the personnel file and click save, at that point it seems to update the groups correctly. 2) Dont seem to have any issues with Admin units, tried a test user in multiple admin units and removed units and readded and all the groups were removed and added correctly. 3) Uploading a new uniform had no effect on the groups at all.. 4) Have an issue with some combat units saying I do not have permission to assign a soldier to their even though I have full permissions on everything.. any ideas? Quote Link to comment Share on other sites More sharing options...
J.Drake Posted July 11, 2020 Share Posted July 11, 2020 We have some medals linked to secondary groups to show them on their profile. I had one of our members test and he reported the following reproducible case surrounding uniform uploads: 1. uploaded uniform to soldiers P-File. 2. checked soldiers P-File and award was removed (secondary groups were reset). 3. reassigned secondary groups and completed step 1 and 2 again. Same issue. Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted July 15, 2020 Administrators Share Posted July 15, 2020 I think here the uniform upload has nothing to do with the bug you are experiencing but rather when the users object is updated and a database transaction is executed, it triggers the update user group function. Essentially whenever a save() is called on the soldier, there uaergroups are all set based on their rank, combat unit and administrative unit. So for you, you were just noticing it when uploading the uniform. I think I may have found the issue in the administrative units. Please actively test when I release the beta. I want to make sure its right before releasing. Thanks! Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted July 15, 2020 Administrators Share Posted July 15, 2020 On 7/11/2020 at 10:51 AM, Ashton said: So just done some testing and found the following out. 1) Promotions/Assignments creation of the records does nothing to the groups, it only takes effect when you go back into the soldiers file after you have done the assignment/promo form and click save on their profile. Its as though the Promotion and Assignment forms are not triggering the add to group function. This is only triggered when you go back into the personnel file and click save, at that point it seems to update the groups correctly. 2) Dont seem to have any issues with Admin units, tried a test user in multiple admin units and removed units and readded and all the groups were removed and added correctly. 3) Uploading a new uniform had no effect on the groups at all.. 4) Have an issue with some combat units saying I do not have permission to assign a soldier to their even though I have full permissions on everything.. any ideas? As for what you saw in the promotions - it is triggering the save user object as I mentioned above and messing the uaergroups. I believe the promotion/demotion/assignment functions are working as intended. Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.