-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove RuleHandler.js when expressions cover all features #169
Comments
I agree. This should be an easy fix, and we're getting real close to the next release anyway. Adding this to the current sprint, and letting @bjosttveit and @Magnusrm know so they can chase me to it. 😉 |
I’ll make a PR for the status code change in backend. Missing this file is not an error anymore. |
Turns out it's not as critical as we first thought. The file exists in the template, but was gone when an app was copied from Link to slack discussion: |
Seems to me like the only thing required here is to make the backend reply with |
With Altinn/app-lib-dotnet#174 merged (and soon released in the Altinn.App.Api nuget package), the only task left on this one is for @Altinn/team-altinnstudio to decide when to actually remove the file. Maybe this issue should be moved to altinn-studio? |
Right. I believe removing the file as a default is an issue that should be handled by the apps and studio teams in unison (it's an apps thing, but needs studio support before we remove it). Sadly, expressions still don't support calculations, and there is not a 100% overlap in supported functionality, so we have no pressing plans to remove these files from our template AFAIK. Btw, the template application is located in this repo: https://github.com/Altinn/app-template-dotnet |
Description of the bug
RuleHandler.js will soon be missing from the latest template in altinn studio.I think this should be pre-emptively fixed by changing app-frontend-react to not crash when{org}/{app}/api/rulehandler/{id}
responds with 404.The nuget packages in app-lib-dotnet should probably also return204 No Content
instead of404 Not Found
so that it doesn't trash the browser error logs.Update
This issue now tracks the removal of RuleHandler.js and associated files from the template, at some point in the future when dynamic expressions can implement most (or all) of the features used in RuleHandler.js.
The text was updated successfully, but these errors were encountered: