MrGettingRatherFrustrated Posted May 12, 2021 Share Posted May 12, 2021 Just a quick one to osee whether anyone else has encountered this. I noticed that when I add or edit a product the default language (English which was also the one at installation) is also being added to dynamic translations - an even quirkier behaviour is that if I only have the english language file present in the /lang directory the content from the english tbldynamic_translations is served but if multiple language files are present then the content from tblproducts is used. I have a suspicion that this only started happening after the 8.1.3 upgrade. I have tried switching the default language to somethng else and back again but the behaviour remains I have raised a ticket with support and they are unable to reproduce and I just wanted to see whether anyone else had encountered this before I reluctantly grant them access to my system 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Lawrence Posted May 12, 2021 WHMCS Technical Analyst II Share Posted May 12, 2021 Thank you for posting. I can see that my colleagues are working on your support ticket and are attempting to get it into a reproducible state, as it is quite unusual and not something that has been reported before. I would recommend continuing to correspond with them and provide any requested details to aid in determining the cause of this issue and get it addressed accordingly. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 13, 2021 Share Posted May 13, 2021 On 12/05/2021 at 16:52, MrGettingRatherFrustrated said: I noticed that when I add or edit a product the default language (English which was also the one at installation) is also being added to dynamic translations if it helps, i'm seeing that in v8.1.3 - though I can't remember if this is expected behaviour or not. On 12/05/2021 at 16:52, MrGettingRatherFrustrated said: I have raised a ticket with support and they are unable to reproduce and I just wanted to see whether anyone else had encountered this before I reluctantly grant them access to my system if you have a dev that is doing the same thing, i'd suggest that it would be safer to give them access to that dev rather than a live production server. 0 Quote Link to comment Share on other sites More sharing options...
MrGettingRatherFrustrated Posted May 14, 2021 Author Share Posted May 14, 2021 Well WHMCS support first claimed that they couldnt reproduce the issue and saying I must have changed the default language as thats the only time it could happen - which even if I had shouldnt have been adding the "new" default language to tbldynamic_translations They asked for a video, then access and then came back saying that this is the normal behaviour (despite previously claming they couldnt reproduce) and all languages, including the default, go into the tbldynamic_translations if that feature is enabled. Apart from the fact that this doesnt explain why if multiple language files are present content is served from tblproducts for the default language and only from dynamic translations if ONLY the default language file is present this has got to be the sloppiest laziest coding going .... A complete and unnecessary duplication of all product data bloating the database I'm only really posting so that if someone else stumbles across this there is something out here., it is particularly relevant if you ned to do bulk product name/description updates against the database 0 Quote 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.