Hi again :-).
So this is something I ran into over the past weekend (when I opened up my other ticket about my issues with configuration file which I was able to sort out by adjusting my php.ini).
Basically, it appears that sh404SEF is interfering somehow with the normal process for DOCman 3.1.3 particularly when going over to add in a new document for an existing DOCman Category.
Normally, when you click on the Submit File link for a category it would take you to the Add screen and it will automatically prepopulate the Category with the one you are trying to add the file to which is a nice time-saving feature. However, with sh404SEF active (and with me already adjusting sh404SEF to use the regular Joomla router for DOCman) this particular piece of functionality doesn't work properly (it keeps on defaulting to the first category like it doesn't know which one you came from).
I'll attach some images here to show what I mean and I can definitely assist with the troubleshooting process as well, but the URL itself is not changing (the only variable is me toggling the "Enable URL Optimization" option in sh404SEF.
This is URL on my local machine which shows it should be setting the "Collective Bargaining Agreements" in the Category field automatically:
https://xxxx.edu/ivc_2017/docs/collective-bargaining-agreements/?view=document&layout=form&slug=
But as you can see in the attached two pictures, when sh404SEF is enabled, it defaults to the first category "Student Affairs". Right after turning sh404SEF off and reloading the page, it pulls in the Category correctly.
I switched to using the Joomla router for DOCman in this case because I was running into different issues using the default setting (can't recall the specifics for those but it was a different sort of issue).
I'm not sure if you have a test environment for DOCman 3 on your end to test this easily or not, but please let me know what I can do to assist (I'll likely continue trying to do some debugging on my end too...if I figure anything out I'll let you know).
-Omar
So this is something I ran into over the past weekend (when I opened up my other ticket about my issues with configuration file which I was able to sort out by adjusting my php.ini).
Basically, it appears that sh404SEF is interfering somehow with the normal process for DOCman 3.1.3 particularly when going over to add in a new document for an existing DOCman Category.
Normally, when you click on the Submit File link for a category it would take you to the Add screen and it will automatically prepopulate the Category with the one you are trying to add the file to which is a nice time-saving feature. However, with sh404SEF active (and with me already adjusting sh404SEF to use the regular Joomla router for DOCman) this particular piece of functionality doesn't work properly (it keeps on defaulting to the first category like it doesn't know which one you came from).
I'll attach some images here to show what I mean and I can definitely assist with the troubleshooting process as well, but the URL itself is not changing (the only variable is me toggling the "Enable URL Optimization" option in sh404SEF.
This is URL on my local machine which shows it should be setting the "Collective Bargaining Agreements" in the Category field automatically:
https://xxxx.edu/ivc_2017/docs/collective-bargaining-agreements/?view=document&layout=form&slug=
But as you can see in the attached two pictures, when sh404SEF is enabled, it defaults to the first category "Student Affairs". Right after turning sh404SEF off and reloading the page, it pulls in the Category correctly.
I switched to using the Joomla router for DOCman in this case because I was running into different issues using the default setting (can't recall the specifics for those but it was a different sort of issue).
I'm not sure if you have a test environment for DOCman 3 on your end to test this easily or not, but please let me know what I can do to assist (I'll likely continue trying to do some debugging on my end too...if I figure anything out I'll let you know).
-Omar