Problem/Motivation

Currently the autologout.libraries.yml file has the version set to VERSION which strongly links it to core's version.

This makes it difficult to apply updates when the asset is cached.

Proposed resolution

The version should be left empty so that it is invalidated whenever a cache clear occurs.

Remaining tasks

Provide issue fork.

Issue fork autologout-3533164

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

codebymikey created an issue. See original summary.

codebymikey’s picture

Issue summary: View changes
Status: Active » Needs review
deaom’s picture

Status: Needs review » Reviewed & tested by the community

The removal of the version tag in libraries can be merged, marking it as RTBC.
But just as an info, it is planned for the version to actually also work for contributed/custom modules as per #2205027: VERSION in library declarations does not work for contributed/custom modules

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

ajits’s picture

Version: 2.x-dev » 8.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

Thank you for the report. I have merged the PR.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

ajits’s picture

Version: 8.x-1.x-dev » 2.x-dev
Status: Fixed » Patch (to be ported)

This also needs to be done for the 2.x branch.

ajits changed the visibility of the branch 3533164-remove-version to hidden.

  • ajits committed 857b585f on 2.x authored by codebymikey
    Issue #3533164 by codebymikey: Remove the VERSION from autologout....
ajits’s picture

Status: Patch (to be ported) » Fixed

Cherry-picked to 2.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.