Coder Social home page Coder Social logo

Comments (7)

hortigado avatar hortigado commented on August 15, 2024

Sometimes it does not throw the error but the parent document is not updated with the id of the child document. And I have to clear the cache of the app so that the updates work again

from brick.

hortigado avatar hortigado commented on August 15, 2024

There is a strange behavior, the same thing happens when we update a document offline the first time it works and the second time editing offline no longer works because the information is not sent to the network. Once this happens, the document is damaged and no longer allows editing, unless we clear the cache of the app

from brick.

hortigado avatar hortigado commented on August 15, 2024

Update: Adding memoryCacheProvider seems to have solved this problem. I would have to do it for tests.
memoryCacheProvider: MemoryCacheProvider(),

from brick.

tshedor avatar tshedor commented on August 15, 2024

Hey @hortigado that is odd behavior because it appears VacunasModel may not extend OfflineFirstWithRestModel. Can you please provide the class signature for VacunasModel?

from brick.

hortigado avatar hortigado commented on August 15, 2024

Hello @tshedor; Thanks I have managed to correct this error, it was because I had the toJson method in the class and it presented me with this error due to a null attribute.
There is another error also to take into account and that is when an error of this type occurs, either by passing an incorrect value or another problem in which the information is not saved correctly. The offline-online synchronization is broken and the next documents created offline are no longer synchronized unless they clear the application cache.

from brick.

tshedor avatar tshedor commented on August 15, 2024

@hortigado could you please open a new issue for that? I think that's a separate issue that I'd like to debug with you but with fresh context

from brick.

hortigado avatar hortigado commented on August 15, 2024

Correct, I close this issue.

from brick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.