Magento2: Lifetime update syntax error

Created on 22 Jan 2018  路  7Comments  路  Source: magento/magento2

https://github.com/magento/magento2/blob/9c14af7a97bcf338662de365d2613c7ca9dbf8c6/lib/internal/Magento/Framework/Cache/Backend/Database.php#L436

Should be (question sign is missing):

['id=?' => $id, 'expire_time = 0 OR expire_time>?' => time()]

Fixed in 2.2.x Fixed in 2.3.x Clear Description Confirmed Format is not valid Ready for Work Reproduced on 2.1.x Reproduced on 2.2.x Reproduced on 2.3.x

All 7 comments

Please use our issue reporting template to describe this issue. The template specifies the version and configuration information we need to assess your issue. See the Issue reporting guidelines for more information.

@magento-engcom-team
Really? Don't you see a syntax error?
It's valid for any available version of Magento 2.

@navalnichnik, thank you for your report.
We've acknowledged the issue and added to our backlog.

Hi @ssp58bleuciel. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:

  • [ ] 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
  • [ ] 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • [ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

Hi @navalnichnik. Thank you for your report.
The issue has been fixed in magento/magento2#19634 by @ssp58bleuciel in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.1 release.

@navalnichnik What does this fix exactly?

Hi @navalnichnik. Thank you for your report.
The issue has been fixed in magento/magento2#21078 by @ssp58bleuciel in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.9 release.

Was this page helpful?
0 / 5 - 0 ratings