NatLabRockies / NatLabRockies/api-umbrella

Role and order don't stick in Sub-URL Request Settings

Open
#405 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.2k
Forks
373
PR merge metrics
No merged PRs in 30d

Description

Hello,
Version: 0.14.4

First of all - thanks for the project.

So, I created three sub-URLs:

  1. GET, ^/.+
    role = "all-methods"
  2. GET, ^/[0-9]+/method1/.+
    role = "method1"
  3. GET, ^/[0-9]+/method2/.+
    role = "method2"

After I saved and published, the roles in the settings were switched around in what seems like random fashion. I would edit them and republished, and the roles were moved around again.

Another issue is ordering. I move sub-url 1 into last position, clicked "Done" button after ordering and republished. When I went back to view the API Backend config, the order is back with sub-url 1 on top again.

I am not sure if I was not doing it right or these are bugs.

Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the role reassignment and sub-URL ordering behavior in Sub-URL Request Settings, then trace the save and publish flow. Done means roles remain attached to their intended sub-URLs and the saved order remains unchanged after returning to the API Backend configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.