afPodBuilderExt icon

afPodBuilderExt

Transform your Axon functions, Views, and Apps, into custom SkySpark extensions
afPodBuilderExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 9 watchers.


Evaluating in SkySpark 3.0.27
Carlos Garcia16th Dec 2020

Hi,

I'm evaluating afPodBuilderExt 1.1.0 in SkySpark 3.0.27 and I've found a couple of features than don't work and I want to know about your plans for them before purchasing ext.

The first of those non-working features are the tab Files. I've read at SkySpark forum that you have been told already about it (for SkySpark 3.0.26).

The second one (and the most important for me) is the ability to archive/unarchive functions (I've tried with functions only so far). I understand how does it work and I'm able to archive my functions but I get an error when I try to unarchive (see stack trace to the end of post). Does it happens because I'm working with an evaluation version or is it a bug? If it's a bug, do you plan to solve it soon?

I like the ext and I really want to purchase it but I'd need the archive/unarchive functionality working to fit my needs.

Thanks.

sys::Err: Could not call afPodBuilderExt::PodBuilderFuncsImpl.unarchiveRecs - Cannot un-archive trioRec: {mod:2020-12-16T09:49:03.441Z UTC, src:(a: 1, b: 2) => do
  return a+b;
end, name:operateAB, dummyfunc, id:p:master:r:276c92fc-cb36b5dc, afPodBuilder_func}
  afPodBuilderExt::SkyJaxServer.call (SkyJaxServer.fan:86)
  afPodBuilderExt::PodBuilderLib.afPodBuilder_callSkyJax (PodBuilderLib.fan:11)
  java.lang.reflect.Method.invoke (Method.java:498)
  fan.sys.Method.invoke (Method.java:573)
  fan.sys.Method$MethodFunc.callList (Method.java:212)
  fan.sys.Method.callList (Method.java:138)
  axon::FantomFn.doCall (FantomFn.fan:140)
  axon::AxonContext.callInNewFrame (AxonContext.fan:152)
  axon::AxonContext.callInNewFrame (AxonContext.fan)
  axon::FantomFn.callx (FantomFn.fan:128)
  axon::Fn.callLazy (Fn.fan:75)
  axon::Call.eval (Call.fan:39)
  skyarcd::Context.evalOrReadAll (Context.fan:111)
  skyarcd::SysLib.eval (SysLib.fan:98)
  java.lang.reflect.Method.invoke (Method.java:498)
  fan.sys.Method.invoke (Method.java:573)
  fan.sys.Method$MethodFunc.callList (Method.java:212)
  fan.sys.Method.callList (Method.java:138)
  axon::FantomFn.doCall (FantomFn.fan:140)
  axon::AxonContext.callInNewFrame (AxonContext.fan:152)
  axon::AxonContext.callInNewFrame (AxonContext.fan)
  axon::FantomFn.callx (FantomFn.fan:128)
  axon::Fn.call (Fn.fan:71)
  skyarcd::ApiWebMod.evalOp (ApiMod.fan:223)
  skyarcd::ApiWebMod.onService (ApiMod.fan:171)
  6 More...
Cause:
  sys::Err: Cannot un-archive trioRec: {mod:2020-12-16T09:49:03.441Z UTC, src:(a: 1, b: 2) => do
    return a+b;
  end, name:operateAB, dummyfunc, id:p:master:r:276c92fc-cb36b5dc, afPodBuilder_func}
    afPodBuilderExt::PodManifest.unarchiveRecs (PodManifest.fan:99)
    fan.sys.List.map (List.java:851)
    afPodBuilderExt::PodManifest.unarchiveRecs (PodManifest.fan:84)
    afPodBuilderExt::PodManifest.unarchiveRecs (PodManifest.fan)
    afPodBuilderExt::PodBuilderFuncsImpl.unarchiveRecs (PodBuilderFuncs.fan:328)
    java.lang.reflect.Method.invoke (Method.java:498)
    fan.sys.Method.invoke (Method.java:573)
    fan.sys.Method$MethodFunc.callOn (Method.java:244)
    fan.sys.Method.callOn (Method.java:139)
    afPodBuilderExt::SkyJaxServer.call (SkyJaxServer.fan:85)
    afPodBuilderExt::PodBuilderLib.afPodBuilder_callSkyJax (PodBuilderLib.fan:11)
    java.lang.reflect.Method.invoke (Method.java:498)
    fan.sys.Method.invoke (Method.java:573)
    fan.sys.Method$MethodFunc.callList (Method.java:212)
    fan.sys.Method.callList (Method.java:138)
    axon::FantomFn.doCall (FantomFn.fan:140)
    axon::AxonContext.callInNewFrame (AxonContext.fan:152)
    axon::AxonContext.callInNewFrame (AxonContext.fan)
    axon::FantomFn.callx (FantomFn.fan:128)
    axon::Fn.callLazy (Fn.fan:75)
    axon::Call.eval (Call.fan:39)
    skyarcd::Context.evalOrReadAll (Context.fan:111)
    skyarcd::SysLib.eval (SysLib.fan:98)
    java.lang.reflect.Method.invoke (Method.java:498)
    fan.sys.Method.invoke (Method.java:573)
    14 More...
Steve Eynon16th Dec 2020

Hello Carlos,

Thank you for your comments, and for providing a stacktrace! (They are very helpful and not everyone shares them!) There was indeed a bug when unarchiving records in a custom .trio file that would cause an err.

Pod Builder v1.1.2 has just been released which should fix that issue. I'd be happy if you could try it out and report back.

As you mention, the Files tab does not work in in SkySpark v3.0.26+, and is a known issue. We hope to address it in the new year with a release of Pod Builder that targets SkySpark v3.0.26+ only. In the mean time as a work-around, you can use the Files View in the core Shell App.

Warm regards and thanks for reporting the issue,

Steve.


Log in or Sign up to post a reply.