Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7159

Closed
Open
Created Jun 19, 2014 by Administrator@rootOwner

HTTP 404 errors when saving forms on first load when using chrome-dev

Created by: mauritslamers

When having a form it turns out that when trying to save the form gitlab returns an 404, where the log states that there is no route (in this case a Wiki page)

ActionController::RoutingError (No route matches [PUT] "/user/project/wikis/Page/edit"):

I noticed however that reloading the page after it is first displayed makes the form save correctly.

This behaviour first occurred after an upgrade from 6.8 to 6.9 but remains after downgrading back to 6.8. It seems that the problem is that the page incorrectly tries to save to the wrong URL.

At first the page tries to PUT the form to /user/project/wikis/Page/edit but after refreshing the page the page correctly PUT the form to /user/project/wikis/Page.

Assignee
Assign to
Time tracking