Hi everyone,
I’m Facing an issue in umbraco 17 when trying to restore a document from the recycle bin.
Problem :
- Restore works prefect when Backoffice language (User Language) is English ‘en-Us‘
- Restore Fails when The Language (User Language) is Arabic ‘ar‘
- Error Message : ‘the input string ‘-1‘ was not in a correct format‘
Knowing that the exception occurs inside :
ContentEditingServiceBase.HandleMoveAsync → Int32.Parse
Also when inspect network :
- Success Case (english):
Expires : Mon, 01 Jan 1990 00:00:00 GMT - Failure Case (arabic):
Expires : -1
Notes :
- No Custom Restore Logic Implemented, Just Used Umbraco Built in Restore
- issue seems to be culture related
- its look like parsing issue occurs while using arabic
so my questions :
- is this a known issue with umbraco when using variant cultures like arabic ?
- and why would the expires header differ between cultures ?
- and finally is there any recommended workaround or fix ?
your help will be much appreciated ![]()
Thanks.