Giter VIP home page Giter VIP logo

Comments (9)

surinara avatar surinara commented on June 2, 2024 1

I get the same error in the same version. It seems to be happening in "size: 16".

image
image

from gitea.

silverwind avatar silverwind commented on June 2, 2024

Comes from here:

latest_commit_status_state: webSearchRepo.latest_commit_status.State,

It does not seem to not be a recent regression.

from gitea.

silverwind avatar silverwind commented on June 2, 2024

@shootie22 can you open browser devtools, network tab, find the last GET request to /repo/search and post the response JSON?

from gitea.

wxiaoguang avatar wxiaoguang commented on June 2, 2024

I think it is related to a recent change, the latest_commit_status could be nil. @lunny

By this:

from gitea.

wxiaoguang avatar wxiaoguang commented on June 2, 2024

-> Fix dashboard commit status null access #30771

from gitea.

lunny avatar lunny commented on June 2, 2024

I think it is related to a recent change, the latest_commit_status could be nil. @lunny

By this:

* [Cache repository default branch commit status to reduce query on commit status table #29444](https://github.com/go-gitea/gitea/pull/29444)

It's weird. #30700 should have resolve the problem.

from gitea.

wxiaoguang avatar wxiaoguang commented on June 2, 2024

The backend bug has been fixed, but the nil/null is still passed to frontend.

from gitea.

shootie22 avatar shootie22 commented on June 2, 2024

Thanks for being so fast to reply, everyone. 🙂
I'm at work now, but I will provide more details as soon as I get home.

from gitea.

shootie22 avatar shootie22 commented on June 2, 2024

@shootie22 can you open browser devtools, network tab, find the last GET request to /repo/search and post the response JSON?

I think one of these two should be the response:
{"success_fraction":0,"report_to":"cf-nel","max_age":604800}

{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=mLkdCyVnBspjjfnAacUgzJaS8uzopX5dqjc%2BQV9Wm%2F6eF%2F1g9aJkCCC7yGsYyvgJk6H1t5ochGRMtHTRKfOwV%2F6W5g014ClukG7nObTHZ%2FN6W5feDBJ8yv8w26iZDUlXBI9n"}],"group":"cf-nel","max_age":604800}

It's worth mentioning that I am routing this install through Cloudflare. Even so, I get the same behavior through the local address.

from gitea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.