tracker issue : CF-4126726

select a category, or use search below
(searches all categories and all time range)
Title:

Can't import comments due to DDX issue

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 03/09/2016

Components: Document Management

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Mac All

Vote Count: 0

Running this:

cfpdf(action="import", type="comment", source=expandPath("./comments.xfdf"),destination=expandpath("./newwithcomments.pdf"));	

I get:

The DDX specified is not valid.

Check for invalid construct or restricted keywords. Detail: <?xml version="1.0" encoding="UTF-8"?>
 <DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
 <PDF result="Out1">
 <PDF source="In1" access="deptA"/>
 <Comments source="In2"/>
 </PDF>
 <PasswordAccessProfile name="deptA">
 <Password>null</Password>
 </PasswordAccessProfile>
 <PasswordEncryptionProfile name="userprotect">
 <OpenPassword>null</OpenPassword>
 </PasswordEncryptionProfile>
 </DDX>.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126726

External Customer Info:
External Company: Broadchoice
External Customer Name: Raymond Camden
External Customer Email: raymondcamden@gmail.com
External Test Config:

Attachments:

Comments:

Added By:poojain Note Added: Thanks Raymond. Surely this bug will cater the error message required when is importfrom attribute is missing Date Added :2015-07-20 03:38:07.0 Added By: PreRelease User User Name:Raymond Camden Note Added: I can confirm this works. However, please keep this bug open in terms of the error message. Date Added :2015-07-16 12:02:23.0 Added By: PreRelease User User Name:Raymond Camden Note Added: Ahhh ok. Date Added :2015-07-16 12:00:46.0 Added By:poojain Note Added: Raymond, you mention "I'm importing comments from a XFDF file into a new pdf" The new pdf you mention above will be specified by "source attribute" and resultant will be a pdf specified by "destination" attribute.Basically From "imprortfrom" to "Source" will result into a destination pdf consisting comments.Source file will not alter here. Please let me know if this clarifies your doubt. Thanks Poonam Date Added :2015-07-16 02:41:22.0 Added By: PreRelease User User Name:Raymond Camden Note Added: Wait - I'm confused. Why is source needed? I'm importing comments from a XFDF file into a new pdf. What does source do in this context? Date Added :2015-07-15 11:12:03.0 Added By: PreRelease User User Name:Raymond Camden Note Added: Ok, I see my mistake, but in this case, the code should handle the error, right? It should say that source was not a valid pdf _and_ that I was missing importfrom, which should be required. Date Added :2015-07-15 11:11:18.0 Added By:poojain Note Added: Raymond, Please follow the correct syntax for importing comment: sample code: <cfpdf action="import" type="comment" source="sourcefile.pdf" importfrom="sourcecomment.xfdf" destination="destination.pdf"> Thanks Date Added :2015-07-15 04:27:09.0 Added By: PreRelease User User Name:Raymond Camden Note Added: Entered Bug. Date Added :2015-07-14 12:33:55.0
Comment by CFwatson U.
3380 | March 09, 2016 04:48:21 AM GMT