Bug #2270
closedJ1.6: CB plugins are using access levels: stay compatible with CB 1.x access values
Description
When installing a plugin it defaults to Public which is ID of 0 in J15 and previous however in J16 public is ID of 1. This causes plugins to either fail, maybe even ignore the setting all together, or errors when viewing a plugin that is trying to format the ID into a Title (all incubator projects for instance).
Files
Updated by krileon almost 14 years ago
Access seams to behave incorrectly at various locations such as clicking Public does not change it to Registered. Minor adjustments needed to ensure J16 access levels are used.
Updated by krileon almost 14 years ago
- File 2270a.patch 2270a.patch added
- File 2270b.patch 2270b.patch added
- File 2270c.patch 2270c.patch added
Updated by krileon almost 14 years ago
- Status changed from New to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Updated by krileon almost 14 years ago
- File 2270a-rev2.patch 2270a-rev2.patch added
- File 2270b-rev2.patch 2270b-rev2.patch added
Rev2 is a more minimal approach where it conforms J16 1, 2, 3 (Public, Registered, Special) to J15 and previous 0, 1, 2. This allows direct database import from previous CMS releases and still maintaining a functional site. J16 custom access levels are also still supported.
Updated by beat almost 14 years ago
- Subject changed from J16: plugins installing with access as 0 should be 1 to J1.6: CB plugins are using access levels: stay compatible with CB 1.x access values
- Estimated time set to 2:30 h
We decided to stay compatible with CB 1.x access values (0,1,2) and not with broken new J1.6 "old" access values (1,2,3)
Updated by beat almost 14 years ago
Advantage is that moving existing CB installs from Joomla 1.5 or 1.0 to Joomla 1.6 is easier.
However:
Side effect of this fix is that people having installed CB 1.3.1 on Joomla 1.6 must check access level of their CB Plugins that they edited in the backend Plugin managemnt. All plugins should be "Public" by default. Those which are not might need to be edited, changed to "Public" and saved.
Note to be added to INSTALL_UPGRADE for CB 1.3.x on Joomla 1.6 upgrades to CB 1.4.x.