maemo.org Bugzilla – Bug 11470
Can't create a new article with an already existing "Title"
Last modified: 2010-12-31 09:54:03 UTC
You need to
before you can comment on or make changes to this bug.
EXACT STEPS LEADING TO PROBLEM:
1. Go to the URL above
2. Fill in the form. Use "software_engineer" for "Title"
3. Click Save
New article is saved.
Failed to save the data to disk: Object already exist. Check the debug level
log for more information.
There is an upstream bug report: http://trac.midgard-project.org/ticket/809
marked as fixed. Maybe we should open that again.
There are of course other titles that can lead to the same problem. The reason
is that there can not be two Midgard articles with the same "name" field. The
user can not know which string was already used and which was not. I was not
able to patch the component to append the "name" field if it was already taken
by an other article. Beside that I don't think it is a good solution to patch a
component that way. The problem should be solved somewhere in the datamanager
or dbobject classes.
Jobs article definition had wrong config for URL name handling. Fix committed
but needs to be deployed
I deployed the changed schema, but the problem still exists.
It is very easy to reproduce, but needs more time to analyze the root cause.
Aslan, would you have time to check it?
Degrading the importance and severity since I provided a workaround tip for the
original submitter. Here it come for reference:
Append the job title with a random string (e.g. current date, or internal job
ad ID). By doing so the system will accept the ad and the post will appear on
(In reply to comment #3)
> It is very easy to reproduce, but needs more time to analyze the root cause.
> Aslan, would you have time to check it?
I can check this out, no problem.