Problem/Motivation

The help page for this module is currently broken and refers to a README.txt from an old 6.x branch.

User warning: Invalid placeholder (!README) with string:[...]

Steps to reproduce

Proposed resolution

Use a smart help hook which displays the current README on the help page.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Grevil created an issue. See original summary.

grevil’s picture

Issue summary: View changes
anybody’s picture

Thanks @Grevil, confirming this. Should be fixed.

noorulshameera’s picture

Status: Active » Needs review
StatusFileSize
new1003 bytes

Adding a patch to fix the deprecated link on help page.

anoopsingh92 made their first commit to this issue’s fork.

anoopsingh92’s picture

Assigned: Unassigned » anoopsingh92

Reviewing the patch. thanks

anoopsingh92’s picture

Assigned: anoopsingh92 » Unassigned
StatusFileSize
new13.45 KB

@noorulshameera patch has been applied cleanly for me.
Patch #4
Thanks for the patch.

grevil’s picture

Status: Needs review » Needs work

@noorulshameera thanks for the patch, but I suggest not pointing to a static external Link, as this has to be updated for every major release. Furthermore, the README suffix should be changed to ".md" so markdown reader have an easier time styling accordingly.

anybody’s picture

Perhaps a magic link like this could be used?

https://git.drupalcode.org/project/login_security/-/blob/@/README.txt

Please rewrite the README.txt to README.md in a separate issue @noorulshameera thanks :)

anybody’s picture

Please prepare the changes as MR, not as patch. The MR is currently empty?!

Arturo1007 made their first commit to this issue’s fork.

Arturo-q’s picture

Status: Needs work » Needs review

Hi, I've created the MR using the patch, I also added the link suggested on #9.

grevil’s picture

Status: Needs review » Needs work

The README is still a .txt file!

anybody’s picture

Status: Needs work » Needs review

Fixed that!

anybody’s picture

anoopsingh92’s picture

Thanks @Anybody, for the changes, I didn't know you also working on that. At the same time, we are working on the same ticket. You have pushed just a few minutes ago. When I got the conflicts in the same files then I accept incoming changes.
Thank you so much.

grevil’s picture

Status: Needs review » Needs work

Final thing, please remove the "--------------" in the .md file.

anoopsingh92’s picture

Status: Needs work » Needs review

Hello @Grevil, I have removed "--------------" from the headings from the .md file. Please verify.
Thanks

anybody’s picture

Status: Needs review » Needs work

I still see a merge error and the MR can not be merged? Has to be rebased locally.

Webbeh’s picture

Status: Needs work » Needs review

Given the above, for review?

anybody’s picture

anybody’s picture

@anoopsingh92 @Arturo1007 could you rebase this MR?

anoopsingh92’s picture

I tried to fix that MR issue with the new branch also but did not get success. That's why I have closed the merge request !19.

I am still getting the below message.

Merge blocked: fast-forward merge is not possible. To merge this request, first rebase locally.
The source branch is 9 commits behind the target branch
1 commit will be added to 2.x.
Source branch will not be deleted.

MR is not mergeable. Anyone can try to fix that MR blocker.

Thank you

anoopsingh92’s picture

I think we can close this MR and then we can recreate a new MR and apply the changes.
Then we can push the changes into the new branch or the same branch.

grevil’s picture

Creating a new MR on the same branch won't fix the issue. As stated a rebase is needed.

elber’s picture

Assigned: Unassigned » elber
Category: Task » Bug report

Hi I will try to a do a rebase

elber’s picture

Assigned: elber » Unassigned
Status: Needs work » Needs review

Hi a did the rebase please revise.

soothmidas’s picture

StatusFileSize
new2.13 KB
new2.13 KB

I discovered this issue in the 2.0.3 release running Drupal 11. I fixed it in my site by printing the contents of the README file in the help file and abandoning a link all together. I also change the README from a txt to a md file. I have provided patches for the 2.0.3 tag as well as the 2.x branch (See filename).

anybody’s picture

Status: Needs review » Needs work

Please do NOT use patches, but the MR.