Frontmatter
| id | 7814 |
| title | Fix regression: Replace deprecated parseConfig with createBindings in Layout.mjs |
| state | Closed |
| labels | bugrefactoringregression |
| assignees | tobiu |
| createdAt | Nov 19, 2025, 5:34 PM |
| updatedAt | Nov 19, 2025, 5:36 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7814 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 19, 2025, 5:36 PM |
A regression bug was identified in
apps/form/view/FormContainer.mjs, whereparseConfig()is called on a layout. This method has been deprecated and removed inNeo.state.Provider.The issue originates in
src/layout/Base.mjs:/** * Applies all class configs to this instance * @param {Object} config * @param {Boolean} [preventOriginalConfig] True prevents the instance from getting an originalConfig property */ initConfig(config, preventOriginalConfig) { super.initConfig(config, preventOriginalConfig); let me = this; me.bind && me.container.getStateProvider()?.parseConfig(me) }Solution: Replace
parseConfig(me)withcreateBindings(me)insrc/layout/Base.mjs. ThecreateBindingsmethod inNeo.state.Providercorrectly handles setting up reactive bindings using the new Effect-based system.Affected File:
src/layout/Base.mjsVerification: Verify that bindings on layouts (e.g., in
apps/form/view/FormContainer.mjs) work correctly after the fix.