387
Views
14
Comments
Renaming a Reactive Theme breaks the generation of CSS file (theme-name).extra.css

Hi there!

I have noticed that in a Reactive application if the Theme is renamed this breaks the generation of CSS file 

"<theme.name>.extra.css".

This problem does not occur in Traditional Web.

Using Service Studio 11.10.16, Platform Server 11.11.0 (Build 26942).


Because the file is not generated by the platform, so it does not exist, you will start getting errors like this:

Before, working correctly, this would be the situation.


I am assuming this is bug of the platform and will report this to OutSystems.


This is easy to reproduce:

1) Create a new Reactive application with one module and publish the module. (No need to even create any screen).

2) Rename the theme of the application and publish the module.

You will start getting the error mentioned above.


The workaround that I have found to this is to just cut/paste the theme.

This will cause Service Studio to generate a new theme element with a different internal ID from the previous theme element, and this will trigger the platform to generate the new CSS file "<theme-name>.extra.css".


--Tiago Bernardo

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Tiago,

Thanks for looking into this. I'll also put it to the attention of OutSystems.

2020-01-01 07-11-22
Pravi Gupta

Hi Tiago,
I have also faced the similar scenario.
As a work around I have copy-pasted the theme and changed its name and deleted the old one.


Thanks @Kilian Hekhuis for reporting it to Outsystems.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

As an additional note, please do report this to OutSystems via a Support Case if you haven't already. It'll be easier to get this fixed, also for OS themselves.

2018-08-03 14-17-33
Carlos Escórcio

Still having this issue, i have made the workaround changed the name into the old name and it worked.

2020-02-26 13-55-12
Joris Albeda

Issue is still there. Thanks for the workaround!

UserImage.jpg
Bruno Paulo

Yes i also had the same problem here, but changed into the old name , fixed the problem.

2026-01-03 13-44-38
Erwin van Rijsewijk
Champion

Issue is still here

2019-03-18 10-26-38
Jeroen Vormer

Issue still here !!

2019-03-18 10-26-38
Jeroen Vormer
UserImage.jpg
Ben Puckett

Working with the On-Premise version of OutSystems 11, and we are still experience this issue as of 12/2023, and I can't seem to find the relevant RPM: RPM-3686.Does another RPM need to be created?

2022-09-05 08-23-51
Naveen N

Hey everyone , i am facing the same issue, is there any solution to fix this , to make the extra css file to be added somehow? kindly assist me 

2022-09-05 08-23-51
Naveen N

hey everyone , i took the old extra stylesheet and appended to my current renamed theme. will that be fine or is there any way to add the extra stylesheet kindly advise.

/My old  theme name which created a extra stylesheet /

.ThemeGrid_Container {

    max-width: 1280px;

    padding-left: 5%;

    padding-right: 5%;

}


.ListRecords {

    display: block;

}


div.ThemeGrid_Width1,

div.ThemeGrid_Width2,

div.ThemeGrid_Width3,

div.ThemeGrid_Width4,

div.ThemeGrid_Width5,

div.ThemeGrid_Width6,

div.ThemeGrid_Width7,

div.ThemeGrid_Width8,

div.ThemeGrid_Width9,

div.ThemeGrid_Width10,

div.ThemeGrid_Width11,

div.ThemeGrid_Width12 {

    vertical-align: top;

}


.ThemeGrid_Width1,

.ThemeGrid_Width2,

.ThemeGrid_Width3,

.ThemeGrid_Width4,

.ThemeGrid_Width5,

.ThemeGrid_Width6,

.ThemeGrid_Width7,

.ThemeGrid_Width8,

.ThemeGrid_Width9,

.ThemeGrid_Width10,

.ThemeGrid_Width11,

.ThemeGrid_Width12 {

    display: inline-block;

    box-sizing: border-box;

}


table.ThemeGrid_Width1,

table.ThemeGrid_Width2,

table.ThemeGrid_Width3,

table.ThemeGrid_Width4,

table.ThemeGrid_Width5,

table.ThemeGrid_Width6,

table.ThemeGrid_Width7,

table.ThemeGrid_Width8,

table.ThemeGrid_Width9,

table.ThemeGrid_Width10,

table.ThemeGrid_Width11,

table.ThemeGrid_Width12 {

    display: inline-table;

    vertical-align: top;

}


.ThemeGrid_Width1 {

    width: 6.443298969072165%;

}

.ThemeGrid_Width2 {

    width: 14.948453608247423%;

}

.ThemeGrid_Width3 {

    width: 23.45360824742268%;

}

.ThemeGrid_Width4 {

    width: 31.95876288659794%;

}

.ThemeGrid_Width5 {

    width: 40.4639175257732%;

}

.ThemeGrid_Width6 {

    width: 48.96907216494845%;

}

.ThemeGrid_Width7 {

    width: 57.47422680412372%;

}

.ThemeGrid_Width8 {

    width: 65.97938144329898%;

}

.ThemeGrid_Width9 {

    width: 74.48453608247424%;

}

.ThemeGrid_Width10 {

    width: 82.9896907216495%;

}

.ThemeGrid_Width11 {

    width: 91.49484536082474%;

}

.ThemeGrid_Width12 {

    width: 100%;

}


th.ThemeGrid_Width1,

td.ThemeGrid_Width1 {

    width: 8.505154639175258%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width2,

td.ThemeGrid_Width2 {

    width: 17.010309278350515%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width3,

td.ThemeGrid_Width3 {

    width: 25.51546391752577%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width4,

td.ThemeGrid_Width4 {

    width: 34.02061855670103%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width5,

td.ThemeGrid_Width5 {

    width: 42.52577319587629%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width6,

td.ThemeGrid_Width6 {

    width: 51.03092783505154%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width7,

td.ThemeGrid_Width7 {

    width: 59.5360824742268%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width8,

td.ThemeGrid_Width8 {

    width: 68.04123711340206%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width9,

td.ThemeGrid_Width9 {

    width: 76.54639175257732%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width10,

td.ThemeGrid_Width10 {

    width: 85.05154639175258%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width11,

td.ThemeGrid_Width11 {

    width: 93.55670103092784%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}

th.ThemeGrid_Width12,

td.ThemeGrid_Width12 {

    width: 102.06185567010309%;

    display: table-cell;

    padding-right: 2.061855670103093%;

}


th[class*="ThemeGrid_Width"],

td[class*="ThemeGrid_Width"] {

    padding-right: 2.061855670103093%;

}


.ThemeGrid_MarginGutter {

    margin-left: 2.061855670103093%;

}


.ThemeGrid_Margin1 {

    margin-left: 10.56701030927835%;

}

.ThemeGrid_Margin2 {

    margin-left: 19.072164948453608%;

}

.ThemeGrid_Margin3 {

    margin-left: 27.577319587628864%;

}

.ThemeGrid_Margin4 {

    margin-left: 36.08247422680412%;

}

.ThemeGrid_Margin5 {

    margin-left: 44.58762886597938%;

}

.ThemeGrid_Margin6 {

    margin-left: 53.092783505154635%;

}

.ThemeGrid_Margin7 {

    margin-left: 61.597938144329895%;

}

.ThemeGrid_Margin8 {

    margin-left: 70.10309278350516%;

}

.ThemeGrid_Margin9 {

    margin-left: 78.60824742268042%;

}

.ThemeGrid_Margin10 {

    margin-left: 87.11340206185568%;

}

.ThemeGrid_Margin11 {

    margin-left: 95.61855670103094%;

}


.ThemeGrid_Margin1First {

    margin-left: 8.505154639175258%;

}

.ThemeGrid_Margin2First {

    margin-left: 17.010309278350515%;

}

.ThemeGrid_Margin3First {

    margin-left: 25.51546391752577%;

}

.ThemeGrid_Margin4First {

    margin-left: 34.02061855670103%;

}

.ThemeGrid_Margin5First {

    margin-left: 42.52577319587629%;

}

.ThemeGrid_Margin6First {

    margin-left: 51.03092783505154%;

}

.ThemeGrid_Margin7First {

    margin-left: 59.5360824742268%;

}

.ThemeGrid_Margin8First {

    margin-left: 68.04123711340206%;

}

.ThemeGrid_Margin9First {

    margin-left: 76.54639175257732%;

}

.ThemeGrid_Margin10First {

    margin-left: 85.05154639175258%;

}

.ThemeGrid_Margin11First {

    margin-left: 93.55670103092784%;

}


.is-rtl th[class*="ThemeGrid_Width"],

.is-rtl td[class*="ThemeGrid_Width"] {

    padding-right: auto;

    padding-left: 2.061855670103093%;

}


.is-rtl th.ThemeGrid_Width1,

.is-rtl td.ThemeGrid_Width1,

.is-rtl th.ThemeGrid_Width2,

.is-rtl td.ThemeGrid_Width2,

.is-rtl th.ThemeGrid_Width3,

.is-rtl td.ThemeGrid_Width3,

.is-rtl th.ThemeGrid_Width4,

.is-rtl td.ThemeGrid_Width4,

.is-rtl th.ThemeGrid_Width5,

.is-rtl td.ThemeGrid_Width5,

.is-rtl th.ThemeGrid_Width6,

.is-rtl td.ThemeGrid_Width6,

.is-rtl th.ThemeGrid_Width7,

.is-rtl td.ThemeGrid_Width7,

.is-rtl th.ThemeGrid_Width8,

.is-rtl td.ThemeGrid_Width8,

.is-rtl th.ThemeGrid_Width9,

.is-rtl td.ThemeGrid_Width9,

.is-rtl th.ThemeGrid_Width10,

.is-rtl td.ThemeGrid_Width10,

.is-rtl th.ThemeGrid_Width11,

.is-rtl td.ThemeGrid_Width11,

.is-rtl th.ThemeGrid_Width12,

.is-rtl td.ThemeGrid_Width12 {

    padding-right: auto;

    padding-left: 2.061855670103093%;

}


.is-rtl .ThemeGrid_MarginGutter {

    margin-left: 0;

    margin-right: 2.061855670103093%;

}


.is-rtl .ThemeGrid_Margin1 {

    margin-left: 0;

    margin-right: 10.56701030927835%;

}

.is-rtl .ThemeGrid_Margin2 {

    margin-left: 0;

    margin-right: 19.072164948453608%;

}

.is-rtl .ThemeGrid_Margin3 {

    margin-left: 0;

    margin-right: 27.577319587628864%;

}

.is-rtl .ThemeGrid_Margin4 {

    margin-left: 0;

    margin-right: 36.08247422680412%;

}

.is-rtl .ThemeGrid_Margin5 {

    margin-left: 0;

    margin-right: 44.58762886597938%;

}

.is-rtl .ThemeGrid_Margin6 {

    margin-left: 0;

    margin-right: 53.092783505154635%;

}

.is-rtl .ThemeGrid_Margin7 {

    margin-left: 0;

    margin-right: 61.597938144329895%;

}

.is-rtl .ThemeGrid_Margin8 {

    margin-left: 0;

    margin-right: 70.10309278350516%;

}

.is-rtl .ThemeGrid_Margin9 {

    margin-left: 0;

    margin-right: 78.60824742268042%;

}

.is-rtl .ThemeGrid_Margin10 {

    margin-left: 0;

    margin-right: 87.11340206185568%;

}

.is-rtl .ThemeGrid_Margin11 {

    margin-left: 0;

    margin-right: 95.61855670103094%;

}


.is-rtl .ThemeGrid_Margin1First {

    margin-left: 0;

    margin-right: 8.505154639175258%;

}

.is-rtl .ThemeGrid_Margin2First {

    margin-left: 0;

    margin-right: 17.010309278350515%;

}

.is-rtl .ThemeGrid_Margin3First {

    margin-left: 0;

    margin-right: 25.51546391752577%;

}

.is-rtl .ThemeGrid_Margin4First {

    margin-left: 0;

    margin-right: 34.02061855670103%;

}

.is-rtl .ThemeGrid_Margin5First {

    margin-left: 0;

    margin-right: 42.52577319587629%;

}

.is-rtl .ThemeGrid_Margin6First {

    margin-left: 0;

    margin-right: 51.03092783505154%;

}

.is-rtl .ThemeGrid_Margin7First {

    margin-left: 0;

    margin-right: 59.5360824742268%;

}

.is-rtl .ThemeGrid_Margin8First {

    margin-left: 0;

    margin-right: 68.04123711340206%;

}

.is-rtl .ThemeGrid_Margin9First {

    margin-left: 0;

    margin-right: 76.54639175257732%;

}

.is-rtl .ThemeGrid_Margin10First {

    margin-left: 0;

    margin-right: 85.05154639175258%;

}

.is-rtl .ThemeGrid_Margin11First {

    margin-left: 0;

    margin-right: 93.55670103092784%;

}


/* ExcludeFromPickers: ThemeGrid_Container, ThemeGrid_Wrapper, ThemeGrid_Width1, ThemeGrid_Width2, ThemeGrid_Width3, ThemeGrid_Width4, ThemeGrid_Width5, ThemeGrid_Width6, ThemeGrid_Width7, ThemeGrid_Width8, ThemeGrid_Width9, ThemeGrid_Width10, ThemeGrid_Width11, ThemeGrid_Width12, ThemeGrid_MarginGutter, ThemeGrid_Margin1, ThemeGrid_Margin2, ThemeGrid_Margin3, ThemeGrid_Margin4, ThemeGrid_Margin5, ThemeGrid_Margin6, ThemeGrid_Margin7, ThemeGrid_Margin8, ThemeGrid_Margin9, ThemeGrid_Margin10, ThemeGrid_Margin11, ThemeGrid_Margin1First, ThemeGrid_Margin2First, ThemeGrid_Margin3First, ThemeGrid_Margin4First, ThemeGrid_Margin5First, ThemeGrid_Margin6First, ThemeGrid_Margin7First, ThemeGrid_Margin8First, ThemeGrid_Margin9First, ThemeGrid_Margin10First, ThemeGrid_Margin11First */


2024-03-15 16-39-59
Wallace Pimenta

Quase 2026 e o problema ainda está aqui.

2019-03-18 10-26-38
Jeroen Vormer

The related RPM-3686 is still "Investigation on hold", unfortunately.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.