[MAGNOLIA-1429] Line Breaks are gone after Activation Created: 19/Mar/07 Updated: 23/Jan/13 Resolved: 10/Jan/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 3.0.1 |
| Fix Version/s: | 3.0.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Claudio Greuter | Assignee: | Boris Kraft |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
magnolia 3.0.1 on Tomcat/mysql/windows2003 |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
I store a paragraph with a 3-line field for phone numbers. upon save in the author instance, these line breaks are converted to <br> tags (which seems correct). The problem is that after activating this content, the line breaks are missing in the public instance. This only applies when i use a plain text field. using FCK i did not experience this problem. I guess it is related to the activation process itself, perhaps the XML transformation gets rid of the "new lines", so the public magnolia does not have the information to insert BR tags? |
| Comments |
| Comment by Claudio Greuter [ 19/Mar/07 ] |
|
Ok I discovered a Second Problem, with the same bug as cause: The Simplemailtag does not allow to specify more than one emailadress. It would separate the adresses by line breaks, however these are gone when activating the mailform, leaving invalid emailadresses. |
| Comment by Claudio Greuter [ 20/Mar/07 ] |
|
For teh second problme i implemented a small fix. as the problem is the way the adresses are split, i've extended MgnlEmail.createAdressList() to take the following characters for splitting:
It works now fine for me, and i woould like to share the change with the community. How can i submit this change? Claudio |
| Comment by Mahmoud Said [ 09/Jan/08 ] |
|
Greetings Everyone.. i'm having a major issue as a result of this bug. now i'm using magnolia 3.0.1 which looks much better and is more stable than the old versions. to add the data to the table u use " , " as column separator and the new line as line separator.. as following: content: row11 , row12 , row13 this should provide tabular data with 3 rows and 3 columns.. u can guess the data locations in the table.. the page looks pretty fine on the author instance... however when activated to production instance.. the "new lines" are missing.. and all the 9 elements are positioned in one row... it is really messy.. is there anything done to get over the new line characters being dropped?? |
| Comment by Philipp Bracher [ 10/Jan/08 ] |
|
I quickly tested that with the latest magnolia 3.5.2 and 3.0.5. It works nicely. |