Highlights:
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1087 |
---|
|
...
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1096 |
---|
|
Bug fixes:
Stories:
Tasks:
Breaking changes:
Upload SECURITY_MODULE, PARTICIPANT_MODULE from develop branch.
Run the sql from the sql fix section.
Delete old SECURITY_MODULE, PARTICIPANT_MODULE.
SQL Fixes:
Code Block |
---|
update system_template set template_id = '4196c9da-5cab-4f49-a076-4da414edc896' where name = 'PARTICIPANT_MODULE';
update system_template set template_id = '2193fab6-b06e-4ba4-ae87-54477dfd3cda' where name = 'SECURITY_MODULE';
do $$
declare
r record;
sql varchar;
begin
for r in select id from project where archive_initialized = true
loop
sql := 'alter table if exists ' || r.id || '.object_restriction alter column object_reference type uuid using object_reference::uuid';
execute sql;
Begin
sql := 'ALTER TABLE ' || r.id || '.aktor_relasjon add column object_reference varchar';
execute sql;
EXCEPTION
WHEN duplicate_column THEN RAISE NOTICE 'column <column_name> already exists in <table_name>.';
END;
sql := 'update ' || r.id || '.aktor_relasjon set object_reference=objekt_id';
-- raise notice '%s',sql;
execute sql;
sql := 'alter table if exists ' || r.id || '.aktor_relasjon alter column object_reference type uuid using object_reference::uuid';
execute sql;
sql := 'ALTER TABLE ' || r.id || '.aktor_relasjon drop column objekt_id';
execute sql;
end loop;
end; $$ |
How to Upgrade
Upload the latest SECURITY_MODULE
and PARTICIPANT_MODULE
templates in your current version (most likely 1.38) of Asta7.
Upgrade to 1.39.1
Go to the asta7 directory and run the following script
View file |
---|
name | asta7-upgrade-1.40.sh |
---|
|
After Asta7 is up and running import an empty file in all the initialized projects. You should also delete the old SECURITY_MODULE
and PARTICIPANT_MODULE
templates.
Configuration:
View file |
---|
name | PARTICIPANT_MODULE.xml |
---|
|