-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LocalStorage not persisted to disk with relative CachePath #3074
Comments
Please test with the CEF Sample application as detailed in the Bug Report Template You can specify a cache path using the command line args cache-path |
Was any attempt made to reproduce the problem with the
Did you check the log file? |
Not yet maybe I have time to try it tonight
…On Wed, Mar 4, 2020, 8:01 AM Alex Maitland ***@***.***> wrote:
- Does the problem reproduce using the MinimalExample
<https://github.com/cefsharp/CefSharp.MinimalExample>?
Was any attempt made to reproduce the problem with the MinimalExample?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3074?email_source=notifications&email_token=ADEIOO5TN27CFDXJV5M54ELRFX4FLA5CNFSM4K7YWPM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENWTJ2I#issuecomment-594359529>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEIOO5VG54ANWPCBHMBAL3RFX4FLANCNFSM4K7YWPMQ>
.
|
I now tested it witht the minimal-example and it is still the same bug as reported I changed the line in App.xaml.cs: |
Is the
Did you check the
Please test with the
|
yes i checked debug.log but it contains only errors which happen in both the relative and non-relativ cachePath tests:
One note i have to make here is that i only tested it with https://web.whatsapp.com |
Thanks for confirming 👍 You'll need to create an issue on the CEF Issue Tracker as the problem will need to be fixed in
I personally don't use I've updated the As it stands I've not seen any similar reports, if there are enough cases to implement a workaround then we can look at calling Closing now as this needs to be fixed in |
Apparently |
What version of the product are you using?
79.1.360 - nuget
What architecture x86 or x64?
x86
On what operating system?
Win10
Are you using
WinForms
,WPF
orOffScreen
?WPF
What steps will reproduce the problem?
When im using relative path for CachePath like the code given on the wiki:
https://github.com/cefsharp/CefSharp/wiki/General-Usage#initialize-and-shutdown
settings.CachePath = "cache";
The local-cache does not persist after restart also i have proper read/right rights on the folder.
Its also writing something...
I also tried other relative paths like "../cache" or "cachetest" which also not work
What is the expected output? What do you see instead?
After restart the data from local storage is still available
How to fix
Using the full path works without problem:
"settings.CachePath = C:\\XXX\\bin\\x86\\Debug\\cache";
The text was updated successfully, but these errors were encountered: