User tests: Successful: Unsuccessful:
See #3419
Issue tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33580
Shouldn't this PR be made against 3.3-dev branch as it seems to introduce potential backwards compatibility issues ?
Why do you think there could be BC issues? All it does is
However according to SemVer which we will use starting with 3.4, it would indeed have to go into the new minor. But only because new deprecations aren't allowed to go into a patch (see point 7).
Hi Thomas,
It is a backwards-compatibility issue because:
Those are the exact reasons why SemVer requests deprectations to go into minor release increment.
Best Regards
Any extension extending that JForm will not find that field anymore (ok, not a lot of extensions affected but still a BC issue)
Please note that the field is still there. We don't remove it. We just deprecate it.
It will then be removed with 4.0, not earlier.
Potentially filling logs with suddenly deprecate messages is a DoS/DDsS vulnerability issue.
The log message is only written if the admin has that message logging ("Log deprecated API" in the "Logging" tab) enabled in the debug plugin.
It's disabled by default for the exact reason you noted. Try it once yourself, the log will already be filled fast, I promise
@phproberto: 3.3 is fine. Now wondering: is "staging" branch 3.3 or 3.2.next ? There is still a "3.3-dev" branch, thus I supposed that staging was 3.2.next. Thus looks like i got confused ?
Currently, staging
is still Joomla 3.2. 3.3-dev
holds the code of the current 3.3 beta.
This will change once 3.3 is released.
Then staging
will become 3.2.x
, 3.3-dev
becomes the new staging
and there will be a new branch 3.4-dev
.
However I have no clue what happens with PRs targeted at staging
. I guess they will change their target automatically to 3.2.x
but we will see.
Everything clear?
Thanks Thomas, then this PR should not go to staging but to 3.3-dev for various good reasons listed above ;-)
We don't accept PRs against 3.3-dev branch. All PRs have to be done vs staging and then (for 3.3 ) they are picked manually by @mbabker
So even not being done against 3.3-dev that doesn't mean it cannot be merged into 3.3. I'll try to talk about this with Michael and if not replace the deprecated tag with 3.4
.
Thanks!
ok, even more different than I thought, learning every day. As said it's 100% fine for 3.3.0.
We can take PRs to 3.3-dev just fine if that's what version the PR is
intended for. Or if it's against staging, I can just manually grab it like
you said. Either or works.
On Wed, Apr 9, 2014 at 9:36 AM, Roberto Segura notifications@github.comwrote:
We don't accept PRs against 3.3-dev branch. All PRs have to be done vs
staging and then (for 3.3 ) they are picked manually by @mbabkerhttps://github.com/mbabkerSo even not being done against 3.3-dev that doesn't mean it cannot be
merged into 3.3. I'll try to talk about this with Michael and if not
replace the deprecated tag with 3.4.Thanks!
Reply to this email directly or view it on GitHub#3421 (comment)
.
It would be nice if that form field is deprecated to put it in the legacy folder as well - try and start getting this stuff reorganized
It would be nice if that form field is deprecated to put it in the legacy folder as well - try and start getting this stuff reorganized
There is not really a point in moving that file to legacy. Legacy doesn't exactly mean "deprecated".
The deprecation tag and the log notice is all which is needed.
Also moving files could potentially break someones code if he load it manually (which is bad behaviour, but still). So we would have no gain but a low risk.
Labels |
Removed:
?
|
Title |
|
Status | New | ⇒ | Pending |
Title |
|
How to test:
</extension>
add the following code: <config>
<fields name="params">
<fieldset name="basic">
<field
name="myfield"
type="usergroup"
label="User Group">
<option value="">No Group</option>
</field>
</fieldset>
</fields>
</config>
You should see a dropdown with default option "Show all groups" which is bad because you set <option value="">No Group</option>
in the above code
Apply the patch
How to test:
</extension>
add the following code: <config>
<fields name="params">
<fieldset name="basic">
<field
name="myfield"
type="usergroup"
label="User Group">
<option value="">No Group</option>
</field>
</fieldset>
</fields>
</config>
You should see a dropdown with default option "Show all groups" which is bad because you set <option value="">No Group</option>
in the above code
Apply the patch
Milestone |
Added: |
I have updated this PR but I'm closing it and create a new PR against 3.5-dev
branch.
Thanks everybody for your comments / tests!
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-28 13:16:09 |
Status | Closed | ⇒ | New |
Reopened so this is merged into staging branch.
Status | New | ⇒ | Closed |
Closed_Date | 2015-02-28 13:16:09 | ⇒ | 2015-03-05 22:11:31 |
Milestone |
Added: |
Milestone |
Removed: |
Hi Roberto,
Thanks for this improvement (and of course for all your other contributions).
Shouldn't this PR be made against 3.3-dev branch as it seems to introduce potential backwards compatibility issues ?