? ? Failure

User tests: Successful: Unsuccessful:

avatar phalouvas
phalouvas
20 Nov 2017

Pull Request for Issue #18711

.

Summary of Changes

Issue_18711.zip

diff --git a/administrator/components/com_fields/Table/FieldTable.php b/administrator/components/com_fields/Table/FieldTable.php
index c7bc876..0efd355 100644
--- a/administrator/components/com_fields/Table/FieldTable.php
+++ b/administrator/components/com_fields/Table/FieldTable.php
@@ -112,7 +112,7 @@
$this->name = str_replace(',', '-', $this->name);

	// Verify that the name is unique
  •   $table = new Field($this->_db);
    
  •   $table = new FieldTable($this->_db);
    
      if ($table->load(array('name' => $this->name)) && ($table->id != $this->id || $this->id == 0))
      {
    

Testing Instructions

Create a new Custom Field in back end and save.

Expected result

screen shot 2017-11-19 at 17 25 19

Actual result

Field saved

Documentation Changes Required

No

avatar phalouvas phalouvas - open - 20 Nov 2017
avatar phalouvas phalouvas - change - 20 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2017
Category Unit Tests Repository JavaScript Administration com_admin
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
Title
4.0 dev
[4.0 ] Save custom field
avatar joomla-cms-bot joomla-cms-bot - edited - 20 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 20 Nov 2017
avatar wilsonge wilsonge - change - 20 Nov 2017
Labels Added: ? ?
avatar wilsonge
wilsonge - comment - 20 Nov 2017

All you've done here is request merging 4.0 into staging. But the fix in your description is correct so I've committed it with 78162da

avatar wilsonge wilsonge - change - 20 Nov 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-11-20 11:23:55
Closed_By wilsonge
avatar wilsonge wilsonge - close - 20 Nov 2017

Add a Comment

Login with GitHub to post a comment