profile field and dashbaord fixes
This commit is contained in:
parent
3955b11149
commit
93b64fc46f
4 changed files with 10 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
- fix: Workflow activities don't pick up new default values
|
- fix: Workflow activities don't pick up new default values
|
||||||
- safely allow sorting by more fields in collaboration systems
|
- safely allow sorting by more fields in collaboration systems
|
||||||
- fix: iCal link on calendar doesn't work
|
- fix: iCal link on calendar doesn't work
|
||||||
|
- fix: error when deleting profile fields with non-alphanumeric names
|
||||||
- add: Friends Network
|
- add: Friends Network
|
||||||
|
|
||||||
7.4.10
|
7.4.10
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,13 @@ upgrading from one version to the next, or even between multiple
|
||||||
versions. Be sure to heed the warnings contained herein as they will
|
versions. Be sure to heed the warnings contained herein as they will
|
||||||
save you many hours of grief.
|
save you many hours of grief.
|
||||||
|
|
||||||
|
7.5.0
|
||||||
|
--------------------------------------------------------------------
|
||||||
|
* The 7.4.8 upgrade script had an error for sites using Dashboards.
|
||||||
|
This would prevent the script from completing successfully. The
|
||||||
|
script has been fixed for future releases.
|
||||||
|
|
||||||
|
|
||||||
7.4.3
|
7.4.3
|
||||||
--------------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ sub fixDashboardContentPositions {
|
||||||
fieldType=>'textarea'
|
fieldType=>'textarea'
|
||||||
});
|
});
|
||||||
my $oldContentPositionId = $dashboardId."contentPositions";
|
my $oldContentPositionId = $dashboardId."contentPositions";
|
||||||
my $userPositioning = $db->read("select userId, `".$oldContentPositionId."` from userProfileData");
|
my $userPositioning = $db->read("select userId, " . $db->dbh->quote_identifier($oldContentPositionId) . " from userProfileData");
|
||||||
while (my ($userId, $positions) = $userPositioning->array) {
|
while (my ($userId, $positions) = $userPositioning->array) {
|
||||||
$db->write("update userProfileData set $newContentPositionId = ? where userId=?", [$positions, $userId]);
|
$db->write("update userProfileData set $newContentPositionId = ? where userId=?", [$positions, $userId]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ sub delete {
|
||||||
my $db = $self->session->db;
|
my $db = $self->session->db;
|
||||||
|
|
||||||
# Remove the column from the userProfileData table
|
# Remove the column from the userProfileData table
|
||||||
$db->write("ALTER TABLE userProfileData DROP " . $self->getId);
|
$db->write("ALTER TABLE userProfileData DROP " . $db->dbh->quote_identifier($self->getId));
|
||||||
|
|
||||||
# Remove the record
|
# Remove the record
|
||||||
$db->deleteRow("userProfileField","fieldName",$self->getId);
|
$db->deleteRow("userProfileField","fieldName",$self->getId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue