Hi @daviesian
v1.12.3 fixed the asser failed error. but the lazy media error is still there. Images are not displayed.
Logs shows this:
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: [ERROR anvil.runtime.server] Error getting lazy media: 2c62fc6a5ffd
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: java.lang.IllegalArgumentException: No implementation of method: :id-when-persisted of protocol: #'anvil.runtime.sessions/ISession found for class: nil
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at clojure.core$_cache_protocol_fn.invokeStatic(core_deftype.clj:584)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:576)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.runtime.sessions$fn__268$G__198__273.invoke(sessions.clj:43)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.runtime.sessions$with_app_session$fn__577.invoke(sessions.clj:478)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.ring.util$wrap_async$fn__23201$fn__23209.invoke(util.clj:37)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.ring.util$wrap_async$fn__23201$fn__23220.invoke(util.clj:43)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.ring.util$wrap_async$inner_handler__23226$send_BANG___23227.invoke(util.clj:53)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.ring.util$wrap_async$inner_handler$reify__23230.send_BANG_(util.clj:62)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.runtime.server$serve_lazy_media$fn__26154$fn__26155.invoke(server.clj:119)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at clojure.lang.AFn.run(AFn.java:22)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.worker_pool$run_one_task_BANG_.invokeStatic(worker_pool.clj:55)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.worker_pool$run_one_task_BANG_.invoke(worker_pool.clj:38)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at anvil.core.worker_pool$launch_thread_BANG_$fn__5542.invoke(worker_pool.clj:94)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at clojure.lang.AFn.run(AFn.java:22)
Aug 10 02:34:43 enthelpdesk anvil-app-server[294115]: at java.lang.Thread.run(Thread.java:750)