Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 1968 by [email protected]: Incorrect warnings at item-level of RAD template - published item incorrectly identified
http://code.google.com/p/qubit-toolkit/issues/detail?id=1968

To reproduce this error:
========================
1) Create an item level record, with no publication events (e.g. just with a date of creation). Sample attached.

Resulting error:
================
Get the warning:

    * Edition statement - This is a mandatory element for published items.
    * Standard number - This is a mandatory element for published items.

Expected result:
================
Should be no warning, since this is not a description of a published item

It looks like the only problem is an error in plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php

At line 155,
 if (!$isPublication)
should be
 if ($isPublication)

($isPublication is set to true if a publication event is found). Changing this line in our local copy resulted in the correct behaviour.

Attachments:
        SSUA-3.xml  2.5 KB

--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to