[MAGNOLIA-582] Cannot change node data title from untitled on 2.1.2 Created: 19/Oct/05 Updated: 23/Jan/13 Due: 20/Oct/05 Resolved: 27/Oct/05 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 2.1.1, 2.1.2 |
| Fix Version/s: | 2.1.4, 3.0 Beta 1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Jeff Sutherland | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows XP Professional, Tomcat that came with the Magnolia 2.1.2 distribution. I am testing on my local PC before deploying on the server. |
||
| Issue Links: |
|
||||||||
| 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 |
|
In Config -> Modules -> Templating -> Templates, I will create a new content node. Then I will add new node data. I will try to rename the node data from "untitled" to something else. i will then get a javax.jcr.PathNotFoundException. Here is the complete stack trace. This happens in other areas as well. INFO info.magnolia.cms.beans.config.Template Template.java(update:126) 19.10.2005 13:02:35 Config : loading Template |
| Comments |
| Comment by Adam Cooper [ 19/Oct/05 ] |
|
I am experiencing the same problem using Magnolia v2.1.2 with the stock version of tomcat on Windows 2000 Professional. I have yet to test is on my production sun server. I added a new node data item in /config/modules/templating/dialogs/..... to configure the rich text editor and when I tried to change the name from untitled I got a pathNotFoundException with the exact same stack trace as described here. I also can not delete the node data to the same end. I can only guess that this probably has something to do with the new subscriber checking features added in 2.1+. |
| Comment by Shai Bentin [ 19/Oct/05 ] |
|
I have got the same exact problem on my version which is 2.1.1 I'm running the author instance on JBoss 3.2.7 |
| Comment by Shai Bentin [ 19/Oct/05 ] |
|
I've looked a little into the log, before we get the exception we have a 'nullPointerException' which afterwards reinitialized the template info. I don't really know how things operate under the hood but maybe there is a context which reinitialized to a state before the untitled was created thus it can no longer find it when trying to rename.... Here is the log I've seen: 23:43:09,171 INFO [Syndicator] Exchange : activation request received by 0001 |
| Comment by Philipp Bracher [ 20/Oct/05 ] |
|
This is a blocker will solve it today |
| Comment by Philipp Bracher [ 20/Oct/05 ] |
|
Since 2.1.1 all the activation exceptions in the public instance are sended back to the author instance. Because every rename triggers a deactivation the sender gets now an exception if the renamed node was not activated before. To solve it quickly (we make a 2.1.3 release for that reason) we will do the following:
Workaround: switch off the subscribers, rename Since we must only change some classes the user can upgrade by coping the the new jar to the lib directory. |
| Comment by Jay Moskos [ 24/Oct/05 ] |
|
I noticed 2.1.3 is out. While it appears to fix the renaming issue, a related issue, deletion of nodes, seems to have the same problem. It doesn't seem possible to delete a node while activation is enabled. When activation is disabled it works just fine. |
| Comment by Philipp Bracher [ 25/Oct/05 ] |
|
is the same |
| Comment by Philipp Bracher [ 27/Oct/05 ] |
|