Skip to content
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

Report which session file fails #9

Open
macMikey opened this issue Jan 24, 2022 · 3 comments
Open

Report which session file fails #9

macMikey opened this issue Jan 24, 2022 · 3 comments

Comments

@macMikey
Copy link

I had a session file that got corrupted, but I didn't know it. Opening the project resulted in an unhelpful error message.
It would be great if when a file gets borked, the report includes the name of the file, and the fact that the mobile app server is the component reporting the issue.
It took hours to finally figure out what the problem was.

@mesopelagique
Copy link
Contributor

mesopelagique commented Jan 26, 2022

Hi, just by starting the db? (I will try or make a 4D QA try)
if yes it's a 4D internal issue, that read mobile session too in memory

if no, it's some 4d code that read the json files
here sems to not have on error call
https://github.com/4d-go-mobile/4D-Mobile-App-Server/blob/1dc012df6d9a77fc8ccc9355807793daf5fb1f0d/Project/Sources/Methods/Activate%20Sessions.4dm#L31
here it's seems ok
https://github.com/4d-go-mobile/4D-Mobile-App-Server/blob/1dc012df6d9a77fc8ccc9355807793daf5fb1f0d/Project/Sources/Classes/SessionObject.4dm#L28

@mesopelagique
Copy link
Contributor

Yes it seems to be at start, in 4D.

@mesopelagique
Copy link
Contributor

I have send a mail to QA team about ACI0102614
asking to re-evaluate the bug status, to allow 4D dev to do something like re-throwing error with more information or removing empty session file (maybe due to some corruption)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants