Success

User tests: Successful: Unsuccessful:

avatar alikon
alikon
31 Jul 2016

Summary of Changes

Create Categories on-the-fly on Weblink edit form

Testing Instructions

Apply patch
Go to Administrator -> Components -> Weblinks ->Link
Click "New"
Enter link details
on category list, enter a new category name and press "Enter"
(work like the cms feature for content,contact, ect)

avatar alikon alikon - open - 31 Jul 2016
avatar yvesh yvesh - test_item - 31 Jul 2016 - Tested successfully
avatar yvesh
yvesh - comment - 31 Jul 2016

I have tested this item successfully on 6e425b7

Works as expected. Thank you Nicola for your work :-)

screenshot 2016-07-31 08 47 40


This comment was created with the J!Tracker Application at issues.joomla.org/weblinks/252.

avatar alikon
alikon - comment - 31 Jul 2016

what is supposed to be the correct CS ?
... i always fight with CS/travis etc..... cause i'm lazy ?

avatar yvesh
yvesh - comment - 31 Jul 2016

@alikon http://joomla.github.io/coding-standards/?coding-standards/chapters/xml.md

So in this case

<field
    name="catid"
    type="categoryedit"
    extension="com_weblinks"
    label="JCATEGORY"
    description="COM_WEBLINKS_FIELD_CATEGORY_DESC"
    required="true"
    allowAdd="true"
    default=""
 />
avatar roland-d roland-d - test_item - 31 Jul 2016 - Tested successfully
avatar roland-d
roland-d - comment - 31 Jul 2016

I have tested this item successfully on 6e425b7

After applying the patch, I am able to add categories when editing/creating a weblink.


This comment was created with the J!Tracker Application at issues.joomla.org/weblinks/252.

avatar zero-24
zero-24 - comment - 31 Jul 2016

I guess we should implement ACL checks like: joomla/joomla-cms#11244

avatar yvesh
yvesh - comment - 31 Jul 2016

@zero-24 But this is maybe something for a second PR imo.

Any ideas how to implement that without duplicate code? That model check should be either in a helper or move into the JModelAdmin itself. What do you think? Else we will have it in so many areas..

avatar zero-24
zero-24 - comment - 31 Jul 2016

ACL: alikon#4

avatar alikon
alikon - comment - 1 Aug 2016

@zero-24 thanks
merged

avatar zero-24
zero-24 - comment - 1 Aug 2016

?

avatar zero-24
zero-24 - comment - 23 Sep 2016

I think after the last changes we can go with the ACL fixes?

avatar alikon
alikon - comment - 24 Sep 2016

@zero-24 can you be more detailed ?
if i'm not missing something, and this is probable, joomla/joomla-cms#11244 is adopted....

avatar zero-24
zero-24 - comment - 24 Sep 2016

Yes. I want to say we should merge here ;)

avatar chrisdavenport chrisdavenport - test_item - 20 Oct 2016 - Tested successfully
avatar chrisdavenport
chrisdavenport - comment - 20 Oct 2016

I have tested this item successfully on ee124c6


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/weblinks/252.

Add a Comment

Login with GitHub to post a comment