? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
26 May 2020

While refactoring the content history feature, I noticed some inconsistencies in the Tag model and the Tag table.

What happened in the Tag model?

  • Fixed docblock for $table
  • Wrapping everything in a try-catch-block, like it is done in other models.
  • Move all JSON encoding to the table class.
  • Remove "rules" handling. We don't have any access management for tags.
  • Set the "new" state properly.

What happened in the Tag table?

  • properly fill the $_jsonEncode attribute, which allows to delete the whole bind() method.

How to test

There should be no difference to before.

avatar Hackwar Hackwar - open - 26 May 2020
avatar Hackwar Hackwar - change - 26 May 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 May 2020
Category com_tags Administration
avatar toivo toivo - test_item - 27 May 2020 - Tested successfully
avatar toivo
toivo - comment - 27 May 2020

I have tested this item successfully on 9edac4a

Tested successfully in Nightly Build of 27 May in Wampserver 3.2.1 MySQL 8.0.19 PHP 7.4.5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29232.

avatar bonzani bonzani - test_item - 28 May 2020 - Tested successfully
avatar bonzani
bonzani - comment - 28 May 2020

I have tested this item successfully on 9edac4a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29232.

avatar Quy Quy - change - 28 May 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 28 May 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29232.

avatar wilsonge wilsonge - close - 28 May 2020
avatar wilsonge wilsonge - merge - 28 May 2020
avatar wilsonge wilsonge - change - 28 May 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-05-28 18:36:38
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 28 May 2020

Thanks!

Add a Comment

Login with GitHub to post a comment