Project

General

Profile

« Previous | Next » 

Revision 4471

Added by daigle over 15 years ago

Fix the static error messages so they match what we are looking for in the test cases.

View differences:

src/edu/ucsb/nceas/metacat/Eml200SAXHandler.java
268 268

  
269 269
    private static final String URL = "url";
270 270

  
271
    private static final String PERMISSIONERROR = "User try to update a subtree"
272
            + " which it doesn't have write permission!";
271
    private static final String PERMISSIONERROR = "User tried to update a subtree "
272
        + "when they don't have write permission!";
273 273

  
274
    private static final String UPDATEACCESSERROR = "User try to update a "
275
            + "access module which it doesn't have \"ALL\" permission!";
274
    private static final String UPDATEACCESSERROR = "User tried to update an "
275
        + "access module when they don't have \"ALL\" permission!";
276 276

  
277 277
    public static final String TOPLEVEL = "top";
278 278

  
......
864 864
                // node id too.
865 865
                if (processAdditionalAccess)
866 866
                {
867
                  accessObject.seStartedDescribesNodeId(firstDescribesNodeId);
867
                  accessObject.setStartedDescribesNodeId(firstDescribesNodeId);
868 868
                  accessObject.setControlLevel(DATAACCESSLEVEL);
869 869
                }
870 870
                else if (processTopLeverAccess)

Also available in: Unified diff