I tried to refactor relax module myself according to the compat 4.0 guide.
I don’t know how to refactor this argument in DSLService.cfc:
This is the error i’m getting:
Type: Builder.BuildCFCDependencyException Messages: Error building: DSLService@relax -> Element CONFIGBEAN is undefined in ARGUMENTS. with constructor arguments: {configBean={null},logBox={[(Component=coldbox.system.logging.LogBox)]}}
Luis, I noticed forgebox says relax and other modules were last updated today by you. But after re-installing i see that this module is not yet refactor for 4.0.
“The configbean CFC doesn’t exist any longer, but the same data is available as a struct with coldbox:configSettings”
That means you’ll need to refactor usage of that variable to just use the struct instead of setters on an object.
> Luis, I noticed forgebox says relax and other modules were last updated today by you
It wasn’t really updated today. ForgeBox has a “feature” where downloading or installing a package increments the download or install count and also updates the updateDate at the same time. The fix has been deferred since we’re going to rewrite ForgeBox 2.0 “soon”.
thanks brad. i’ll keep working on the refactor of relax. its my first time looking at the inner workings of this module and there were some concepts I didnt quite understand.