Skip to content
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

404 error received when creating a new subform #13967

Closed
lassopicasso opened this issue Nov 1, 2024 · 4 comments · Fixed by #13992
Closed

404 error received when creating a new subform #13967

lassopicasso opened this issue Nov 1, 2024 · 4 comments · Fixed by #13992
Labels
added-to-sprint area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. team/studio-domain2

Comments

@lassopicasso
Copy link
Contributor

Description of the bug

When creating a new subform in the next recommended action of the subform component, the functionality works, but it also returns a 404 error from the backend.

Image

Steps To Reproduce

  1. Go to "Utforming."
  2. Add a "Subform" component.
  3. In the configuration of the component, create a new subform layout set.
  4. The error message will be displayed.

Additional Information

No response

@lassopicasso lassopicasso added area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. team/studio-domain2 labels Nov 1, 2024
@lassopicasso lassopicasso self-assigned this Nov 1, 2024
@lassopicasso lassopicasso moved this to 👷 In Progress in Team Studio Nov 1, 2024
@JamalAlabdullah
Copy link
Contributor

I have tested this in dev and i did not get this error 🤔

20241101-1437-28.3357169.mp4

@lassopicasso lassopicasso changed the title 404 error received when creating a new subform from Next Recommended Action config 404 error received when creating a new subform Nov 2, 2024
@lassopicasso
Copy link
Contributor Author

lassopicasso commented Nov 4, 2024

I have tested this in dev and i did not get this error 🤔

Hm.. you are correct. When i started testing it again in prod it worked, but testing some more it seems like I get the error sometimes. Will investigate it a bit further.

@lassopicasso lassopicasso linked a pull request Nov 6, 2024 that will close this issue
4 tasks
@lassopicasso lassopicasso moved this from 👷 In Progress to 🔎 Review in Team Studio Nov 6, 2024
@lassopicasso lassopicasso removed their assignment Nov 6, 2024
@lassopicasso lassopicasso assigned wrt95 and unassigned lassopicasso Nov 8, 2024
@wrt95 wrt95 removed their assignment Nov 12, 2024
@wrt95 wrt95 moved this from 🔎 Review to 🧪 Test in Team Studio Nov 12, 2024
@nkylstad
Copy link
Member

Tested OK in dev - created a new subform via the recommended next action sequence, and subform was created as expected with no error messages.


Side note, and not related to this issue directly, but it is not possible to create a new subform via the recommended next action if there are no subform layoutsets already existing. F.ex. if you:

  • create a new service (with no subforms),
  • add the "Table for subform" component to the main form

I would expect to be able to create the subform directly from the next recommended action component.
However, I only get an information message saying that there are no subform layoutsets.
Image

Commented on this in case you weren't aware, in that case it should be a new issue.

@lassopicasso
Copy link
Contributor Author

I would expect to be able to create the subform directly from the next recommended action component.
However, I only get an information message saying that there are no subform layoutsets.

@nkylstad that will be solved in this issue, #13999 🙂

@github-project-automation github-project-automation bot moved this from 🧪 Test to Documentation in Team Studio Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added-to-sprint area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. team/studio-domain2
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

4 participants