HubPress / hubpress.io

A web application to build your blog on GitHub
MIT License
2.81k stars 2.63k forks source link

Cannot update old articles #530

Open ochaloup opened 6 years ago

ochaloup commented 6 years ago

I have troubles with updating text of old posts. If I click on the icon for updating, I make changes in the text and wants to save then the waiting wheel is shown but nothing is processed. The wheel is shown for infinite.

I checked the google chrome console and this is possibly related error there

Repository.js:922 Uncaught (in promise) TypeError: Cannot read property 'sha' of null
    at Repository.js:922
    at <anonymous>
kunicmarko20 commented 6 years ago

Same issue, did you find a fix @ochaloup?

ochaloup commented 6 years ago

@kunicmarko20 just a workaround.

I tried toi debug that a bit but as I'm not a well experienced with javascript development I'm missing guidelines how to run developer version of the hubpress. Some possibility the article https://github.com/HubPress/hubpress.io/blob/master/CONTRIBUTING.adoc#running-hubpress-in-development-mode will be written some day? @jaredmorgs

The workaround for me is to edit locally the old article adoc sources at blog/_posts/something.adoc. Then push my changes to the github repo. And finally to force rebuilding the whole site. Which I do just simple changing description of my site: http://mysite/hubpress/#/ -> login -> top-left menu square -> Settings -> HubPress tab -> changing description (e.g. just adding a space) -> save (top-right icon of discette)

kunicmarko20 commented 6 years ago

Thank you, maybe it is time to find another blogging platform :slightly_smiling_face:

ochaloup commented 6 years ago

probably, but :-/ I think that was kind of summarized already in the https://github.com/HubPress/blog.hubpress.io/blob/gh-pages/_posts/2016-10-11-We-Arent-Dead-Yet-Hub-Press-Roadmap.adoc

jabby commented 5 years ago

Same problem for me. @anthonny do you have time to investigate?

For more information: I tried with firefox developer edition and latest chrome on windows.

anthonny commented 5 years ago

No sorry @jabby

jabby commented 5 years ago

No problem. I understand. I manage the changes throught standard commit.